com.intellij.debugger
Class SourcePosition
java.lang.Object
com.intellij.debugger.SourcePosition
- All Implemented Interfaces:
- Navigatable
public abstract class SourcePosition
- extends java.lang.Object
- implements Navigatable
User: lex
Date: Oct 24, 2003
Time: 8:23:06 PM
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourcePosition
public SourcePosition()
getFile
public abstract PsiFile getFile()
getLine
public abstract int getLine()
- Returns:
- a zero-based line number
getOffset
public abstract int getOffset()
openEditor
public abstract Editor openEditor(boolean requestFocus)
createFromLine
public static SourcePosition createFromLine(PsiFile file,
int line)
createFromOffset
public static SourcePosition createFromOffset(PsiFile file,
int offset)
createFromElement
public static SourcePosition createFromElement(PsiElement element)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object