@NonNullApi @NonNullFields
Package org.openrewrite.java
-
Interface Summary Interface Description JavaStyle JavaTypeMapping<T> JavaTypeSignatureBuilder In addition to the signature formats described below, implementations should provide a way of retrieving method and variable signatures, but they may have different numbers of input arguments depending on the implementation. -
Class Summary Class Description AddImport<P> A Java refactoring visitor that can be used to add an import (or static import) to a given compilation unit.AddLicenseHeader AddOrUpdateAnnotationAttribute AnnotationMatcher This matcher will find all annotations matching the annotation patternChangeFieldName<P> ChangeFieldType<P> ChangeLiteral<P> ChangeMethodAccessLevel ChangeMethodAccessLevelVisitor<P> ChangeMethodName ChangeMethodTargetToStatic ChangeMethodTargetToVariable ChangeStaticFieldToMethod ChangeType DeleteMethodArgument This recipe finds method invocations matching a method pattern and uses a zero-based argument index to determine which argument is removed.DeleteStatement<P> Deletes standalone statements.GenerateGetterAndSetterVisitor<P> ImplementInterface<P> InvertCondition<P> JavadocPrinter<P> JavadocVisitor<P> JavaIsoVisitor<P> This iso(morphic) refactoring visitor is the appropriate base class for most Java refactoring visitors.JavaPrinter<P> JavaTemplate JavaTemplate.Builder JavaTypeVisitor<P> JavaVisitor<P> LineCounter MethodMatcher This class accepts an AspectJ method pattern and is used to identify methods that match the expression.NoMissingTypes Puts a search result marker on a JavaSourceFile if there is no missing type information according to FindMissingTypes.NoStaticImport RandomizeIdVisitor<P> RemoveAnnotation RemoveAnnotationVisitor RemoveImplements RemoveImport<P> RemoveUnusedImports This recipe will remove any imports for types that are not referenced within the compilation unit.RenameVariable<P> Renames a NamedVariable to the target name.ReorderMethodArguments This recipe finds method invocations matching the given method pattern and reorders the arguments based on the ordered array of parameter names.ReorderMethodArguments.Builder ReplaceConstant ReportingRecipe SimplifyMethodChain TypeMatcher UnsafeJavaTypeVisitor<P> UnwrapParentheses<P> UpdateSourcePositions UseStaticImport -
Exception Summary Exception Description JavaParsingException