Class EqualsAvoidsNull

  • All Implemented Interfaces:
    org.openrewrite.RefactorVisitorSupport

    public class EqualsAvoidsNull
    extends CheckstyleRefactorVisitor
    • Field Summary

      • Fields inherited from class org.openrewrite.java.JavaRefactorVisitor

        formatter
      • Fields inherited from class org.openrewrite.SourceVisitor

        cycle
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure​(CheckstyleRefactorVisitor.Module m)  
      org.openrewrite.java.tree.J visitMethodInvocation​(org.openrewrite.java.tree.J.MethodInvocation method)  
      • 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, visitIf, visitImport, visitInstanceOf, visitLabel, visitLambda, visitLiteral, visitMemberReference, visitMethod, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openrewrite.RefactorVisitorSupport

        refactor, refactor, refactor, visit
    • Constructor Detail

      • EqualsAvoidsNull

        public EqualsAvoidsNull()
    • Method Detail

      • visitMethodInvocation

        public org.openrewrite.java.tree.J visitMethodInvocation​(org.openrewrite.java.tree.J.MethodInvocation method)
        Overrides:
        visitMethodInvocation in class org.openrewrite.java.JavaRefactorVisitor