Use modernized javax.lang.model.util APIs
MSALCertain javax.lang.model.util APIs have become deprecated and their usages changed, necessitating usage changes.
org. openrewrite. java. migrate. javax. JavaxLangModelUtilmod run . --recipe= org. openrewrite. java. migrate. javax. JavaxLangModelUtilInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Use
javax.lang.model.util.AbstractAnnotationValueVisitor9 - Use
javax.lang.model.util.AbstractElementVisitor9 - Use
javax.lang.model.util.AbstractTypeVisitor9 - Use
javax.lang.model.util.ElementKindVisitor9 - Use
javax.lang.model.util.ElementScanner9 - Use
javax.lang.model.util.SimpleAnnotationValueVisitor9 - Use
javax.lang.model.util.SimpleElementVisitor9 - Use
javax.lang.model.util.SimpleTypeVisitor9 - Use
javax.lang.model.util.TypeKindVisitor9