KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > types > ClassResolver


1 package polyglot.types;
2
3 /**
4  * ClassResolver
5  *
6  * Overview:
7  * A ClassResolver is responsible for taking in the name of a class and
8  * returning a ClassType corresponding to that name.
9  *
10  * Differing concrete implementations of ClassResolver may obey
11  * slightly different contracts in terms of which names they
12  * accept; it is the responsibility of the user to make sure they
13  * have one whose behavior is reasonable.
14  */

15 public abstract class ClassResolver implements Resolver {
16     /**
17      * Find a type by name.
18      */

19     public abstract Named find(String JavaDoc name) throws SemanticException;
20 }
21
Popular Tags