org.jetbrains.jet.lang.psi.stubs.elements
Class JetAnnotationElementType
java.lang.Object
com.intellij.psi.tree.IElementType
com.intellij.psi.stubs.IStubElementType<StubT,PsiT>
org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementType<PsiJetAnnotationStub,JetAnnotationEntry>
org.jetbrains.jet.lang.psi.stubs.elements.JetAnnotationElementType
- All Implemented Interfaces:
- com.intellij.psi.stubs.ObjectStubSerializer<PsiJetAnnotationStub,com.intellij.psi.stubs.StubElement>, com.intellij.psi.stubs.StubSerializer<PsiJetAnnotationStub>
public class JetAnnotationElementType
- extends JetStubElementType<PsiJetAnnotationStub,JetAnnotationEntry>
| Nested classes/interfaces inherited from class com.intellij.psi.tree.IElementType |
com.intellij.psi.tree.IElementType.Predicate |
| Fields inherited from class com.intellij.psi.tree.IElementType |
EMPTY_ARRAY, FIRST_TOKEN_INDEX, MAX_INDEXED_TYPES, TRUE |
| Methods inherited from class com.intellij.psi.stubs.IStubElementType |
getId |
| Methods inherited from class com.intellij.psi.tree.IElementType |
enumerate, find, getIndex, getLanguage, isLeftBound, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JetAnnotationElementType
public JetAnnotationElementType(@NotNull@NonNls
java.lang.String debugName)
createPsiFromAst
public JetAnnotationEntry createPsiFromAst(@NotNull
com.intellij.lang.ASTNode node)
- Specified by:
createPsiFromAst in class JetStubElementType<PsiJetAnnotationStub,JetAnnotationEntry>
createPsi
public JetAnnotationEntry createPsi(@NotNull
PsiJetAnnotationStub stub)
- Specified by:
createPsi in class com.intellij.psi.stubs.IStubElementType<PsiJetAnnotationStub,JetAnnotationEntry>
createStub
public PsiJetAnnotationStub createStub(@NotNull
JetAnnotationEntry psi,
com.intellij.psi.stubs.StubElement parentStub)
- Specified by:
createStub in class com.intellij.psi.stubs.IStubElementType<PsiJetAnnotationStub,JetAnnotationEntry>
serialize
public void serialize(PsiJetAnnotationStub stub,
com.intellij.psi.stubs.StubOutputStream dataStream)
throws java.io.IOException
- Throws:
java.io.IOException
deserialize
public PsiJetAnnotationStub deserialize(com.intellij.psi.stubs.StubInputStream dataStream,
com.intellij.psi.stubs.StubElement parentStub)
throws java.io.IOException
- Throws:
java.io.IOException
indexStub
public void indexStub(PsiJetAnnotationStub stub,
com.intellij.psi.stubs.IndexSink sink)