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