polyglot.types
Interface AccessControlResolver

All Superinterfaces:
Resolver
All Known Implementing Classes:
AbstractAccessControlResolver, ClassContextResolver, PackageContextResolver

public interface AccessControlResolver
extends Resolver


Method Summary
 Named find(java.lang.String name, ClassType accessor)
          Find a type object by name, checking if the object is accessible from the accessor class.
 
Methods inherited from interface polyglot.types.Resolver
find
 

Method Detail

find

Named find(java.lang.String name,
           ClassType accessor)
           throws SemanticException
Find a type object by name, checking if the object is accessible from the accessor class. A null accessor indicates no access check should be performed.

Throws:
SemanticException