org.jetbrains.jet.lang.psi
Interface JetDeclarationWithBody

All Superinterfaces:
com.intellij.openapi.util.Iconable, 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon
 
Field Summary
 
Fields inherited from interface com.intellij.psi.PsiElement
ARRAY_FACTORY, EMPTY_ARRAY
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
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, accept
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetElement
acceptChildren
 
Methods inherited from interface com.intellij.psi.PsiElement
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
 
Methods inherited from interface com.intellij.openapi.util.UserDataHolder
getUserData, putUserData
 
Methods inherited from interface com.intellij.openapi.util.Iconable
getIcon
 
Methods inherited from interface com.intellij.navigation.NavigationItem
getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 
Methods inherited from interface org.jetbrains.jet.lang.psi.JetModifierListOwner
getModifierList, hasModifier
 

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