All Classes Interface Summary Class Summary Enum Summary Exception 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 |
|
| AddSerialVersionUidToSerializable |
|
| AnnotationMatcher |
This matcher will find all annotations matching the annotation pattern
|
| AnnotationSignatureLexer |
|
| AnnotationSignatureParser |
|
| AnnotationSignatureParser.AnnotationContext |
|
| AnnotationSignatureParser.AnnotationNameContext |
|
| AnnotationSignatureParser.ClassOrInterfaceTypeContext |
|
| AnnotationSignatureParser.ElementValueContext |
|
| AnnotationSignatureParser.ElementValuePairContext |
|
| AnnotationSignatureParser.ElementValuePairsContext |
|
| AnnotationSignatureParser.LiteralContext |
|
| AnnotationSignatureParser.PrimaryContext |
|
| AnnotationSignatureParser.QualifiedNameContext |
|
| AnnotationSignatureParser.TypeContext |
|
| AnnotationSignatureParserBaseListener |
This class provides an empty implementation of AnnotationSignatureParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.
|
| AnnotationSignatureParserBaseVisitor<T> |
This class provides an empty implementation of AnnotationSignatureParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
|
| AnnotationSignatureParserListener |
|
| AnnotationSignatureParserVisitor<T> |
|
| AnnotationTemplateGenerator |
|
| AtomicPrimitiveEqualsUsesGet |
|
| Autodetect |
|
| AutodetectGeneralFormatStyle |
|
| AutoFormat |
|
| AutoFormatVisitor<P> |
|
| BigDecimalRoundingConstantsToEnums |
|
| BlankLines |
|
| BlankLinesStyle |
|
| BlankLinesStyle.KeepMaximum |
|
| BlankLinesStyle.Minimum |
|
| BlankLinesVisitor<P> |
|
| BlockStatementTemplateGenerator |
Generates a stub containing enough variable, method, and class scope
for the insertion of a statement in any block scope.
|
| BooleanChecksNotInverted |
|
| CaseInsensitiveComparisonsDoNotChangeCase |
|
| CatchClauseOnlyRethrows |
|
| ChangeFieldName<P> |
|
| ChangeFieldType<P> |
|
| ChangeLiteral<P> |
|
| ChangeMethodAccessLevel |
|
| ChangeMethodAccessLevelVisitor<P> |
|
| ChangeMethodName |
|
| ChangeMethodTargetToStatic |
|
| ChangeMethodTargetToVariable |
|
| ChangeStaticFieldToMethod |
|
| ChangeType |
|
| Checkstyle |
|
| CheckstyleConfigLoader |
|
| CheckstyleConfigLoader.Module |
|
| ClassgraphJavaTypeSignatureBuilder |
|
| ClassIdResolver |
|
| Comment |
|
| ControlFlowIndentation |
|
| CoordinateBuilder |
|
| CoordinateBuilder.Annotation |
|
| CoordinateBuilder.Block |
|
| CoordinateBuilder.ClassDeclaration |
|
| CoordinateBuilder.Lambda |
|
| CoordinateBuilder.Lambda.Parameters |
|
| CoordinateBuilder.MethodDeclaration |
|
| CoordinateBuilder.MethodInvocation |
|
| CoordinateBuilder.Package |
|
| CoordinateBuilder.Statement |
|
| CoordinateBuilder.VariableDeclarations |
|
| CovariantEquals |
|
| CovariantEqualsVisitor<P> |
|
| DeclaresMethod<P> |
|
| DefaultComesLast |
|
| DefaultComesLastStyle |
|
| DefaultComesLastVisitor<P> |
|
| DefaultJavaTypeSignatureBuilder |
|
| 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.
|
| EmptyBlock |
|
| EmptyBlockStyle |
|
| EmptyBlockStyle.BlockPolicy |
|
| EmptyBlockVisitor<P> |
|
| EmptyForInitializerPadStyle |
|
| EmptyForIteratorPadStyle |
|
| EmptyNewlineAtEndOfFile |
|
| EqualsAvoidsNull |
|
| EqualsAvoidsNullStyle |
|
| EqualsAvoidsNullVisitor<P> |
|
| ExplicitInitialization |
|
| ExplicitInitializationStyle |
|
| ExplicitInitializationVisitor<P> |
|
| ExplicitLambdaArgumentTypes |
|
| Expression |
|
| ExternalizableHasNoArgsConstructor |
|
| FallThrough |
|
| FallThroughStyle |
|
| FallThroughVisitor<P> |
|
| FinalClass |
|
| FinalClassVisitor |
|
| FinalizeLocalVariables |
|
| FinalizeLocalVariablesVisitor<P> |
FinalizeLocalVariables will add the "final" modifier keyword to local variables which are not being reassigned.
|
| FindAnnotations |
|
| FindDeprecatedClasses |
|
| FindDeprecatedFields |
|
| FindDeprecatedMethods |
|
| FindDeprecatedUses |
|
| FindEmptyClasses |
|
| FindFields |
|
| FindFieldsOfType |
Finds fields that have a matching type.
|
| FindInheritedFields |
|
| FindMethods |
Finds matching method invocations.
|
| FindMissingTypes |
|
| FindReferencedTypes |
|
| FindText |
|
| FindTypes |
|
| FixSerializableFields |
|
| Flag |
|
| ForLoopControlVariablePostfixOperators |
|
| ForLoopIncrementInUpdate |
|
| FormatFirstClassPrefix<P> |
|
| GenerateGetterAndSetterVisitor<P> |
|
| HasTypeOnClasspathSourceSet<P> |
|
| HiddenField |
|
| HiddenFieldStyle |
|
| HiddenFieldVisitor<P> |
|
| HideUtilityClassConstructor |
|
| HideUtilityClassConstructorStyle |
|
| HideUtilityClassConstructorVisitor<P> |
HideUtilityClassConstructorVisitor will perform the following operations on a Utility Class:
Change any Public constructors to Private
Change any Package-Private ("Default", no modifiers) to Private
If the Implicit Default Constructor is used (as in, no explicit constructors defined), add a Private constructor
|
| ImplementInterface<P> |
|
| ImportLayoutStyle |
A Java Style to define how imports are grouped and ordered.
|
| ImportLayoutStyle.Block |
A block represents a grouping of imports based on matching rules.
|
| ImportLayoutStyle.Block.AllOthers |
|
| ImportLayoutStyle.Block.BlankLines |
A specialized block implementation to act as a blank line separator between import groupings.
|
| ImportLayoutStyle.Block.ImportPackage |
|
| ImportLayoutStyle.Builder |
|
| IndexOfChecksShouldUseAStartPosition |
|
| IndexOfReplaceableByContains |
|
| IndexOfShouldNotCompareGreaterThanZero |
|
| InJavaSourceSet<P> |
|
| IntelliJ |
|
| InvertCondition<P> |
|
| IsEmptyCallOnCollections |
|
| J |
|
| J.AnnotatedType |
|
| J.Annotation |
|
| J.Annotation.Padding |
|
| J.ArrayAccess |
|
| J.ArrayDimension |
|
| J.ArrayDimension.Padding |
|
| J.ArrayType |
|
| J.Assert |
|
| J.Assignment |
|
| J.Assignment.Padding |
|
| J.AssignmentOperation |
|
| J.AssignmentOperation.Padding |
|
| J.AssignmentOperation.Type |
|
| J.Binary |
|
| J.Binary.Padding |
|
| J.Binary.Type |
|
| J.Block |
|
| J.Block.Padding |
|
| J.Break |
|
| J.Case |
|
| J.Case.Padding |
|
| J.ClassDeclaration |
|
| J.ClassDeclaration.Annotations |
|
| J.ClassDeclaration.Kind |
|
| J.ClassDeclaration.Kind.Type |
|
| J.ClassDeclaration.Padding |
|
| J.CompilationUnit |
|
| J.CompilationUnit.Padding |
|
| J.Continue |
|
| J.ControlParentheses<J2 extends J> |
|
| J.ControlParentheses.Padding<J2 extends J> |
|
| J.DoWhileLoop |
|
| J.DoWhileLoop.Padding |
|
| J.Empty |
|
| J.EnumValue |
|
| J.EnumValueSet |
|
| J.EnumValueSet.Padding |
|
| J.FieldAccess |
|
| J.FieldAccess.Padding |
|
| J.ForEachLoop |
|
| J.ForEachLoop.Control |
|
| J.ForEachLoop.Control.Padding |
|
| J.ForEachLoop.Padding |
|
| J.ForLoop |
|
| J.ForLoop.Control |
|
| J.ForLoop.Control.Padding |
|
| J.ForLoop.Padding |
|
| J.Identifier |
|
| J.If |
|
| J.If.Else |
|
| J.If.Else.Padding |
|
| J.If.Padding |
|
| J.Import |
|
| J.Import.Padding |
|
| J.InstanceOf |
|
| J.InstanceOf.Padding |
|
| J.Label |
|
| J.Label.Padding |
|
| J.Lambda |
|
| J.Lambda.Parameters |
|
| J.Lambda.Parameters.Padding |
|
| J.Literal |
|
| J.Literal.UnicodeEscape |
|
| J.MemberReference |
|
| J.MemberReference.Padding |
|
| J.MethodDeclaration |
|
| J.MethodDeclaration.Annotations |
|
| J.MethodDeclaration.IdentifierWithAnnotations |
|
| J.MethodDeclaration.Padding |
|
| J.MethodInvocation |
|
| J.MethodInvocation.Padding |
|
| J.Modifier |
|
| J.Modifier.Type |
These types are sorted in order of their recommended appearance in a list of modifiers, as defined in the
JLS.
|
| J.MultiCatch |
|
| J.MultiCatch.Padding |
|
| J.NewArray |
|
| J.NewArray.Padding |
|
| J.NewClass |
|
| J.NewClass.Padding |
|
| J.Package |
|
| J.ParameterizedType |
|
| J.ParameterizedType.Padding |
|
| J.Parentheses<J2 extends J> |
|
| J.Parentheses.Padding<J2 extends J> |
|
| J.Primitive |
|
| J.Return |
|
| J.Switch |
|
| J.Synchronized |
|
| J.Ternary |
|
| J.Ternary.Padding |
|
| J.Throw |
|
| J.Try |
|
| J.Try.Catch |
|
| J.Try.Padding |
|
| J.Try.Resource |
|
| J.TypeCast |
|
| J.TypeParameter |
|
| J.TypeParameter.Padding |
|
| J.TypeParameters |
|
| J.TypeParameters.Padding |
|
| J.Unary |
|
| J.Unary.Padding |
|
| J.Unary.Type |
|
| J.VariableDeclarations |
|
| J.VariableDeclarations.NamedVariable |
|
| J.VariableDeclarations.NamedVariable.Padding |
|
| J.VariableDeclarations.Padding |
|
| J.WhileLoop |
|
| J.WhileLoop.Padding |
|
| J.Wildcard |
|
| J.Wildcard.Bound |
|
| J.Wildcard.Padding |
|
| JavaCoordinates |
|
| JavaCoordinates.Mode |
|
| Javadoc |
|
| Javadoc.Attribute |
|
| Javadoc.Author |
|
| Javadoc.Deprecated |
|
| Javadoc.DocComment |
|
| Javadoc.DocRoot |
|
| Javadoc.DocType |
|
| Javadoc.EndElement |
|
| Javadoc.Erroneous |
|
| Javadoc.Hidden |
|
| Javadoc.Index |
|
| Javadoc.InheritDoc |
|
| Javadoc.InlinedValue |
|
| Javadoc.LineBreak |
Holds line break plus the margin that starts the next line.
|
| Javadoc.Link |
|
| Javadoc.Literal |
|
| Javadoc.Parameter |
|
| Javadoc.Provides |
|
| Javadoc.Return |
|
| Javadoc.See |
|
| Javadoc.Serial |
|
| Javadoc.SerialData |
|
| Javadoc.SerialField |
|
| Javadoc.Since |
|
| Javadoc.StartElement |
|
| Javadoc.Summary |
|
| Javadoc.Text |
|
| Javadoc.Throws |
|
| Javadoc.UnknownBlock |
|
| Javadoc.UnknownInline |
|
| Javadoc.Uses |
|
| Javadoc.Version |
|
| JavadocPrinter<P> |
|
| JavadocVisitor<P> |
|
| JavaIsoVisitor<P> |
This iso(morphic) refactoring visitor is the appropriate base class for most Java refactoring visitors.
|
| JavaParsingException |
|
| JavaPrinter<P> |
|
| JavaProject |
|
| JavaProject.Publication |
|
| JavaReflectionTypeMapping |
Type mapping from type attribution given from java.lang.reflect types.
|
| JavaReflectionTypeSignatureBuilder |
|
| JavaSourceFile |
|
| JavaSourceFile.Padding |
|
| JavaSourceSet |
|
| JavaStyle |
|
| JavaTemplate |
|
| JavaTemplate.Builder |
|
| JavaTemplateParser |
|
| JavaType |
|
| JavaType.Array |
|
| JavaType.Class |
|
| JavaType.FullyQualified |
|
| JavaType.FullyQualified.Kind |
|
| JavaType.GenericTypeVariable |
|
| JavaType.GenericTypeVariable.Variance |
|
| JavaType.Method |
|
| JavaType.MultiCatch |
|
| JavaType.Parameterized |
|
| JavaType.Primitive |
|
| JavaType.ShallowClass |
|
| JavaType.Unknown |
|
| JavaType.Variable |
|
| JavaTypeCache |
|
| 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.
|
| JavaTypeVisitor<P> |
|
| JavaVarKeyword |
|
| JavaVersion |
|
| JavaVisitor<P> |
|
| JContainer<T> |
AST elements that contain lists of trees with some delimiter like parentheses, e.g.
|
| JContainer.Location |
|
| JContainer.Padding<T> |
|
| JLeftPadded<T> |
A Java element that could have space preceding some delimiter.
|
| JLeftPadded.Location |
|
| JRightPadded<T> |
A Java element that could have trailing space.
|
| JRightPadded.Location |
|
| LambdaBlockToExpression |
|
| LineCounter |
|
| Loop |
|
| MaybeUsesImport<P> |
Acts as a sort of bloom filter for the presence of an import for a particular type in a J.CompilationUnit,
i.e.
|
| MethodMatcher |
This class accepts an AspectJ method pattern and is used to identify methods that match the expression.
|
| MethodNameCasing |
|
| MethodParamPad |
|
| MethodParamPadStyle |
|
| MethodSignatureLexer |
|
| MethodSignatureParser |
|
| MethodSignatureParser.ClassNameOrInterfaceContext |
|
| MethodSignatureParser.DotDotContext |
|
| MethodSignatureParser.FormalParametersPatternContext |
|
| MethodSignatureParser.FormalsPatternAfterDotDotContext |
|
| MethodSignatureParser.FormalsPatternContext |
|
| MethodSignatureParser.FormalTypePatternContext |
|
| MethodSignatureParser.MethodPatternContext |
|
| MethodSignatureParser.OptionalParensTypePatternContext |
|
| MethodSignatureParser.SimpleNamePatternContext |
|
| MethodSignatureParser.TargetTypePatternContext |
|
| MethodSignatureParserBaseListener |
This class provides an empty implementation of MethodSignatureParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.
|
| MethodSignatureParserBaseVisitor<T> |
This class provides an empty implementation of MethodSignatureParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
|
| MethodSignatureParserListener |
|
| MethodSignatureParserVisitor<T> |
|
| MinimumSwitchCases |
|
| MinimumViableSpacingVisitor<P> |
|
| MissingOverrideAnnotation |
|
| ModifierOrder |
|
| MultipleVariableDeclarations |
|
| MultipleVariableDeclarationsVisitor |
|
| NameTree |
A tree representing a simple or fully qualified name
|
| NeedBraces |
|
| NeedBracesStyle |
|
| NestedEnumsAreNotStatic |
|
| NewStringBuilderBufferWithCharArgument |
|
| NoDoubleBraceInitialization |
|
| NoEmptyCollectionWithRawType |
|
| NoEqualityInForCondition |
|
| NoFinalizer |
|
| NoMissingTypes |
Puts a search result marker on a JavaSourceFile if there is no missing type information according to FindMissingTypes.
|
| NoPrimitiveWrappersForToStringOrCompareTo |
|
| NoRedundantJumpStatements |
|
| NormalizeFormat |
Ensures that whitespace is on the outermost AST element possible.
|
| NormalizeFormatVisitor<P> |
Ensures that whitespace is on the outermost AST element possible.
|
| NormalizeLineBreaks |
|
| NormalizeLineBreaksVisitor<P> |
|
| NormalizeTabsOrSpaces |
|
| NormalizeTabsOrSpacesVisitor<P> |
|
| NoStaticImport |
|
| NoToStringOnStringType |
|
| NoValueOfOnStringType |
|
| NoWhitespaceAfter |
|
| NoWhitespaceAfterStyle |
|
| NoWhitespaceBefore |
|
| NoWhitespaceBeforeStyle |
|
| ObjectFinalizeCallsSuper |
|
| OperatorWrap |
|
| OperatorWrapStyle |
|
| OperatorWrapStyle.WrapOption |
|
| PadEmptyForLoopComponents |
|
| PrimitiveWrapperClassConstructorToValueOf |
|
| RandomizeIdVisitor<P> |
|
| RedundantFileCreation |
|
| RemoveAnnotation |
|
| RemoveAnnotationVisitor |
|
| RemoveExtraSemicolons |
|
| RemoveImplements |
|
| RemoveImport<P> |
|
| RemoveTrailingWhitespace |
|
| RemoveTrailingWhitespaceVisitor<P> |
|
| RemoveUnusedImports |
This recipe will remove any imports for types that are not referenced within the compilation unit.
|
| RemoveUnusedLocalVariables |
|
| RemoveUnusedPrivateMethods |
|
| RenameLocalVariablesToCamelCase |
This recipe converts local variables and method parameters to camel case convention.
|
| RenameMethodsNamedHashcodeEqualOrTostring |
|
| 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 |
|
| ReplaceDuplicateStringLiterals |
|
| ReportingRecipe |
|
| ResultOfMethodCallIgnored |
|
| SemanticallyEqual |
|
| ShiftFormat |
Less commonly used than AutoFormat, but useful in cases when a block of code is being
moved definitively a certain number of indentation levels left or right, such as when unwrapping
a block or conditional statement.
|
| SimplifyBooleanExpression |
|
| SimplifyBooleanExpressionVisitor<P> |
|
| SimplifyBooleanReturn |
|
| SimplifyBooleanReturnVisitor<P> |
|
| SimplifyConsecutiveAssignments |
|
| SimplifyMethodChain |
|
| SingleLineComments |
|
| Space |
Wherever whitespace can occur in Java, so can comments (at least block and javadoc style comments).
|
| Space.Location |
|
| Spaces |
|
| SpacesStyle |
|
| SpacesStyle.AroundOperators |
|
| SpacesStyle.BeforeKeywords |
|
| SpacesStyle.BeforeLeftBrace |
|
| SpacesStyle.BeforeParentheses |
|
| SpacesStyle.Other |
|
| SpacesStyle.TernaryOperator |
|
| SpacesStyle.TypeArguments |
|
| SpacesStyle.TypeParameters |
|
| SpacesStyle.Within |
|
| SpacesVisitor<P> |
|
| Statement |
|
| StaticMethodNotFinal |
|
| StringLiteralEquality |
|
| Substitutions |
|
| TabsAndIndents |
|
| TabsAndIndentsStyle |
|
| TabsAndIndentsVisitor<P> |
|
| TemplateParameterLexer |
|
| TemplateParameterParser |
|
| TemplateParameterParser.MatcherNameContext |
|
| TemplateParameterParser.MatcherParameterContext |
|
| TemplateParameterParser.MatcherPatternContext |
|
| TemplateParameterParserBaseListener |
This class provides an empty implementation of TemplateParameterParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.
|
| TemplateParameterParserBaseVisitor<T> |
This class provides an empty implementation of TemplateParameterParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
|
| TemplateParameterParserListener |
|
| TemplateParameterParserVisitor<T> |
|
| TextComment |
|
| TypecastParenPad |
|
| TypecastParenPadStyle |
|
| TypedTree |
A tree with type attribution information.
|
| TypeMatcher |
|
| TypesInUse |
|
| TypeTree |
A tree identifying a type (e.g.
|
| TypeUtils |
|
| UnnecessaryCloseInTryWithResources |
|
| UnnecessaryExplicitTypeArguments |
|
| UnnecessaryParentheses |
|
| UnnecessaryParenthesesStyle |
|
| UnnecessaryParenthesesVisitor<P> |
|
| UnnecessaryPrimitiveAnnotations |
|
| UnnecessaryThrows |
|
| UnsafeJavaTypeVisitor<P> |
|
| UnwrapParentheses<P> |
|
| UpdateSourcePositions |
|
| UseCollectionInterfaces |
|
| UseDiamondOperator |
|
| UseJavaStyleArrayDeclarations |
|
| UseLambdaForFunctionalInterface |
|
| UsesField<P> |
|
| UsesJavaVersion<P> |
|
| UsesMethod<P> |
|
| UseStaticImport |
|
| UsesType<P> |
|
| WhileInsteadOfFor |
|
| WrappingAndBraces |
|
| WrappingAndBracesStyle |
|
| WrappingAndBracesVisitor<P> |
|
| WriteOctalValuesAsDecimal |
|