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

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<KotlinFunctionStub,JetNamedFunction>
              extended by org.jetbrains.kotlin.psi.stubs.elements.JetFunctionElementType
All Implemented Interfaces:
com.intellij.psi.stubs.ObjectStubSerializer<KotlinFunctionStub,com.intellij.psi.stubs.StubElement>, com.intellij.psi.stubs.StubSerializer<KotlinFunctionStub>

public class JetFunctionElementType
extends JetStubElementType<KotlinFunctionStub,JetNamedFunction>


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
JetFunctionElementType(java.lang.String debugName)
           
 
Method Summary
 KotlinFunctionStub createStub(JetNamedFunction psi, com.intellij.psi.stubs.StubElement parentStub)
           
 KotlinFunctionStub deserialize(com.intellij.psi.stubs.StubInputStream dataStream, com.intellij.psi.stubs.StubElement parentStub)
           
 void indexStub(KotlinFunctionStub stub, com.intellij.psi.stubs.IndexSink sink)
           
 void serialize(KotlinFunctionStub 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

JetFunctionElementType

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

createStub

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

serialize

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

deserialize

@NotNull
public KotlinFunctionStub 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
                      KotlinFunctionStub stub,
                      @NotNull
                      com.intellij.psi.stubs.IndexSink sink)
Specified by:
indexStub in interface com.intellij.psi.stubs.ObjectStubSerializer<KotlinFunctionStub,com.intellij.psi.stubs.StubElement>
Overrides:
indexStub in class JetStubElementType<KotlinFunctionStub,JetNamedFunction>