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 |
|---|---|
| public int | Returns: The old value's lengthReturns the length of the text to replace with the new value. |
| public String | Returns: The value to replace the old valueReturns the new value that should replace the old value. |
| public int | Returns: The location of the old value within the textReturns the location of the old value within the text. |
| public String | Returns: The value to replaceReturns the value that was found within the text that should be replaced by the new value. |
| getLength | back to summary |
|---|---|
| public int getLength() Returns the length of the text to replace with the new value.
| |
| getNewValue | back to summary |
|---|---|
| public String getNewValue() Returns the new value that should replace the old value.
| |
| getOffset | back to summary |
|---|---|
| public int getOffset() Returns the location of the old value within the text.
| |
| getOldValue | back to summary |
|---|---|
| public String getOldValue() Returns the value that was found within the text that should be replaced by the new value.
| |