public class JavaModuleElementType extends JavaStubElementType<PsiJavaModuleStub,PsiJavaModule>
IElementType.Predicate
ARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE
Constructor and Description |
---|
JavaModuleElementType() |
Modifier and Type | Method and Description |
---|---|
ASTNode |
createCompositeNode() |
PsiJavaModule |
createPsi(ASTNode node) |
PsiJavaModule |
createPsi(PsiJavaModuleStub stub) |
PsiJavaModuleStub |
createStub(LighterAST tree,
LighterASTNode node,
StubElement parentStub) |
PsiJavaModuleStub |
deserialize(StubInputStream dataStream,
StubElement parentStub) |
void |
indexStub(PsiJavaModuleStub stub,
IndexSink sink) |
void |
serialize(PsiJavaModuleStub stub,
StubOutputStream dataStream) |
createStub, getExternalId, getPsiFactory, isCompiled, isLeftBound
shouldCreateStub
checkNotInstantiatedTooLate, shouldCreateStub
enumerate, find, getIndex, getLanguage, hashCode, toString, unregisterElementTypes, unregisterElementTypes
public ASTNode createCompositeNode()
public PsiJavaModule createPsi(PsiJavaModuleStub stub)
createPsi
in class IStubElementType<PsiJavaModuleStub,PsiJavaModule>
public PsiJavaModule createPsi(ASTNode node)
createPsi
in class JavaStubElementType<PsiJavaModuleStub,PsiJavaModule>
public PsiJavaModuleStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub)
createStub
in class ILightStubElementType<PsiJavaModuleStub,PsiJavaModule>
public void serialize(PsiJavaModuleStub stub, StubOutputStream dataStream) throws java.io.IOException
java.io.IOException
public PsiJavaModuleStub deserialize(StubInputStream dataStream, StubElement parentStub) throws java.io.IOException
java.io.IOException
public void indexStub(PsiJavaModuleStub stub, IndexSink sink)