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 Details

    • JEnumConstant

      public JEnumConstant()
  • Method Details

    • getModifiers

      public int getModifiers()
      Returns the modifiers.
    • setModifiers

      public void setModifiers(int aValue)
      Sets the modifiers.
    • getIdentifier

      public JIdentifier getIdentifier()
      Returns the identifier.
    • setIdentifier

      public void setIdentifier(JIdentifier anId)
      Sets the identifier.
    • getArguments

      public String getArguments()
      Returns the arguments.
    • setArguments

      public void setArguments(String aString)
      Sets the arguments.
    • getClassBody

      public String getClassBody()
      Returns the class decl.
    • setClassBody

      public void setClassBody(String aBody)
      Sets the class decl.
    • getNameImpl

      protected String getNameImpl()
      Resolves name from name identifier, if available.
      Overrides:
      getNameImpl in class JNode