Package org.openrewrite.checkstyle
Class SimplifyBooleanReturn
- 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.SimplifyBooleanReturn
-
- All Implemented Interfaces:
org.openrewrite.RefactorVisitorSupport
public class SimplifyBooleanReturn extends CheckstyleRefactorVisitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrewrite.checkstyle.CheckstyleRefactorVisitor
CheckstyleRefactorVisitor.Module
-
-
Constructor Summary
Constructors Constructor Description SimplifyBooleanReturn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openrewrite.java.tree.JvisitIf(org.openrewrite.java.tree.J.If iff)-
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, visitClassDecl, visitContinue, visitDoWhileLoop, visitElse, visitEmpty, visitEnumValue, visitEnumValueSet, visitFieldAccess, visitFinally, visitForEachLoop, visitForLoop, visitIdentifier, 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, isIdempotent, nextCycle, reduce, setCursoringOn, visit, visit, visitAfter, visitAfter, visitTree
-
-