Class RangePosition
java.lang.Object
com.ibm.wala.cast.tree.impl.AbstractSourcePosition
com.ibm.wala.cast.tree.impl.RangePosition
- All Implemented Interfaces:
CAstSourcePositionMap.Position
,IMethod.SourcePosition
,Comparable<IMethod.SourcePosition>
-
Constructor Summary
ConstructorDescriptionRangePosition
(URL url, int line, int startOffset, int endOffset) RangePosition
(URL url, int startLine, int endLine, int startOffset, int endOffset) -
Method Summary
Methods inherited from class com.ibm.wala.cast.tree.impl.AbstractSourcePosition
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.ibm.wala.cast.tree.CAstSourcePositionMap.Position
prettyPrint
-
Constructor Details
-
RangePosition
-
RangePosition
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<IMethod.SourcePosition>
- Overrides:
compareTo
in classAbstractSourcePosition
-
getFirstLine
public int getFirstLine() -
getLastLine
public int getLastLine() -
getFirstCol
public int getFirstCol() -
getLastCol
public int getLastCol() -
getFirstOffset
public int getFirstOffset() -
getLastOffset
public int getLastOffset() -
getURL
-
getReader
- Throws:
IOException
-