org.jetbrains.kotlin.psi.stubs.elements
Class KtObjectElementType

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

public class KtObjectElementType
extends KtStubElementType<KotlinObjectStub,KtObjectDeclaration>


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
KtObjectElementType(java.lang.String debugName)
           
 
Method Summary
 KotlinObjectStub createStub(KtObjectDeclaration 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.KtStubElementType
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, hashCode, isLeftBound, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KtObjectElementType

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

createStub

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

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 KtStubElementType<KotlinObjectStub,KtObjectDeclaration>