Class JEnumConstant
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JEnumConstant
A JNode for Enum constants.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the arguments.Returns the class decl.Returns the identifier.intReturns the modifiers.protected StringResolves name from name identifier, if available.voidsetArguments(String aString) Sets the arguments.voidsetClassBody(String aBody) Sets the class decl.voidsetIdentifier(JIdentifier anId) Sets the identifier.voidsetModifiers(int aValue) Sets the modifiers.Methods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
- 
Constructor Details- 
JEnumConstantpublic JEnumConstant()
 
- 
- 
Method Details- 
getModifierspublic int getModifiers()Returns the modifiers.
- 
setModifierspublic void setModifiers(int aValue) Sets the modifiers.
- 
getIdentifierReturns the identifier.
- 
setIdentifierSets the identifier.
- 
getArgumentsReturns the arguments.
- 
setArgumentsSets the arguments.
- 
getClassBodyReturns the class decl.
- 
setClassBodySets the class decl.
- 
getNameImplResolves name from name identifier, if available.- Overrides:
- getNameImplin class- JNode
 
 
-