polyglot.types
Class AbstractAccessControlResolver

java.lang.Object
  extended by polyglot.types.AbstractAccessControlResolver
All Implemented Interfaces:
AccessControlResolver, Resolver
Direct Known Subclasses:
ClassContextResolver, PackageContextResolver

public abstract class AbstractAccessControlResolver
extends java.lang.Object
implements AccessControlResolver

ClassResolver Overview: A ClassResolver is responsible for taking in the name of a class and returning a ClassType corresponding to that name. Differing concrete implementations of ClassResolver may obey slightly different contracts in terms of which names they accept; it is the responsibility of the user to make sure they have one whose behavior is reasonable.


Field Summary
protected  TypeSystem ts
           
 
Constructor Summary
AbstractAccessControlResolver(TypeSystem ts)
           
 
Method Summary
 Named find(java.lang.String name)
          Find a type object by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface polyglot.types.AccessControlResolver
find
 

Field Detail

ts

protected TypeSystem ts
Constructor Detail

AbstractAccessControlResolver

public AbstractAccessControlResolver(TypeSystem ts)
Method Detail

find

public final Named find(java.lang.String name)
                 throws SemanticException
Description copied from interface: Resolver
Find a type object by name.

Specified by:
find in interface Resolver
Throws:
SemanticException