Package org.openrewrite.java.tree
Class JavaCoordinates
java.lang.Object
org.openrewrite.java.tree.JavaCoordinates
- All Implemented Interfaces:
org.openrewrite.template.Coordinates
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<J2 extends org.openrewrite.java.tree.J>
@Nullable Comparator<J2>boolean
boolean
Determines whether we are replacing a whole tree element, and not either (1) replacing just a piece of a method, class, or variable declaration signature or (2) inserting a new element
-
Constructor Details
-
JavaCoordinates
public JavaCoordinates()
-
-
Method Details
-
isReplacement
public boolean isReplacement() -
isReplaceWholeCursorValue
public boolean isReplaceWholeCursorValue()Determines whether we are replacing a whole tree element, and not either (1) replacing just a piece of a method, class, or variable declaration signature or (2) inserting a new element -
getComparator
-