Package org.openrewrite.checkstyle
Class FinalClass
- java.lang.Object
-
- org.openrewrite.SourceVisitor<R>
-
- org.openrewrite.java.JavaSourceVisitor<org.openrewrite.java.tree.J>
-
- org.openrewrite.java.JavaRefactorVisitor
-
- org.openrewrite.checkstyle.CheckstyleRefactorVisitor
-
- org.openrewrite.checkstyle.FinalClass
-
- All Implemented Interfaces:
org.openrewrite.RefactorVisitorSupport
public class FinalClass extends CheckstyleRefactorVisitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrewrite.checkstyle.CheckstyleRefactorVisitor
CheckstyleRefactorVisitor.Module
-
-
Constructor Summary
Constructors Constructor Description FinalClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisIdempotent()org.openrewrite.java.tree.JvisitClassDecl(org.openrewrite.java.tree.J.ClassDecl classDecl)-
Methods inherited from class org.openrewrite.checkstyle.CheckstyleRefactorVisitor
configure, setConfig, setConfigFile, setProperties, validate, visitCompilationUnit
-
Methods inherited from class org.openrewrite.java.JavaRefactorVisitor
addImport, defaultTo, maybeAddImport, maybeAddImport, maybeRemoveImport, maybeRemoveImport, maybeUnwrapParentheses, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssign, visitAssignOp, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitContinue, visitDoWhileLoop, visitElse, visitEmpty, visitEnumValue, visitEnumValueSet, visitFieldAccess, visitFinally, visitForEachLoop, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitLabel, visitLambda, visitLiteral, visitMemberReference, visitMethod, visitMethodInvocation, visitMultiCatch, visitMultiVariable, visitNewArray, visitNewClass, visitPackage, visitParameterizedType, visitParentheses, visitPrimitive, visitReturn, visitSwitch, visitSynchronized, visitTernary, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitTypeParameters, visitUnary, visitUnparsedSource, visitVariable, visitWhileLoop, visitWildcard
-
Methods inherited from class org.openrewrite.java.JavaSourceVisitor
enclosingBlock, enclosingClass, enclosingCompilationUnit, enclosingMethod, isInSameNameScope, isInSameNameScope, visitExpression, visitStatement, visitTypeName
-
Methods inherited from class org.openrewrite.SourceVisitor
andThen, andThen, getCursor, getTags, nextCycle, reduce, setCursoringOn, visit, visit, visitAfter, visitAfter, visitTree
-
-
-
-
Method Detail
-
isIdempotent
public boolean isIdempotent()
- Overrides:
isIdempotentin classorg.openrewrite.SourceVisitor<org.openrewrite.java.tree.J>
-
visitClassDecl
public org.openrewrite.java.tree.J visitClassDecl(org.openrewrite.java.tree.J.ClassDecl classDecl)
- Overrides:
visitClassDeclin classorg.openrewrite.java.JavaRefactorVisitor
-
-