org.jetbrains.jet.lang.psi.stubs.elements
Class JetObjectElementType

java.lang.Object
  extended by com.intellij.psi.tree.IElementType
      extended by com.intellij.psi.stubs.IStubElementType<StubT,PsiT>
          extended by org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementType<PsiJetObjectStub,JetObjectDeclaration>
              extended by org.jetbrains.jet.lang.psi.stubs.elements.JetObjectElementType
All Implemented Interfaces:
com.intellij.psi.stubs.ObjectStubSerializer<PsiJetObjectStub,com.intellij.psi.stubs.StubElement>, com.intellij.psi.stubs.StubSerializer<PsiJetObjectStub>

public class JetObjectElementType
extends JetStubElementType<PsiJetObjectStub,JetObjectDeclaration>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.intellij.psi.tree.IElementType
com.intellij.psi.tree.IElementType.Predicate
 
Field Summary
 
Fields inherited from class com.intellij.psi.tree.IElementType
EMPTY_ARRAY, FIRST_TOKEN_INDEX, MAX_INDEXED_TYPES, TRUE
 
Constructor Summary
JetObjectElementType(java.lang.String debugName)
           
 
Method Summary
 JetObjectDeclaration createPsi(PsiJetObjectStub stub)
           
 JetObjectDeclaration createPsiFromAst(com.intellij.lang.ASTNode node)
           
 PsiJetObjectStub createStub(JetObjectDeclaration psi, com.intellij.psi.stubs.StubElement parentStub)
           
 PsiJetObjectStub deserialize(com.intellij.psi.stubs.StubInputStream dataStream, com.intellij.psi.stubs.StubElement parentStub)
           
 void indexStub(PsiJetObjectStub stub, com.intellij.psi.stubs.IndexSink sink)
           
 void serialize(PsiJetObjectStub stub, com.intellij.psi.stubs.StubOutputStream dataStream)
           
 boolean shouldCreateStub(com.intellij.lang.ASTNode node)
           
 
Methods inherited from class org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementType
getExternalId
 
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
 

Constructor Detail

JetObjectElementType

public JetObjectElementType(@NotNull@NonNls
                            java.lang.String debugName)
Method Detail

createPsiFromAst

public JetObjectDeclaration createPsiFromAst(@NotNull
                                             com.intellij.lang.ASTNode node)
Specified by:
createPsiFromAst in class JetStubElementType<PsiJetObjectStub,JetObjectDeclaration>

createPsi

public JetObjectDeclaration createPsi(@NotNull
                                      PsiJetObjectStub stub)
Specified by:
createPsi in class com.intellij.psi.stubs.IStubElementType<PsiJetObjectStub,JetObjectDeclaration>

shouldCreateStub

public boolean shouldCreateStub(com.intellij.lang.ASTNode node)
Overrides:
shouldCreateStub in class JetStubElementType<PsiJetObjectStub,JetObjectDeclaration>

createStub

public PsiJetObjectStub createStub(@NotNull
                                   JetObjectDeclaration psi,
                                   @NotNull
                                   com.intellij.psi.stubs.StubElement parentStub)
Specified by:
createStub in class com.intellij.psi.stubs.IStubElementType<PsiJetObjectStub,JetObjectDeclaration>

serialize

public void serialize(PsiJetObjectStub stub,
                      com.intellij.psi.stubs.StubOutputStream dataStream)
               throws java.io.IOException
Throws:
java.io.IOException

deserialize

public PsiJetObjectStub 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(PsiJetObjectStub stub,
                      com.intellij.psi.stubs.IndexSink sink)