public class PsiEnumConstantInitializerImpl extends PsiClassImpl implements PsiEnumConstantInitializer
Iconable.IconFlags, Iconable.LastComputedIcon
Queryable.Contributor, Queryable.PrintInfo, Queryable.Util
CREATION_TRACE, ourTraceStubAstBinding
FLAGS_LOCKED, ICON_PLACEHOLDER
ARRAY_FACTORY, EMPTY_ARRAY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
Constructor and Description |
---|
PsiEnumConstantInitializerImpl(ASTNode node) |
PsiEnumConstantInitializerImpl(PsiClassStub stub) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
protected java.lang.Object |
clone() |
PsiExpressionList |
getArgumentList()
Returns the list of arguments passed to the base class constructor.
|
PsiJavaCodeReferenceElement |
getBaseClassReference()
Returns the reference element specifying the base class for the anonymous class.
|
PsiClassType |
getBaseClassType()
Returns the type for the base class of the anonymous class.
|
PsiEnumConstant |
getEnumConstant()
Returns the enum constant to which the class body is attached.
|
PsiReferenceList |
getExtendsList()
Returns the list of classes that this class or interface extends.
|
PsiReferenceList |
getImplementsList()
Returns the list of interfaces that this class implements.
|
PsiModifierList |
getModifierList()
Returns the list of modifiers for the element.
|
PsiIdentifier |
getNameIdentifier()
Returns the name identifier of the class.
|
PsiElement |
getOriginalElement()
Returns the PSI element which corresponds to this element and belongs to
either the project source path or class path.
|
java.lang.String |
getQualifiedName()
Returns the fully qualified name of the class.
|
PsiClassType [] |
getSuperTypes()
Returns the list of class types for the classes and interfaces extended or
implemented by the class.
|
PsiTypeParameterList |
getTypeParameterList()
Returns the type parameter list for the element.
|
boolean |
hasModifierProperty(java.lang.String name)
Checks if the element has the specified modifier.
|
boolean |
isAnnotationType()
Checks if the class is an annotation type.
|
boolean |
isEnum()
Checks if the class is an enumeration.
|
boolean |
isInQualifiedNew() |
boolean |
isInterface()
Checks if the class is an interface.
|
void |
subtreeChanged() |
java.lang.String |
toString()
toString() should never be presented to the user.
|
calcBasesResolveContext, findFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getConstructors, getContainingClass, getContext, getDocComment, getElementIcon, getExtendsListTypes, getFields, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getLBrace, getMethods, getName, getNode, getOwnFields, getOwnInnerClasses, getOwnMethods, getPresentation, getRBrace, getRecordComponents, getRecordHeader, getScope, getSuperClass, getSupers, getTypeParameters, getUseScope, getValuesMethod, getVisibleSignatures, hasTypeParameters, isDeprecated, isEquivalentTo, isInheritor, isInheritorDeep, isRecord, isVisibilitySupported, processDeclarations, putInfo, putInfo, setName
acceptChildren, add, addAfter, addBefore, calcTreeElement, checkAdd, cloneImpl, delete, deleteChildRange, getChildren, getLanguage, getTextOffset, replace
getContainingFile, getElementType, getGreenStub, getManager, getParent, getParentByStub, getParentByTree, getProject, getRequiredStubOrPsiChild, getStub, getStubOrPsiChild, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiChildren, getStubOrPsiParentOfType, isPhysical, isValid, isWritable, setNode, setSubstrateRef
addInternal, addRange, addRangeAfter, addRangeBefore, checkDelete, copy, deleteChildInternal, findChildByFilter, findChildByType, findChildByType, findChildrenByType, findChildrenByType, findChildrenByType, findChildrenByType, findElementAt, findLastChildByType, findNotNullChildByType, findNotNullChildByType, getCopyableUserData, getFirstChild, getLastChild, getNextSibling, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextRange, putCopyableUserData, replaceChildInternal, textContains, textMatches, textToCharArray
canNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getNavigationElement, getReference, getReferences, getResolveScope, navigate, notNullChild, textMatches
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findFieldByName, findInnerClassByName, findMethodBySignature, findMethodsAndTheirSubstitutorsByName, findMethodsByName, findMethodsByName, findMethodsBySignature, getAllFields, getAllInnerClasses, getAllMethods, getAllMethodsAndTheirSubstitutors, getClassKind, getConstructors, getContainingClass, getExtendsListTypes, getFields, getImplementsListTypes, getInitializers, getInnerClasses, getInterfaces, getInterfaceTypes, getLBrace, getMethods, getRBrace, getRecordComponents, getRecordHeader, getScope, getSuperClass, getSuperClassType, getSupers, getVisibleSignatures, isInheritor, isInheritorDeep, isRecord, setName
getIdentifyingElement
isDeprecated
getDocComment
getTypeParameters, hasTypeParameters
getName, getPresentation
canNavigate, canNavigateToSource, navigate
getAnnotation, getAnnotations, getSourceElement, hasAnnotation, hasModifier
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, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray
getUserData, putUserData
getName
getNavigationElement
isWritable
getName
getElementType, getStub
public PsiEnumConstantInitializerImpl(PsiClassStub stub)
public PsiEnumConstantInitializerImpl(ASTNode node)
protected java.lang.Object clone()
clone
in class PsiClassImpl
public void subtreeChanged()
subtreeChanged
in class PsiClassImpl
public PsiExpressionList getArgumentList()
PsiAnonymousClass
getArgumentList
in interface PsiAnonymousClass
public boolean isInQualifiedNew()
isInQualifiedNew
in interface PsiAnonymousClass
public PsiJavaCodeReferenceElement getBaseClassReference()
PsiAnonymousClass
getBaseClassReference
in interface PsiAnonymousClass
public PsiEnumConstant getEnumConstant()
PsiEnumConstantInitializer
getEnumConstant
in interface PsiEnumConstantInitializer
public PsiClassType getBaseClassType()
PsiAnonymousClass
getBaseClassType
in interface PsiAnonymousClass
public PsiIdentifier getNameIdentifier()
PsiClass
getNameIdentifier
in interface PsiClass
getNameIdentifier
in interface PsiNameIdentifierOwner
getNameIdentifier
in class PsiClassImpl
public java.lang.String getQualifiedName()
PsiClass
getQualifiedName
in interface JvmClass
getQualifiedName
in interface PsiClass
getQualifiedName
in interface PsiQualifiedNamedElement
getQualifiedName
in class PsiClassImpl
Class.getCanonicalName()
public PsiModifierList getModifierList()
PsiModifierListOwner
getModifierList
in interface PsiModifierListOwner
getModifierList
in class PsiClassImpl
public boolean hasModifierProperty(java.lang.String name)
PsiModifierListOwner
PsiModifier
class.hasModifierProperty
in interface PsiModifierListOwner
hasModifierProperty
in class PsiClassImpl
name
- the name of the modifier to check.public PsiReferenceList getExtendsList()
PsiClass
getExtendsList
in interface PsiClass
getExtendsList
in class PsiClassImpl
public PsiReferenceList getImplementsList()
PsiClass
getImplementsList
in interface PsiClass
getImplementsList
in class PsiClassImpl
public PsiClassType [] getSuperTypes()
PsiClass
getSuperTypes
in interface PsiClass
getSuperTypes
in class PsiClassImpl
public boolean isInterface()
PsiClass
isInterface
in interface PsiClass
isInterface
in class PsiClassImpl
public boolean isAnnotationType()
PsiClass
isAnnotationType
in interface PsiClass
isAnnotationType
in class PsiClassImpl
public boolean isEnum()
PsiClass
isEnum
in interface PsiClass
isEnum
in class PsiClassImpl
public PsiTypeParameterList getTypeParameterList()
PsiTypeParameterListOwner
getTypeParameterList
in interface PsiTypeParameterListOwner
getTypeParameterList
in class PsiClassImpl
public PsiElement getOriginalElement()
PsiElement
this
or substitute a different element if this element does
not belong to the source path or class path. (For example, the original
element for a library source file is the corresponding compiled class file.)getOriginalElement
in interface PsiElement
getOriginalElement
in class PsiClassImpl
public void accept(PsiElementVisitor visitor)
PsiElement
accept
in interface PsiElement
accept
in class PsiClassImpl
visitor
- the visitor to pass the element to.public java.lang.String toString()
PsiElement
toString
in interface PsiElement
toString
in class PsiClassImpl