src/share/classes/com/sun/source/tree/ImportTree.java

Print this page




  24  */
  25 
  26 package com.sun.source.tree;
  27 
  28 /**
  29  * A tree node for an import statement.
  30  *
  31  * For example:
  32  * <pre>
  33  *   import <em>qualifiedIdentifier</em> ;
  34  *
  35  *   static import <em>qualifiedIdentifier</em> ;
  36  * </pre>
  37  *
  38  * @jls section 7.5
  39  *
  40  * @author Peter von der Ah&eacute;
  41  * @author Jonathan Gibbons
  42  * @since 1.6
  43  */
  44 @jdk.Supported
  45 public interface ImportTree extends Tree {
  46     boolean isStatic();
  47     /**
  48      * @return a qualified identifier ending in "*" if and only if
  49      * this is an import-on-demand.
  50      */
  51     Tree getQualifiedIdentifier();
  52 }


  24  */
  25 
  26 package com.sun.source.tree;
  27 
  28 /**
  29  * A tree node for an import statement.
  30  *
  31  * For example:
  32  * <pre>
  33  *   import <em>qualifiedIdentifier</em> ;
  34  *
  35  *   static import <em>qualifiedIdentifier</em> ;
  36  * </pre>
  37  *
  38  * @jls section 7.5
  39  *
  40  * @author Peter von der Ah&eacute;
  41  * @author Jonathan Gibbons
  42  * @since 1.6
  43  */
  44 @jdk.Exported
  45 public interface ImportTree extends Tree {
  46     boolean isStatic();
  47     /**
  48      * @return a qualified identifier ending in "*" if and only if
  49      * this is an import-on-demand.
  50      */
  51     Tree getQualifiedIdentifier();
  52 }