|
Compiler Tree API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Scope | |
---|---|
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). |
Uses of Scope in com.sun.source.tree |
---|
Methods in com.sun.source.tree that return Scope | |
---|---|
Scope |
Scope.getEnclosingScope()
Returns the enclosing scope. |
Uses of Scope in com.sun.source.util |
---|
Methods in com.sun.source.util that return Scope | |
---|---|
abstract Scope |
Trees.getScope(TreePath path)
Gets the Scope for the Tree node identified by a given TreePath. |
Methods in com.sun.source.util with parameters of type Scope | |
---|---|
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. |
|
Compiler Tree API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.