public abstract class PsiAnchor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PsiAnchor.HardReference |
static class |
PsiAnchor.StubIndexReference |
Constructor and Description |
---|
PsiAnchor() |
Modifier and Type | Method and Description |
---|---|
static int |
calcStubIndex(StubBasedPsiElement psi) |
static PsiAnchor |
create(PsiElement element) |
static PsiAnchor.StubIndexReference |
createStubReference(PsiElement element,
PsiFile containingFile) |
abstract int |
getEndOffset() |
abstract PsiFile |
getFile() |
abstract int |
getStartOffset() |
static PsiElement |
restoreFromStubIndex(PsiFileWithStubSupport fileImpl,
int index,
IStubElementType elementType,
boolean throwIfNull) |
abstract PsiElement |
retrieve() |
public abstract PsiElement retrieve()
public abstract PsiFile getFile()
public abstract int getStartOffset()
public abstract int getEndOffset()
public static PsiAnchor create(PsiElement element)
public static PsiAnchor.StubIndexReference createStubReference(PsiElement element, PsiFile containingFile)
public static int calcStubIndex(StubBasedPsiElement psi)
public static PsiElement restoreFromStubIndex(PsiFileWithStubSupport fileImpl, int index, IStubElementType elementType, boolean throwIfNull)