org.jetbrains.kotlin.psi.stubs.elements
Class KtObjectElementType
java.lang.Object
com.intellij.psi.tree.IElementType
com.intellij.psi.stubs.IStubElementType<StubT,PsiT>
org.jetbrains.kotlin.psi.stubs.elements.KtStubElementType<KotlinObjectStub,KtObjectDeclaration>
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 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, TRUE |
|
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 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 |
KtObjectElementType
public KtObjectElementType(@NotNull@NonNls
java.lang.String debugName)
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>