public abstract class XSourcePositionWrapper extends java.lang.Object implements XSourcePosition
Modifier and Type | Field and Description |
---|---|
protected XSourcePosition |
myPosition |
Modifier | Constructor and Description |
---|---|
protected |
XSourcePositionWrapper(XSourcePosition position) |
Modifier and Type | Method and Description |
---|---|
Navigatable |
createNavigatable(Project project) |
VirtualFile |
getFile() |
int |
getLine() |
int |
getOffset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOnTheSameLine
protected final XSourcePosition myPosition
protected XSourcePositionWrapper(XSourcePosition position)
public final int getLine()
getLine
in interface XSourcePosition
public final int getOffset()
getOffset
in interface XSourcePosition
public VirtualFile getFile()
getFile
in interface XSourcePosition
public Navigatable createNavigatable(Project project)
createNavigatable
in interface XSourcePosition