Package org.openrewrite.python.marker
Class GroupedStatement
java.lang.Object
org.openrewrite.python.marker.GroupedStatement
- All Implemented Interfaces:
org.openrewrite.marker.Marker
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGroupedStatement.StatementGroup<T extends org.openrewrite.java.tree.Statement> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends org.openrewrite.java.tree.Statement>
@Nullable GroupedStatement.StatementGroup<T>findCurrentStatementGroup(List<org.openrewrite.java.tree.JRightPadded<T>> statements, int firstIndex) static <T extends org.openrewrite.java.tree.Statement>
@Nullable UUIDgetGroupId(org.openrewrite.java.tree.JRightPadded<T> padded) static @Nullable UUIDgetGroupId(org.openrewrite.java.tree.Statement statement) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.marker.Marker
getId, print, withId
-
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
-