edu.rice.cs.dynamicjava.symbol
Class Java5Library

java.lang.Object
  extended by edu.rice.cs.dynamicjava.symbol.Java5Library
All Implemented Interfaces:
Library

public class Java5Library
extends java.lang.Object
implements Library


Constructor Summary
Java5Library(java.lang.ClassLoader loader)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java5Library

public Java5Library(java.lang.ClassLoader loader)
Method Detail

declaredClasses

public java.lang.Iterable<DJClass> declaredClasses(java.lang.String fullName)
Description copied from interface: Library
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.

Specified by:
declaredClasses in interface Library

classLoader

public java.lang.ClassLoader classLoader()
Description copied from interface: Library
Get a class loader for loading the classes in the library.

Specified by:
classLoader in interface Library