|
Eclipse JDT Release 3.2 |
|||||||||
| 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
public static final class 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 known| Method 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.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||