Class GroupedStatement

java.lang.Object
org.openrewrite.python.marker.GroupedStatement
All Implemented Interfaces:
org.openrewrite.marker.Marker

public class GroupedStatement extends Object implements org.openrewrite.marker.Marker
  • Constructor Details

    • GroupedStatement

      public GroupedStatement()
  • Method Details

    • findCurrentStatementGroup

      @Nullable public static <T extends org.openrewrite.java.tree.Statement> @Nullable GroupedStatement.StatementGroup<T> findCurrentStatementGroup(List<org.openrewrite.java.tree.JRightPadded<T>> statements, int firstIndex)
    • getGroupId

      @Nullable public static <T extends org.openrewrite.java.tree.Statement> @Nullable UUID getGroupId(org.openrewrite.java.tree.JRightPadded<T> padded)
    • getGroupId

      @Nullable public static @Nullable UUID getGroupId(org.openrewrite.java.tree.Statement statement)