public abstract class StubBase<T extends PsiElement> extends ObjectStubBase<StubElement> implements StubElement<T>
myParent
Modifier | Constructor and Description |
---|---|
protected |
StubBase(StubElement parent,
IStubElementType elementType) |
Modifier and Type | Method and Description |
---|---|
int |
compareByOrderWith(ObjectStubBase<?> another) |
<P extends PsiElement,S extends StubElement<P>> |
findChildStubByType(IStubElementType<S,P> elementType) |
<E extends PsiElement> |
getChildrenByType(IElementType elementType,
ArrayFactory<E> f) |
<E extends PsiElement> |
getChildrenByType(IElementType elementType,
E[] array) |
<E extends PsiElement> |
getChildrenByType(TokenSet filter,
ArrayFactory<E> f) |
<E extends PsiElement> |
getChildrenByType(TokenSet filter,
E[] array) |
java.util.List<StubElement> |
getChildrenStubs() |
StubElement |
getParentStub() |
<E extends PsiElement> |
getParentStubOfType(java.lang.Class<E> parentClass) |
Project |
getProject() |
T |
getPsi() |
IStubElementType |
getStubType() |
java.lang.String |
printTree() |
void |
setPsi(T psi) |
java.lang.String |
toString() |
getStubId, isDangling, markDangling
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
protected StubBase(StubElement parent, IStubElementType elementType)
public StubElement getParentStub()
getParentStub
in interface Stub
getParentStub
in interface StubElement<T extends PsiElement>
getParentStub
in class ObjectStubBase<StubElement>
public java.util.List<StubElement> getChildrenStubs()
getChildrenStubs
in interface Stub
getChildrenStubs
in interface StubElement<T extends PsiElement>
public <P extends PsiElement,S extends StubElement<P>> S findChildStubByType(IStubElementType<S,P> elementType)
findChildStubByType
in interface StubElement<T extends PsiElement>
public void setPsi(T psi)
public T getPsi()
getPsi
in interface StubElement<T extends PsiElement>
public <E extends PsiElement> E [] getChildrenByType(IElementType elementType, E[] array)
getChildrenByType
in interface StubElement<T extends PsiElement>
public <E extends PsiElement> E [] getChildrenByType(TokenSet filter, E[] array)
getChildrenByType
in interface StubElement<T extends PsiElement>
public <E extends PsiElement> E [] getChildrenByType(IElementType elementType, ArrayFactory<E> f)
getChildrenByType
in interface StubElement<T extends PsiElement>
public <E extends PsiElement> E [] getChildrenByType(TokenSet filter, ArrayFactory<E> f)
getChildrenByType
in interface StubElement<T extends PsiElement>
public <E extends PsiElement> E getParentStubOfType(java.lang.Class<E> parentClass)
getParentStubOfType
in interface StubElement<T extends PsiElement>
public IStubElementType getStubType()
getStubType
in interface Stub
getStubType
in interface StubElement<T extends PsiElement>
public Project getProject()
public java.lang.String printTree()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareByOrderWith(ObjectStubBase<?> another)
Comparable
) of this stub with another
,
where "a