org.codehaus.janino
Class ResourceFinderIClassLoader
java.lang.Object
org.codehaus.janino.IClassLoader
org.codehaus.janino.ResourceFinderIClassLoader
- public class ResourceFinderIClassLoader
- extends IClassLoader
This IClassLoader
loads IClasses through a
a ResourceFinder
that designates
ClassFile
s.
Method Summary |
protected IClass |
findIClass(String descriptor)
Find a new IClass by descriptor; return null if a class
for that descriptor could not be found. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFinderIClassLoader
public ResourceFinderIClassLoader(ResourceFinder resourceFinder,
IClassLoader optionalParentIClassLoader)
findIClass
protected IClass findIClass(String descriptor)
- Description copied from class:
IClassLoader
- Find a new
IClass
by descriptor; return null
if a class
for that descriptor
could not be found.
Like ClassLoader.findClass(String)
, this method
must
The format of a descriptor
is defined in JVMS 4.3.2. Typical
descriptors are:
I
(Integer)
Lpkg1/pkg2/Cls;
(Class declared in package)
Lpkg1/pkg2/Outer$Inner;
Member class
Notice that this method is never called for array types.
Notice that this method is never called from more than one thread at a time.
In other words, implementations of this method need not be synchronized.
- Specified by:
findIClass
in class IClassLoader