Class RightCurly

  • All Implemented Interfaces:
    org.openrewrite.RefactorVisitorSupport

    public class RightCurly
    extends org.openrewrite.java.refactor.JavaRefactorVisitor
    • Field Summary

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

        formatter
      • Fields inherited from class org.openrewrite.SourceVisitor

        cycle
    • Constructor Summary

      Constructors 
      Constructor Description
      RightCurly()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      boolean isCursored()  
      org.openrewrite.java.tree.J visitBlock​(org.openrewrite.java.tree.J.Block<org.openrewrite.java.tree.J> block)  
      org.openrewrite.java.tree.J visitCatch​(org.openrewrite.java.tree.J.Try.Catch catzh)  
      org.openrewrite.java.tree.J visitElse​(org.openrewrite.java.tree.J.If.Else elze)  
      org.openrewrite.java.tree.J visitFinally​(org.openrewrite.java.tree.J.Try.Finally finallie)  
      • Methods inherited from class org.openrewrite.java.refactor.JavaRefactorVisitor

        addImport, defaultTo, maybeAddImport, maybeAddImport, maybeRemoveImport, maybeRemoveImport, maybeUnwrapParentheses, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssign, visitAssignOp, visitBinary, visitBreak, visitCase, visitClassDecl, visitCompilationUnit, visitContinue, visitDoWhileLoop, visitEmpty, visitEnumValue, visitEnumValueSet, visitFieldAccess, 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, isIdempotent, nextCycle, reduce, 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

      • RightCurly

        public RightCurly()
    • Method Detail

      • getName

        public java.lang.String getName()
        Overrides:
        getName in class org.openrewrite.SourceVisitor<org.openrewrite.java.tree.J>
      • isCursored

        public boolean isCursored()
        Overrides:
        isCursored in class org.openrewrite.SourceVisitor<org.openrewrite.java.tree.J>
      • visitBlock

        public org.openrewrite.java.tree.J visitBlock​(org.openrewrite.java.tree.J.Block<org.openrewrite.java.tree.J> block)
        Overrides:
        visitBlock in class org.openrewrite.java.refactor.JavaRefactorVisitor
      • visitElse

        public org.openrewrite.java.tree.J visitElse​(org.openrewrite.java.tree.J.If.Else elze)
        Overrides:
        visitElse in class org.openrewrite.java.refactor.JavaRefactorVisitor
      • visitFinally

        public org.openrewrite.java.tree.J visitFinally​(org.openrewrite.java.tree.J.Try.Finally finallie)
        Overrides:
        visitFinally in class org.openrewrite.java.refactor.JavaRefactorVisitor
      • visitCatch

        public org.openrewrite.java.tree.J visitCatch​(org.openrewrite.java.tree.J.Try.Catch catzh)
        Overrides:
        visitCatch in class org.openrewrite.java.refactor.JavaRefactorVisitor