Class JEnumConstant
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JEnumConstant
A JNode for Enum constants.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the arguments.Returns the class decl.Returns the identifier.int
Returns the modifiers.protected String
Resolves name from name identifier, if available.void
setArguments
(String aString) Sets the arguments.void
setClassBody
(String aBody) Sets the class decl.void
setIdentifier
(JIdentifier anId) Sets the identifier.void
setModifiers
(int aValue) Sets the modifiers.Methods inherited from class com.inductiveautomation.snap.javatree.JNode
addChild, 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
-
JEnumConstant
public JEnumConstant()
-
-
Method Details
-
getModifiers
public int getModifiers()Returns the modifiers. -
setModifiers
public void setModifiers(int aValue) Sets the modifiers. -
getIdentifier
Returns the identifier. -
setIdentifier
Sets the identifier. -
getArguments
Returns the arguments. -
setArguments
Sets the arguments. -
getClassBody
Returns the class decl. -
setClassBody
Sets the class decl. -
getNameImpl
Resolves name from name identifier, if available.- Overrides:
getNameImpl
in classJNode
-