Uses of Interface
com.sun.source.tree.ImportTree
Packages that use ImportTree
Package
Description
Provides interfaces to represent source code as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
-
Uses of ImportTree in com.sun.source.tree
Methods in com.sun.source.tree that return types with arguments of type ImportTreeModifier and TypeMethodDescriptionList
<? extends ImportTree> CompilationUnitTree.getImports()
Returns the import declarations appearing in this compilation unit, or an empty list if there are no import declarations.Methods in com.sun.source.tree with parameters of type ImportTreeModifier and TypeMethodDescriptionTreeVisitor.visitImport
(ImportTree node, P p) Visits anImportTree
node. -
Uses of ImportTree in com.sun.source.util
Methods in com.sun.source.util with parameters of type ImportTreeModifier and TypeMethodDescriptionSimpleTreeVisitor.visitImport
(ImportTree node, P p) Visits anImportTree
node.TreeScanner.visitImport
(ImportTree node, P p) Visits anImportTree
node.