|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.dom.rewrite.TargetSourceRangeComputer.SourceRange
Reified source range. Instances are "value" object (cannot be modified).
Constructor Summary | |
---|---|
TargetSourceRangeComputer.SourceRange(int startPosition,
int length)
Creates a new source range. |
Method Summary | |
---|---|
int |
getLength()
Returns the source length. |
int |
getStartPosition()
Returns the start position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TargetSourceRangeComputer.SourceRange(int startPosition, int length)
startPosition
- the 0-based character index, or -1
if no source position information is knownlength
- the (possibly 0) length, or 0
if no source position information is knownMethod Detail |
public int getStartPosition()
-1
if no source position information is knownpublic int getLength()
0
if no source position information is known
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |