| com.sun.mirror.util.SourcePosition
All known Subclasses: org.eclipse.jdt.apt.core.internal.util.SourcePositionImpl,
SourcePosition | public interface SourcePosition (Code) | | Represents a position in a source file.
author: Joseph D. Darcy author: Scott Seligman version: 1.2 04/07/16 since: 1.5 |
Method Summary | |
int | column() Returns the column number of this position. | File | file() Returns the source file containing this position. | int | line() Returns the line number of this position. |
column | int column()(Code) | | Returns the column number of this position. Columns are numbered
starting with 1.
the column number of this position, or 0 if the columnnumber is unknown or not applicable |
file | File file()(Code) | | Returns the source file containing this position.
the source file containing this position; never null |
line | int line()(Code) | | Returns the line number of this position. Lines are numbered
starting with 1.
the line number of this position, or 0 if the linenumber is unknown or not applicable |
|
|