public interface SourceEnumConstant extends SourceMemberVariable
EMPTY_ARRAYPRINT_DECLARATION, PRINT_FIELD_NAME, PRINT_TYPECHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description | 
|---|---|
SourceClass | 
getAnonymousClass()
Gets the anonymous class if one was defined. 
 | 
SourceListExpression | 
getArguments()
Gets the constructor invocation arguments, null if none. 
 | 
JavaMethod | 
getCompiledObject()
Calls resolve() implicitly and determines the constructor of this
 Enum constant. 
 | 
JavaMethod | 
getResolvedConstructor()
Get the constructor used to construct this enum constant. 
 | 
void | 
setAnonymousClass(SourceClass anonymousClass)
Attempts to set the anonymous class. 
 | 
void | 
setArguments(SourceListExpression arguments)
Attempts to set the argument list. 
 | 
isEnumConstantgetEnclosingClass, hasDeprecatedTag, hasHiddenTaggetDocComment, setDocCommentgetInitializer, getOwningDeclaration, separateSelf, setInitializeraddModifiers, getModifiers, getSourceAnnotations, hasSourceAnnotation, isValidModifiers, removeModifiers, setModifiersgetName, getNameElement, setName, setNameElementgetSourceType, setSourceTypeaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfgetDescriptor, getFieldErasure, getSignature, getSourceElementgetOwningClass, getUniqueIdentifier, isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetConstantValue, isVarargsgetResolvedType, getUnresolvedTypegetNamegetAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations, hasAnnotation, hasDeclaredAnnotationgetElementKind, getFile, getModifiers, getOwner, isDeprecated, isFinal, isHidden, isMandated, isSourceElement, isSynthetic, printCompiledInfoJavaMethod getResolvedConstructor()
SourceListExpression getArguments()
If no arguments were declared, then null will be returned. If this were to return a skeleton (placeholder) argument list, then there would be no way to either force the empty argument list to be shown or hidden. Therefore, this does not return a skeleton (placeholder) argument list.
void setArguments(SourceListExpression arguments)
SourceClass getAnonymousClass()
void setAnonymousClass(SourceClass anonymousClass)
JavaMethod getCompiledObject()
getCompiledObject in interface SourceElement