Klasse TrackedNodePosition

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.TrackedNodePosition
Alle implementierten Schnittstellen:
ITrackedNodePosition

public class TrackedNodePosition extends Object implements ITrackedNodePosition
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    TrackedNodePosition(org.eclipse.text.edits.TextEditGroup group, ASTNode node)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    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.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • TrackedNodePosition

      public TrackedNodePosition(org.eclipse.text.edits.TextEditGroup group, ASTNode node)
  • 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 Schnittstelle ITrackedNodePosition
      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 Schnittstelle ITrackedNodePosition
      Gibt zurück:
      the original or modified length of the tracked node