Replace CURRENT_COMPONENT and CURRENT_COMPOSITE_COMPONENT with getCurrentComponent() and getCurrentCompositeComponent()

MSAL

Replace lookups of the jakarta.faces.component.UIComponent.CURRENT_COMPONENT and CURRENT_COMPOSITE_COMPONENT keys in the FacesContext attributes with UIComponent.getCurrentComponent(FacesContext) and UIComponent.getCurrentCompositeComponent(FacesContext), which were added in JSF 2.0.

org.openrewrite.java.migrate.jakarta.RemovedUIComponentConstant
mod run . --recipe=org.openrewrite.java.migrate.jakarta.RemovedUIComponentConstant

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.