org.jetbrains.jet.lang.psi.stubs.elements
Class JetStubElementType<StubT extends com.intellij.psi.stubs.StubElement,PsiT extends com.intellij.psi.PsiElement>

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<StubT,PsiT>
All Implemented Interfaces:
com.intellij.psi.stubs.ObjectStubSerializer<StubT,com.intellij.psi.stubs.StubElement>, com.intellij.psi.stubs.StubSerializer<StubT>
Direct Known Subclasses:
JetAnnotationElementType, JetClassElementType, JetFunctionElementType, JetObjectElementType, JetParameterElementType, JetParameterListElementType, JetPropertyElementType, JetTypeParameterElementType, JetTypeParameterListElementType

public abstract class JetStubElementType<StubT extends com.intellij.psi.stubs.StubElement,PsiT extends com.intellij.psi.PsiElement>
extends com.intellij.psi.stubs.IStubElementType<StubT,PsiT>


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
JetStubElementType(java.lang.String debugName)
           
 
Method Summary
abstract  PsiT createPsiFromAst(com.intellij.lang.ASTNode node)
           
 java.lang.String getExternalId()
           
 boolean shouldCreateStub(com.intellij.lang.ASTNode node)
           
 
Methods inherited from class com.intellij.psi.stubs.IStubElementType
createPsi, createStub, 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
 
Methods inherited from interface com.intellij.psi.stubs.StubSerializer
deserialize, indexStub, serialize
 

Constructor Detail

JetStubElementType

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

createPsiFromAst

public abstract PsiT createPsiFromAst(@NotNull
                                      com.intellij.lang.ASTNode node)

getExternalId

public java.lang.String getExternalId()

shouldCreateStub

public boolean shouldCreateStub(com.intellij.lang.ASTNode node)
Overrides:
shouldCreateStub in class com.intellij.psi.stubs.IStubElementType<StubT extends com.intellij.psi.stubs.StubElement,PsiT extends com.intellij.psi.PsiElement>