org.jetbrains.kotlin.psi
Interface JetDeclarationWithBody

All Superinterfaces:
com.intellij.openapi.util.Iconable, JetAnnotated, JetDeclaration, JetElement, JetExpression, JetModifierListOwner, com.intellij.pom.Navigatable, com.intellij.psi.NavigatablePsiElement, com.intellij.navigation.NavigationItem, com.intellij.psi.PsiElement, com.intellij.openapi.util.UserDataHolder
All Known Subinterfaces:
JetFunction
All Known Implementing Classes:
JetFunctionLiteral, JetFunctionNotStubbed, JetNamedFunction, JetPropertyAccessor

public interface JetDeclarationWithBody
extends JetDeclaration


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
 JetExpression getBodyExpression()
           
 com.intellij.psi.PsiElement getEqualsToken()
           
 java.lang.String getName()
           
 java.util.List<JetParameter> getValueParameters()
           
 boolean hasBlockBody()
           
 boolean hasBody()
           
 boolean hasDeclaredReturnType()
           
 
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, getModifierList, 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
getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 

Method Detail

getBodyExpression

@Nullable
JetExpression getBodyExpression()

getEqualsToken

@Nullable
com.intellij.psi.PsiElement getEqualsToken()

getName

@Nullable
java.lang.String getName()
Specified by:
getName in interface com.intellij.navigation.NavigationItem

hasBlockBody

boolean hasBlockBody()

hasBody

boolean hasBody()

hasDeclaredReturnType

boolean hasDeclaredReturnType()

getValueParameters

@NotNull
java.util.List<JetParameter> getValueParameters()