public interface EnumConstantT extends MemberVariableT
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
ClassT |
getAnonymousClass()
Gets the anonymous class if one was defined.
|
ListExpressionT |
getArguments()
Gets the constructor invocation arguments if this is an enum
constant.
|
void |
setAnonymousClass(ClassT anonymousClass)
Attempts to set the anonymous class.
|
void |
setArguments(ListExpressionT arguments)
Attempts to set the argument list.
|
getBlock, getDeclaringClass, getDocComment, setBlock, setDocCommentgetInitializer, getOwningDeclaration, getType, setInitializer, setTypeaddModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiersgetName, getNameElement, setName, setNameElementaccept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setPropertyListExpressionT 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(ListExpressionT arguments)
ClassT getAnonymousClass()
void setAnonymousClass(ClassT anonymousClass)