org.jetbrains.kotlin.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.kotlin.psi.stubs.elements.JetStubElementType<KotlinObjectStub,JetObjectDeclaration>
              extended by org.jetbrains.kotlin.psi.stubs.elements.JetObjectElementType
All Implemented Interfaces:
com.intellij.psi.stubs.ObjectStubSerializer<KotlinObjectStub,com.intellij.psi.stubs.StubElement>, com.intellij.psi.stubs.StubSerializer<KotlinObjectStub>

public class JetObjectElementType
extends JetStubElementType<KotlinObjectStub,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, TRUE
 
Constructor Summary
JetObjectElementType(java.lang.String debugName)
           
 
Method Summary
 KotlinObjectStub createStub(JetObjectDeclaration psi, com.intellij.psi.stubs.StubElement parentStub)
           
 KotlinObjectStub deserialize(com.intellij.psi.stubs.StubInputStream dataStream, com.intellij.psi.stubs.StubElement parentStub)
           
 void indexStub(KotlinObjectStub stub, com.intellij.psi.stubs.IndexSink sink)
           
 void serialize(KotlinObjectStub stub, com.intellij.psi.stubs.StubOutputStream dataStream)
           
 
Methods inherited from class org.jetbrains.kotlin.psi.stubs.elements.JetStubElementType
createPsi, createPsiFromAst, getArrayFactory, getExternalId, shouldCreateStub
 
Methods inherited from class com.intellij.psi.stubs.IStubElementType
getId
 
Methods inherited from class com.intellij.psi.tree.IElementType
enumerate, find, getIndex, getLanguage, getRegisteredIndex, 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

createStub

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

serialize

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

deserialize

@NotNull
public KotlinObjectStub deserialize(@NotNull
                                            com.intellij.psi.stubs.StubInputStream dataStream,
                                            com.intellij.psi.stubs.StubElement parentStub)
                             throws java.io.IOException
Throws:
java.io.IOException

indexStub

public void indexStub(@NotNull
                      KotlinObjectStub stub,
                      @NotNull
                      com.intellij.psi.stubs.IndexSink sink)
Specified by:
indexStub in interface com.intellij.psi.stubs.ObjectStubSerializer<KotlinObjectStub,com.intellij.psi.stubs.StubElement>
Overrides:
indexStub in class JetStubElementType<KotlinObjectStub,JetObjectDeclaration>