接口的使用
com.sun.source.tree.Scope
使用 Scope 的包
-
Scope 在 com.sun.source.tree 中的用法
com.sun.source.tree 中返回 Scope 的方法 -
Scope 在 com.sun.source.util 中的用法
com.sun.source.util 中返回 Scope 的方法com.sun.source.util 中的方法,参数类型为 Scope修饰符和类型方法描述abstract booleanTrees.isAccessible(Scope scope, Element member, DeclaredType type) 检查给定元素是否可以作为给定范围内给定类型的成员访问。abstract booleanTrees.isAccessible(Scope scope, TypeElement type) 检查给定类型在给定范围内是否可访问。