org.jetbrains.jet.lang.psi
Interface JetClassOrObject

All Superinterfaces:
com.intellij.openapi.util.Iconable, 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 com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Fields inherited from interface com.intellij.psi.PsiNamedElement
EMPTY_ARRAY
 
Method Summary
 java.util.List<JetClassInitializer> getAnonymousInitializers()
           
 JetClassBody getBody()
           
 JetDelegationSpecifierList getDelegationSpecifierList()
           
 java.util.List<JetDelegationSpecifier> getDelegationSpecifiers()
           
 JetModifierList getModifierList()
           
 JetObjectDeclarationName getNameAsDeclaration()
           
 Name getNameAsName()
           
 boolean hasPrimaryConstructor()
           
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetDeclarationContainer
getDeclarations
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetNamedDeclaration
getNameAsSafeName
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetElement
acceptChildren
 
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 org.jetbrains.jet.lang.psi.JetModifierListOwner
hasModifier
 
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()

hasPrimaryConstructor

boolean hasPrimaryConstructor()

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