Klasse TargetSourceRangeComputer.SourceRange
java.lang.Object
org.aspectj.org.eclipse.jdt.core.dom.rewrite.TargetSourceRangeComputer.SourceRange
- Umschließende Klasse:
TargetSourceRangeComputer
Reified source range. Instances are "value" object
(cannot be modified).
- Seit:
- 3.1
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintReturns the source length.intReturns the start position.
-
Konstruktordetails
-
SourceRange
public SourceRange(int startPosition, int length) Creates a new source range.- Parameter:
startPosition- the 0-based character index, or-1if no source position information is knownlength- the (possibly 0) length, or0if no source position information is known
-
-
Methodendetails
-
getStartPosition
public int getStartPosition()Returns the start position.- Gibt zurück:
- the 0-based character index, or
-1if no source position information is known
-
getLength
public int getLength()Returns the source length.- Gibt zurück:
- a (possibly 0) length, or
0if no source position information is known
-