Class SourcePosition
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.SourcePosition
-
- All Implemented Interfaces:
Comparable<SourcePosition>
public class SourcePosition extends Object implements Comparable<SourcePosition>
- Author:
- Ryan Heaton
-
-
Constructor Summary
Constructors Constructor Description SourcePosition(TreePath path, JavaFileObject sourceFile, long position, long line, long column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SourcePosition o)longgetColumn()longgetLine()TreePathgetPath()longgetPosition()JavaFileObjectgetSourceFile()
-
-
-
Constructor Detail
-
SourcePosition
public SourcePosition(TreePath path, JavaFileObject sourceFile, long position, long line, long column)
-
-
Method Detail
-
getPath
public TreePath getPath()
-
getSourceFile
public JavaFileObject getSourceFile()
-
getPosition
public long getPosition()
-
getLine
public long getLine()
-
getColumn
public long getColumn()
-
compareTo
public int compareTo(SourcePosition o)
- Specified by:
compareToin interfaceComparable<SourcePosition>
-
-