public static final class TargetSourceRangeComputer.SourceRange extends Object
Constructor and Description |
---|
TargetSourceRangeComputer.SourceRange(int startPosition,
int length)
Creates a new source range.
|
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 knownpublic int getStartPosition()
-1
if no source position information is knownpublic int getLength()
0
if no source position information is known
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.