public class JetClass extends JetElementImplStub<T> implements JetClassOrObject
| Constructor and Description |
|---|
JetClass(com.intellij.lang.ASTNode node) |
JetClass(PsiJetClassStub stub) |
accept, acceptChildren, getLanguage, toStringclone, getContainingFile, getContext, getManager, getNode, getParent, getParentByStub, getParentByTree, getProject, getRequiredStubOrPsiChild, getStub, getStubOrPsiChild, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiParent, getStubOrPsiParentOfType, isPhysical, isValid, isWritable, setNode, setStub, subtreeChangedadd, addAfter, addBefore, addInternal, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, deleteChildInternal, deleteChildRange, findChildByFilter, findChildByType, findChildByType, findChildrenByType, findChildrenByType, findChildrenByType, findChildrenByType, findElementAt, findLastChildByType, findNotNullChildByFilter, findNotNullChildByType, findNotNullChildByType, getChildren, getCopyableUserData, getFirstChild, getLastChild, getNextSibling, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextRange, putCopyableUserData, replace, replaceChildInternal, textContains, textToCharArrayacceptChildren, canNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getNavigationElement, getOriginalElement, getReference, getReferences, getResolveScope, getUseScope, navigate, notNullChild, processDeclarations, textMatches, textMatchesbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagsclearUserData, copyCopyableDataTo, copyUserDataTo, getUserData, getUserDataString, isUserDataEmpty, putUserData, putUserDataIfAbsent, replaceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetModifierList, getNameAsNamegetNameAsSafeNameacceptChildrencanNavigate, canNavigateToSource, navigatehasModifierpublic JetClass(@NotNull com.intellij.lang.ASTNode node)
public JetClass(@NotNull PsiJetClassStub stub)
@NotNull public java.util.List<JetDeclaration> getDeclarations()
getDeclarations in interface JetDeclarationContainerpublic void accept(@NotNull JetVisitorVoid visitor)
accept in interface JetElementaccept in interface JetExpressionaccept in class JetElementImplStub<PsiJetClassStub>public <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept in interface JetElementaccept in interface JetExpressionaccept in class JetElementImplStub<PsiJetClassStub>@Nullable public JetParameterList getPrimaryConstructorParameterList()
@NotNull public java.util.List<JetParameter> getPrimaryConstructorParameters()
@Nullable public JetDelegationSpecifierList getDelegationSpecifierList()
getDelegationSpecifierList in interface JetClassOrObject@NotNull public java.util.List<JetDelegationSpecifier> getDelegationSpecifiers()
getDelegationSpecifiers in interface JetClassOrObject@Nullable public JetModifierList getPrimaryConstructorModifierList()
@NotNull public java.util.List<JetClassInitializer> getAnonymousInitializers()
getAnonymousInitializers in interface JetClassOrObjectpublic boolean hasPrimaryConstructor()
hasPrimaryConstructor in interface JetClassOrObjectpublic JetObjectDeclarationName getNameAsDeclaration()
getNameAsDeclaration in interface JetClassOrObjectpublic JetClassBody getBody()
getBody in interface JetClassOrObject@Nullable public JetClassObject getClassObject()
public java.util.List<JetProperty> getProperties()
public boolean isTrait()
public boolean isEnum()
public boolean isAnnotation()
public boolean isInner()
@NotNull public com.intellij.psi.stubs.IStubElementType getElementType()
getElementType in interface com.intellij.psi.StubBasedPsiElement<PsiJetClassStub>getElementType in class com.intellij.extapi.psi.StubBasedPsiElementBase<PsiJetClassStub>public void delete() throws com.intellij.util.IncorrectOperationException
delete in interface com.intellij.psi.PsiElementdelete in class com.intellij.extapi.psi.ASTDelegatePsiElementcom.intellij.util.IncorrectOperationExceptionpublic boolean isEquivalentTo(com.intellij.psi.PsiElement another)
isEquivalentTo in interface com.intellij.psi.PsiElementisEquivalentTo in class com.intellij.psi.impl.PsiElementBase@NotNull public java.util.List<java.lang.String> getSuperNames()
public com.intellij.navigation.ItemPresentation getPresentation()
getPresentation in interface com.intellij.navigation.NavigationItemgetPresentation in class com.intellij.psi.impl.PsiElementBase@Nullable public JetTypeParameterList getTypeParameterList()
@NotNull public java.util.List<JetTypeConstraint> getTypeConstraints()
getTypeConstraints in interface JetTypeParameterListOwner@NotNull public java.util.List<JetTypeParameter> getTypeParameters()
getTypeParameters in interface JetTypeParameterListOwnerpublic java.lang.String getName()
getName in interface com.intellij.navigation.NavigationItemgetName in interface com.intellij.psi.PsiNamedElementgetName in class com.intellij.psi.impl.PsiElementBasepublic Name getNameAsName()
getNameAsName in interface JetNamed@NotNull public Name getNameAsSafeName()
getNameAsSafeName in interface JetNamedDeclarationpublic com.intellij.psi.PsiElement getNameIdentifier()
getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwnerpublic com.intellij.psi.PsiElement setName(@NonNls@NotNull java.lang.String name) throws com.intellij.util.IncorrectOperationException
setName in interface com.intellij.psi.PsiNamedElementcom.intellij.util.IncorrectOperationExceptionpublic int getTextOffset()
getTextOffset in interface com.intellij.psi.PsiElementgetTextOffset in class com.intellij.extapi.psi.ASTDelegatePsiElement@Nullable public JetModifierList getModifierList()
getModifierList in interface JetModifierListOwnerpublic boolean hasModifier(JetToken modifier)
hasModifier in interface JetModifierListOwner