org.jetbrains.kotlin.psi
Interface JetClassOrObject
- All Superinterfaces:
- com.intellij.openapi.util.Iconable, JetAnnotated, JetDeclaration, JetDeclarationContainer, JetElement, JetExpression, JetModifierListOwner, JetNamed, JetNamedDeclaration, JetStatementExpression, com.intellij.pom.Navigatable, com.intellij.psi.NavigatablePsiElement, com.intellij.navigation.NavigationItem, com.intellij.psi.PsiElement, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, com.intellij.openapi.util.UserDataHolder
- All Known Implementing Classes:
- JetClass, JetEnumEntry, JetObjectDeclaration
public interface JetClassOrObject
- extends com.intellij.psi.PsiNameIdentifierOwner, JetDeclarationContainer, JetElement, JetModifierListOwner, JetNamedDeclaration
Fields inherited from interface com.intellij.navigation.NavigationItem |
EMPTY_NAVIGATION_ITEM_ARRAY |
Methods inherited from interface com.intellij.navigation.NavigationItem |
getName, getPresentation |
Methods inherited from interface com.intellij.pom.Navigatable |
canNavigate, canNavigateToSource, navigate |
Methods inherited from interface com.intellij.psi.PsiNameIdentifierOwner |
getNameIdentifier |
Methods inherited from interface com.intellij.psi.PsiNamedElement |
getName, setName |
getDelegationSpecifierList
@Nullable
JetDelegationSpecifierList getDelegationSpecifierList()
getDelegationSpecifiers
@NotNull
java.util.List<JetDelegationSpecifier> getDelegationSpecifiers()
getAnonymousInitializers
@NotNull
java.util.List<JetClassInitializer> getAnonymousInitializers()
getNameAsName
@Nullable
Name getNameAsName()
- Specified by:
getNameAsName
in interface JetNamed
getModifierList
@Nullable
JetModifierList getModifierList()
- Specified by:
getModifierList
in interface JetModifierListOwner
getNameAsDeclaration
@Nullable
JetObjectDeclarationName getNameAsDeclaration()
getBody
@Nullable
JetClassBody getBody()
isTopLevel
boolean isTopLevel()
isLocal
boolean isLocal()