|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.tools.lint.detector.api.Position
@Beta public abstract class Position
Information about a position in a file/document.
NOTE: This is not a public or final API; if you rely on this be prepared to adjust your code for the next tools release.
Constructor Summary | |
---|---|
Position()
|
Method Summary | |
---|---|
abstract int |
getColumn()
Returns the column number (where the first character on the line is 0), or -1 if unknown |
abstract int |
getLine()
Returns the line number (0-based where the first line is line 0) |
abstract int |
getOffset()
The character offset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Position()
Method Detail |
---|
public abstract int getLine()
public abstract int getOffset()
public abstract int getColumn()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |