Interface ImportTree

All Superinterfaces:
ImportClauseTree, Tree
All Known Implementing Classes:
JavaTree.ImportTreeImpl

@Beta public interface ImportTree extends ImportClauseTree
Import declaration. JLS 7.5
  import qualifiedIdentifier() ;
  import static qualifiedIdentifier() ;
Since:
Java 1.3
  • Method Details

    • isStatic

      boolean isStatic()
      Since:
      Java 1.5
    • isModule

      boolean isModule()
      Since:
      Java 25
    • importKeyword

      SyntaxToken importKeyword()
    • staticKeyword

      @Nullable SyntaxToken staticKeyword()
    • moduleKeyword

      @Nullable SyntaxToken moduleKeyword()
    • qualifiedIdentifier

      Tree qualifiedIdentifier()
    • semicolonToken

      SyntaxToken semicolonToken()
    • symbol

      @Nullable Symbol symbol()