public class ClsEnumConstantImpl extends ClsFieldImpl implements PsiEnumConstant
ClsElementImpl.InvalidMirrorExceptionIconable.IconFlags, Iconable.LastComputedIconCOMPILED_ELEMENT, NEXT_LINEFLAGS_LOCKED, ICON_PLACEHOLDERARRAY_FACTORY, EMPTY_ARRAYEMPTY_NAVIGATABLE_ELEMENT_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYEMPTY_NAVIGATION_ITEM_ARRAY| Constructor and Description | 
|---|
| ClsEnumConstantImpl(PsiFieldStub stub) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | appendMirrorText(int indentLevel,
                java.lang.StringBuilder buffer) | 
| java.lang.Object | computeConstantValue(java.util.Set<PsiVariable> visitedVars) | 
| PsiExpressionList | getArgumentList()Returns the list of arguments passed to the constructor of the enum type to create the
 instance of the constant. | 
| PsiExpression | getInitializer()Returns the initializer for the variable. | 
| PsiEnumConstantInitializer | getInitializingClass()Returns the class body attached to the enum constant declaration. | 
| PsiEnumConstantInitializer | getOrCreateInitializingClass() | 
| PsiType | getType()Returns the type of the variable. | 
| PsiTypeElement | getTypeElement()Returns the type element declaring the type of the variable. | 
| boolean | hasInitializer()Checks if the variable has an initializer. | 
| boolean | hasModifierProperty(java.lang.String name)Checks if the element has the specified modifier. | 
| PsiMethod | resolveConstructor()Resolves the reference to the called constructor and returns the constructor. | 
| PsiMethod | resolveMethod()Resolves the reference to the called method and returns the method. | 
| JavaResolveResult | resolveMethodGenerics()Resolves the reference to the called method and returns the resolve result
 containing the method and the substitutor for generic type parameters. | 
| void | setMirror(TreeElement element) | 
accept, computeConstantValue, getChildren, getContainingClass, getElementIcon, getModifierList, getNavigationElement, getPresentation, getUseScope, isDeprecated, isEquivalentTo, isVisibilitySupported, normalizeDeclaration, setInitializer, toStringgetDocComment, getName, getNameIdentifier, setNamegetContainingFile, getElementType, getFirstChild, getLastChild, getManager, getNextSibling, getParent, getPrevSibling, getStub, isPhysicaladd, addAfter, addBefore, appendText, appendText, checkAdd, checkDelete, copy, delete, findElementAt, findReferenceAt, getChildren, getIndentSize, getLanguage, getMirror, getNode, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isValid, isWritable, replace, setMirror, setMirrorCheckingType, setMirrorIfPresent, setMirrors, setMirrors, textMatches, textMatches, textToCharArrayacceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, getContext, getOriginalElement, getProject, getReference, getReferences, getResolveScope, navigate, notNullChild, processDeclarations, textContainsbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getNameIdentifier, setInitializergetContainingClassgetAnnotation, getAnnotations, getSourceElement, hasAnnotation, hasModifiercomputeConstantValue, normalizeDeclaration, setNamegetIdentifyingElementgetNavigationElementisWritableisDeprecatedaccept, 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, 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, toStringgetUserData, putUserDatagetPresentationcanNavigate, canNavigateToSource, navigategetDocCommenthasAnnotationpublic ClsEnumConstantImpl(PsiFieldStub stub)
public void appendMirrorText(int indentLevel,
                             java.lang.StringBuilder buffer)
appendMirrorText in class ClsFieldImplpublic void setMirror(TreeElement element) throws ClsElementImpl.InvalidMirrorException
setMirror in class ClsFieldImplClsElementImpl.InvalidMirrorExceptionpublic PsiExpressionList getArgumentList()
PsiEnumConstantgetArgumentList in interface PsiCallgetArgumentList in interface PsiEnumConstantpublic PsiMethod resolveMethod()
PsiCallresolveMethod in interface PsiCallpublic JavaResolveResult resolveMethodGenerics()
PsiCallresolveMethodGenerics in interface PsiCallJavaResolveResult.EMPTY if unresolvedpublic PsiEnumConstantInitializer getInitializingClass()
PsiEnumConstantgetInitializingClass in interface PsiEnumConstantpublic PsiEnumConstantInitializer getOrCreateInitializingClass()
getOrCreateInitializingClass in interface PsiEnumConstantpublic PsiMethod resolveConstructor()
PsiConstructorCallPsiCall.resolveMethod().resolveConstructor in interface PsiConstructorCallpublic PsiType getType()
PsiVariablegetType in interface JvmFieldgetType in interface PsiFieldgetType in interface PsiVariablegetType in class ClsFieldImplField.getGenericType(), 
Field.getAnnotatedType()public PsiTypeElement getTypeElement()
PsiVariablegetTypeElement in interface PsiVariablegetTypeElement in class ClsFieldImplpublic PsiExpression getInitializer()
PsiVariablegetInitializer in interface PsiVariablegetInitializer in class ClsFieldImplPsiVariable.hasInitializer()public boolean hasInitializer()
PsiVariableChecks if the variable has an initializer.
Please note that even when PsiVariable.hasInitializer() returns true, PsiVariable.getInitializer() still can return null,
 e.g. for implicit initializer in case of enum constant declaration.
hasInitializer in interface PsiVariablehasInitializer in class ClsFieldImplpublic boolean hasModifierProperty(java.lang.String name)
PsiModifierListOwnerPsiModifier class.hasModifierProperty in interface PsiModifierListOwnerhasModifierProperty in class ClsFieldImplname - the name of the modifier to check.public java.lang.Object computeConstantValue(java.util.Set<PsiVariable> visitedVars)
computeConstantValue in interface PsiVariableExcomputeConstantValue in class ClsFieldImpl