インタフェースcom.sun.source.tree.Scope
の使用
-
Scopeを使用するパッケージ パッケージ 説明 com.sun.source.tree ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.treeでのScopeの使用
Scopeを返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 Scope
Scope. getEnclosingScope()
囲むスコープを返します。 -
com.sun.source.utilでのScopeの使用
Scopeを返すcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 abstract Scope
Trees. getScope(TreePath path)
指定されたTreePathによって識別されるTreeノードのScopeを返します。Scope型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 abstract boolean
Trees. isAccessible(Scope scope, Element member, DeclaredType type)
指定されたスコープ内で、指定された要素が、指定された型のメンバーとしてアクセス可能であるかどうかを判定します。abstract boolean
Trees. isAccessible(Scope scope, TypeElement type)
指定されたスコープ内で、指定された型にアクセス可能であるかどうかを判定します。
-