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


Field Summary
 
Fields inherited from interface org.jetbrains.kotlin.psi.JetDeclaration
ARRAY_FACTORY, EMPTY_ARRAY
 
Fields inherited from interface com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Method Summary
 java.util.List<JetClassInitializer> getAnonymousInitializers()
           
 JetClassBody getBody()
           
 JetDelegationSpecifierList getDelegationSpecifierList()
           
 java.util.List<JetDelegationSpecifier> getDelegationSpecifiers()
           
 JetModifierList getModifierList()
           
 JetObjectDeclarationName getNameAsDeclaration()
           
 Name getNameAsName()
           
 boolean isLocal()
           
 boolean isTopLevel()
           
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetDeclarationContainer
getDeclarations
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetNamedDeclaration
getFqName, getNameAsSafeName
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetDeclaration
getDocComment
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetExpression
accept
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetModifierListOwner
addModifier, hasModifier, removeModifier
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetAnnotated
getAnnotationEntries, getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetElement
acceptChildren, getContainingJetFile
 
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
 

Method Detail

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()