Uses of Interface
org.eclipse.persistence.jpa.jpql.tools.TextEdit
-
Uses of TextEdit in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeClassDescriptionclass
The default implementation of aTextEdit
, which contains the location of the change within the JPQL query (offset) and the old and new values.Modifier and TypeFieldDescriptionBasicRefactoringTool.AbstractRenamer.textEdits
The list ofTextEdit
objects that were created for each refactoring operation.Modifier and TypeMethodDescriptionprotected TextEdit
BasicRefactoringTool.AbstractRenamer.buildTextEdit
(int offset, String oldValue, String newValue) Creates a newTextEdit
for the given refactoring information.Modifier and TypeMethodDescriptionDefaultRefactoringDelta.textEdits()
RefactoringDelta.textEdits()
Returns the collection ofTextEdit
objects that have been added during one or several refactoring operations.Modifier and TypeMethodDescriptionvoid
DefaultRefactoringDelta.addTextEdit
(TextEdit textEdit) Adds the givenTextEdit
at the right position.protected int
DefaultRefactoringDelta.calculateInsertionPosition
(TextEdit textEdit) Calculates the insertion position for the givenTextEdit
based on those already registeredModifier and TypeMethodDescriptionvoid
DefaultRefactoringDelta.addTextEdits
(Iterable<? extends TextEdit> textEdits) Adds the given collection ofTextEdit
objects.