com.intellij.psi
Interface PsiBlockStatement

All Superinterfaces:
Iconable, PsiElement, PsiStatement, UserDataHolder

public interface PsiBlockStatement
extends PsiStatement

Represents a Java block statement (sequence of statements surrounded with curly braces).


Field Summary
 
Fields inherited from interface com.intellij.psi.PsiStatement
EMPTY_ARRAY
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
Method Summary
 PsiCodeBlock getCodeBlock()
          Returns the code block representing the contents of the block statement.
 
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, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
 
Methods inherited from interface com.intellij.openapi.util.UserDataHolder
getUserData, putUserData
 
Methods inherited from interface com.intellij.openapi.util.Iconable
getIcon
 

Method Detail

getCodeBlock

@NotNull
PsiCodeBlock getCodeBlock()
Returns the code block representing the contents of the block statement.

Returns:
the code block instance.