Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
Modifier and Type | Method | Description |
---|---|---|
Scope |
Scope.getEnclosingScope() |
Returns the enclosing scope.
|
Modifier and Type | Method | Description |
---|---|---|
abstract Scope |
Trees.getScope(TreePath path) |
Returns the Scope for the Tree node identified by a given TreePath.
|
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
Trees.isAccessible(Scope scope,
Element member,
DeclaredType type) |
Checks whether the given element is accessible as a member of the given
type in a given scope.
|
abstract boolean |
Trees.isAccessible(Scope scope,
TypeElement type) |
Checks whether a given type is accessible in a given scope.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2