public abstract class EmptyStubElementType<T extends PsiElement> extends IStubElementType<EmptyStub,T>
IElementType.Predicate
ARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE
Modifier | Constructor and Description |
---|---|
protected |
EmptyStubElementType(java.lang.String debugName,
Language language) |
Modifier and Type | Method and Description |
---|---|
protected EmptyStub |
createStub(StubElement parentStub) |
EmptyStub |
createStub(T psi,
StubElement parentStub) |
EmptyStub |
deserialize(StubInputStream dataStream,
StubElement parentStub) |
java.lang.String |
getExternalId() |
void |
indexStub(EmptyStub stub,
IndexSink sink) |
void |
serialize(EmptyStub stub,
StubOutputStream dataStream) |
checkNotInstantiatedTooLate, createPsi, shouldCreateStub
enumerate, find, getIndex, getLanguage, hashCode, isLeftBound, toString, unregisterElementTypes, unregisterElementTypes
protected EmptyStubElementType(java.lang.String debugName, Language language)
public final EmptyStub createStub(T psi, StubElement parentStub)
createStub
in class IStubElementType<EmptyStub,T extends PsiElement>
protected EmptyStub createStub(StubElement parentStub)
public java.lang.String getExternalId()
public final void serialize(EmptyStub stub, StubOutputStream dataStream) throws java.io.IOException
java.io.IOException
public final EmptyStub deserialize(StubInputStream dataStream, StubElement parentStub) throws java.io.IOException
java.io.IOException