com.sun.tools.javac.model
Class JavacSourcePosition
java.lang.Object
com.sun.tools.javac.model.JavacSourcePosition
class JavacSourcePosition
- extends java.lang.Object
Implementation of model API SourcePosition based on javac internal state.
This is NOT part of any API supported by Sun Microsystems.
If you write code that depends on this, you do so at your own
risk. This code and its internal interfaces are subject to change
or deletion without notice.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sourcefile
final JavaFileObject sourcefile
pos
final int pos
lineMap
final Position.LineMap lineMap
JavacSourcePosition
JavacSourcePosition(JavaFileObject sourcefile,
int pos,
Position.LineMap lineMap)
getFile
public JavaFileObject getFile()
getOffset
public int getOffset()
getLine
public int getLine()
getColumn
public int getColumn()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object