Class JEnumConstant
- java.lang.Object
- 
- com.inductiveautomation.snap.javatree.JNode
- 
- com.inductiveautomation.snap.javatree.JEnumConstant
 
 
- 
 public class JEnumConstant extends JNode A JNode for Enum constants.
- 
- 
Constructor SummaryConstructors Constructor Description JEnumConstant()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArguments()Returns the arguments.java.lang.StringgetClassBody()Returns the class decl.JIdentifiergetIdentifier()Returns the identifier.intgetModifiers()Returns the modifiers.protected java.lang.StringgetNameImpl()Resolves name from name identifier, if available.voidsetArguments(java.lang.String aString)Sets the arguments.voidsetClassBody(java.lang.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
 
- 
 
- 
- 
- 
Method Detail- 
getModifierspublic int getModifiers() Returns the modifiers.
 - 
setModifierspublic void setModifiers(int aValue) Sets the modifiers.
 - 
getIdentifierpublic JIdentifier getIdentifier() Returns the identifier.
 - 
setIdentifierpublic void setIdentifier(JIdentifier anId) Sets the identifier.
 - 
getArgumentspublic java.lang.String getArguments() Returns the arguments.
 - 
setArgumentspublic void setArguments(java.lang.String aString) Sets the arguments.
 - 
getClassBodypublic java.lang.String getClassBody() Returns the class decl.
 - 
setClassBodypublic void setClassBody(java.lang.String aBody) Sets the class decl.
 - 
getNameImplprotected java.lang.String getNameImpl() Resolves name from name identifier, if available.- Overrides:
- getNameImplin class- JNode
 
 
- 
 
-