edu.rice.cs.dynamicjava.symbol
Class JavaLibrary
java.lang.Object
edu.rice.cs.dynamicjava.symbol.JavaLibrary
- All Implemented Interfaces:
- Library
public class JavaLibrary
- extends Object
- implements Library
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaLibrary
public JavaLibrary(ClassLoader loader)
declaredClasses
public Iterable<DJClass> declaredClasses(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 ClassLoader classLoader()
- Description copied from interface:
Library
- Get a class loader for loading the classes in the library.
- Specified by:
classLoader
in interface Library