public interface TextEdit
TextEdit
contains the information of a change that can be made to the JPQL query
after performing a refactoring operation.
TextRange
objects are stored in a RefactoringDelta
.BasicRefactoringTool
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the length of the text to replace with the new value.
|
java.lang.String |
getNewValue()
Returns the new value that should replace the old value.
|
int |
getOffset()
Returns the location of the old value within the text.
|
java.lang.String |
getOldValue()
Returns the value that was found within the text that should be replaced by the new value.
|
int getLength()
java.lang.String getNewValue()
int getOffset()
java.lang.String getOldValue()