|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The instances of the classes that implements this interface are used to find the fully qualified name of classes and to manage the loading of these classes.
| Method Summary | |
ClassInfo |
addClassInfo(java.lang.String cname,
TypeDeclaration decl)
Adds a type declaration in the class info list |
java.lang.String |
getCurrentPackage()
Returns the current package |
ClassInfo |
lookupClass(java.lang.String cname)
Loads the class info that match the given name in the source file |
ClassInfo |
lookupClass(java.lang.String cname,
ClassInfo cinfo)
Loads the class info that match the given name in the source file |
| Method Detail |
public java.lang.String getCurrentPackage()
public ClassInfo lookupClass(java.lang.String cname)
throws java.lang.ClassNotFoundException
cname - the name of the class to findjava.lang.ClassNotFoundException - if the class cannot be loaded
public ClassInfo lookupClass(java.lang.String cname,
ClassInfo cinfo)
throws java.lang.ClassNotFoundException
cname - the name of the class to findcinfo - the context where 'cname' was foundjava.lang.ClassNotFoundException - if the class cannot be loaded
public ClassInfo addClassInfo(java.lang.String cname,
TypeDeclaration decl)
cname - the name of the classdecl - the type declaration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||