Replace CURRENT_COMPONENT and CURRENT_COMPOSITE_COMPONENT with getCurrentComponent() and getCurrentCompositeComponent()
MSALReplace 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. RemovedUIComponentConstantmod run . --recipe= org. openrewrite. java. migrate. jakarta. RemovedUIComponentConstantInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.