Class JImportDecl


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

      • JImportDecl

        public JImportDecl()
    • Method Detail

      • 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 java.lang.String getNameImpl()
        Resolves the name from identifier, if available.
        Overrides:
        getNameImpl in class JNode