Class TabsAndIndentsVisitor<P>

java.lang.Object
org.openrewrite.TreeVisitor<org.openrewrite.java.tree.J,P>
org.openrewrite.java.JavaVisitor<P>
org.openrewrite.java.JavaIsoVisitor<P>
org.openrewrite.java.format.TabsAndIndentsVisitor<P>

public class TabsAndIndentsVisitor<P> extends JavaIsoVisitor<P>
  • Constructor Details

    • TabsAndIndentsVisitor

      public TabsAndIndentsVisitor(org.openrewrite.SourceFile sourceFile, @Nullable org.openrewrite.Tree stopAfter)
    • TabsAndIndentsVisitor

      public TabsAndIndentsVisitor(List<org.openrewrite.style.NamedStyles> styles, @Nullable org.openrewrite.Tree stopAfter)
    • TabsAndIndentsVisitor

      @Deprecated public TabsAndIndentsVisitor(TabsAndIndentsStyle style, SpacesStyle spacesStyle, WrappingAndBracesStyle wrappingStyle)
      Deprecated.
    • TabsAndIndentsVisitor

      public TabsAndIndentsVisitor(TabsAndIndentsStyle style, SpacesStyle spacesStyle, WrappingAndBracesStyle wrappingStyle, @Nullable org.openrewrite.Tree stopAfter)
  • Method Details

    • visit

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

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

      public org.openrewrite.java.tree.J.EnumValue visitEnumValue(org.openrewrite.java.tree.J.EnumValue enum_, P p)
      Overrides:
      visitEnumValue in class JavaIsoVisitor<P>
    • visitForEachControl

      public org.openrewrite.java.tree.J.ForEachLoop.Control visitForEachControl(org.openrewrite.java.tree.J.ForEachLoop.Control control, P p)
      Overrides:
      visitForEachControl in class JavaIsoVisitor<P>
    • visitSpace

      public Space visitSpace(Space space, Space.Location loc, P p)
      Overrides:
      visitSpace in class JavaVisitor<P>
    • visitRightPadded

      public <T> @Nullable JRightPadded<T> visitRightPadded(@Nullable JRightPadded<T> right, JRightPadded.Location loc, P p)
      Overrides:
      visitRightPadded in class JavaVisitor<P>
    • visitContainer

      public <J2 extends org.openrewrite.java.tree.J> @Nullable JContainer<J2> visitContainer(@Nullable JContainer<J2> container, JContainer.Location loc, P p)
      Overrides:
      visitContainer in class JavaVisitor<P>
    • visitLiteral

      public org.openrewrite.java.tree.J.Literal visitLiteral(org.openrewrite.java.tree.J.Literal literal, P p)
      Overrides:
      visitLiteral in class JavaIsoVisitor<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>