|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RefactoringDelta
A refactoring delta contains an ordered collection of TextEdit. The order is based on the
offset of those TextEdit objects: from the biggest offset to the smallest offset. This
will allow the invoker to perform the refactoring by replacing the old values by the new values
by following that order.
BasicRefactoringTool| Method Summary | |
|---|---|
java.lang.String |
applyChanges()
Applies the changes to the JPQL query and returns the refactoring operations. |
boolean |
hasTextEdits()
Determines whether at least one TextEdit was added. |
int |
size()
Returns the number of TextEdit objects that have been added. |
IterableListIterator<TextEdit> |
textEdits()
Returns the collection of TextEdit objects that have been added during one or several
refactoring operations. |
| Method Detail |
|---|
java.lang.String applyChanges()
TextEdit will be cleared.
boolean hasTextEdits()
TextEdit was added.
true if there is at least one TextEdit; false otherwiseint size()
TextEdit objects that have been added.
TextEdit objectsIterableListIterator<TextEdit> textEdits()
TextEdit objects that have been added during one or several
refactoring operations. The collection has been ordered where the TextEdit's offset
are in reverse order, i.e. from the biggest to the smallest values.
TextEdit objects
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||