Klasse TrackedNodePosition
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.TrackedNodePosition
- Alle implementierten Schnittstellen:
ITrackedNodePosition
-
Konstruktorübersicht
KonstruktorBeschreibungTrackedNodePosition
(org.eclipse.text.edits.TextEditGroup group, ASTNode node) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Returns the original or modified length of the tracked node depending if called before or after the rewrite is applied.int
Returns the original or modified start position of the tracked node depending if called before or after the rewrite is applied.
-
Konstruktordetails
-
TrackedNodePosition
-
-
Methodendetails
-
getStartPosition
public int getStartPosition()Beschreibung aus Schnittstelle kopiert:ITrackedNodePosition
Returns the original or modified start position of the tracked node depending if called before or after the rewrite is applied.-1
is returned for removed nodes.- Angegeben von:
getStartPosition
in SchnittstelleITrackedNodePosition
- Gibt zurück:
- the original or modified start position of the tracked node
-
getLength
public int getLength()Beschreibung aus Schnittstelle kopiert:ITrackedNodePosition
Returns the original or modified length of the tracked node depending if called before or after the rewrite is applied.-1
is returned for removed nodes.- Angegeben von:
getLength
in SchnittstelleITrackedNodePosition
- Gibt zurück:
- the original or modified length of the tracked node
-