Class JImportDecl

java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JImportDecl

public class JImportDecl extends JNode
A Java part for import declaration.
  • Constructor Details

    • JImportDecl

      public JImportDecl()
  • Method Details

    • isStatic

      public boolean isStatic()
      Returns whether import is static.
    • setStatic

      public void setStatic(boolean aValue)
      Sets whether import is static.
    • isInclusive

      public boolean isInclusive()
      Returns whether import is inclusive.
    • setInclusive

      public void setInclusive(boolean aValue)
      Sets whether import is inclusive.
    • getIdentifier

      public JExpr getIdentifier()
      Returns the identifier.
    • setIdentifier

      public void setIdentifier(JExpr anId)
      Sets the identifier.
    • getNameImpl

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