org.jetbrains.jet.lang.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 com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Method Summary
 JetElement asElement()
           
 JetExpression getBodyExpression()
           
 java.lang.String getName()
           
 java.util.List<JetParameter> getValueParameters()
           
 boolean hasBlockBody()
           
 boolean hasDeclaredReturnType()
           
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetExpression
accept
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetModifierListOwner
getModifierList, hasModifier
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetAnnotated
getAnnotationEntries, getAnnotations
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetElement
acceptChildren
 
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()

getName

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

hasBlockBody

boolean hasBlockBody()

hasDeclaredReturnType

boolean hasDeclaredReturnType()

asElement

@NotNull
JetElement asElement()

getValueParameters

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