Class OmitParenthesesForLastArgumentLambdaVisitor<P>

java.lang.Object
org.openrewrite.TreeVisitor<org.openrewrite.java.tree.J,P>
org.openrewrite.java.JavaVisitor<P>
org.openrewrite.groovy.GroovyVisitor<P>
org.openrewrite.groovy.GroovyIsoVisitor<P>
org.openrewrite.groovy.format.OmitParenthesesForLastArgumentLambdaVisitor<P>

public class OmitParenthesesForLastArgumentLambdaVisitor<P> extends GroovyIsoVisitor<P>
  • Constructor Details

    • OmitParenthesesForLastArgumentLambdaVisitor

      public OmitParenthesesForLastArgumentLambdaVisitor(@Nullable org.openrewrite.Tree stopAfter)
  • Method Details

    • visitMethodInvocation

      public org.openrewrite.java.tree.J.MethodInvocation visitMethodInvocation(org.openrewrite.java.tree.J.MethodInvocation method, P p)
      Overrides:
      visitMethodInvocation in class GroovyIsoVisitor<P>
    • postVisit

      public @Nullable org.openrewrite.java.tree.J postVisit(org.openrewrite.java.tree.J tree, P p)
      Overrides:
      postVisit in class org.openrewrite.TreeVisitor<org.openrewrite.java.tree.J,P>
    • visit

      public @Nullable org.openrewrite.java.tree.J visit(@Nullable org.openrewrite.Tree tree, P p)
      Overrides:
      visit in class org.openrewrite.TreeVisitor<org.openrewrite.java.tree.J,P>