edu.rice.cs.dynamicjava.symbol
Interface Library

All Known Implementing Classes:
Java5Library, JavaLibrary, TreeLibrary

public interface Library

A collection of class and interface declarations. These declarations may contain mutually recursive references to each other.


Method Summary
 java.lang.ClassLoader classLoader()
          Get a class loader for loading the classes in the library.
 java.lang.Iterable<DJClass> declaredClasses(java.lang.String fullName)
          Get any top-level classes with the given fully-qualified name.
 

Method Detail

declaredClasses

java.lang.Iterable<DJClass> declaredClasses(java.lang.String fullName)
Get any top-level classes with the given fully-qualified name. Typically, there should be exactly one result. If the class is not defined, returns an empty list. If multiple classes have the given name, returns all of them.


classLoader

java.lang.ClassLoader classLoader()
Get a class loader for loading the classes in the library.