com.intellij.psi
Interface PsiMember

All Superinterfaces:
Iconable, Navigatable, NavigationItem, PsiElement, PsiModifierListOwner, UserDataHolder
All Known Subinterfaces:
PsiAnnotationMethod, PsiAnonymousClass, PsiAspect, PsiAspectField, PsiAspectMethod, PsiClass, PsiClassInitializer, PsiDocCommentOwner, PsiEnumConstant, PsiEnumConstantInitializer, PsiField, PsiIntertypeField, PsiIntertypeMethod, PsiMethod, PsiPointcutDef, PsiTypeParameter, PsiTypeParameterListOwner

public interface PsiMember
extends PsiModifierListOwner, NavigationItem

Represents a member of a Java class (for example, a field or a method).


Field Summary
static PsiMember[] EMPTY_ARRAY
          The empty array of PSI members which can be reused to avoid unnecessary allocations.
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
Method Summary
 PsiClass getContainingClass()
          Returns the class containing the member.
 
Methods inherited from interface com.intellij.psi.PsiModifierListOwner
getModifierList, hasModifierProperty
 
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
 
Methods inherited from interface com.intellij.navigation.NavigationItem
getFileStatus, getName, getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 

Field Detail

EMPTY_ARRAY

static final PsiMember[] EMPTY_ARRAY
The empty array of PSI members which can be reused to avoid unnecessary allocations.

Method Detail

getContainingClass

PsiClass getContainingClass()
Returns the class containing the member.

Returns:
the containing class.