Skip navigation links 
 
javax.ide.model.java.source.tree
Interface EnumConstantT
- All Superinterfaces:
 
- HasModifiersT, HasNameT, MemberT, MemberVariableT, Tree, VariableT
 
- 
public interface EnumConstantT
 
- extends MemberVariableT
 
A field (or enum constant) variable.
 
 
  
 
 
 
 
| Methods inherited from interface javax.ide.model.java.source.tree.HasModifiersT | 
addModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiers | 
 
 
| Methods inherited from interface javax.ide.model.java.source.tree.Tree | 
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty | 
 
 
getArguments
ListExpressionT getArguments()
- Gets the constructor invocation arguments if this is an enum constant.
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.
 
- 
- Returns:
 
- Gets the argument list defined on this enum constant, null if none.
 
 
setArguments
void setArguments(ListExpressionT arguments)
- Attempts to set the argument list.
 
getAnonymousClass
ClassT getAnonymousClass()
- Gets the anonymous class if one was defined.
 
- 
- Returns:
 
- Gets the anonymous class defined for this enum constant, null if none, null if not an enum constant.
 
 
setAnonymousClass
void setAnonymousClass(ClassT anonymousClass)
- Attempts to set the anonymous class.
 
Skip navigation links 
 
Copyright © 1997, 2011, Oracle. All rights reserved.