Class JFieldDecl


public class JFieldDecl extends JMemberDecl
A JMember for Field declarations.
  • Constructor Details

    • JFieldDecl

      public JFieldDecl()
  • Method Details

    • getType

      public JType getType()
      Returns the field type.
    • setType

      public void setType(JType aType)
      Sets the field type.
    • getVariableDecls

      public List<JVariableDecl> getVariableDecls()
      Returns the VariableDecls.
    • getVariableDeclInside

      public JVariableDecl getVariableDeclInside(String aName)
      Returns a variable with given name.
      Overrides:
      getVariableDeclInside in class JNode
    • getNodeString

      public String getNodeString()
      Returns the part name.
      Overrides:
      getNodeString in class JNode