com.sun.tdk.signaturetest.loaders
Class BinaryClassDescrLoader
java.lang.Object
com.sun.tdk.signaturetest.loaders.BinaryClassDescrLoader
- All Implemented Interfaces:
- ClassDescriptionLoader
public class BinaryClassDescrLoader
- extends java.lang.Object
- implements ClassDescriptionLoader
This is subclass of the MemberCollectionBuilder provides searching class
files in the specified class path and loading ClassDescription
created via class file parsing. This class contains cache of the
parsed classes. This cache is changed using LRU algorithm.
Method Summary |
ClassDescription |
load(java.lang.String className)
loads class with the given className |
java.util.List |
loadCalls(java.lang.String name)
|
static void |
warning(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANNOTATION_DEFAULT_VALUES_ON
public static boolean ANNOTATION_DEFAULT_VALUES_ON
BinaryClassDescrLoader
public BinaryClassDescrLoader(Classpath classpath,
java.lang.Integer bufferSize)
- creates new instance.
- Parameters:
classpath
- contains class files.bufferSize
- size of the class cache.
load
public ClassDescription load(java.lang.String className)
throws java.lang.ClassNotFoundException
- loads class with the given className
- Specified by:
load
in interface ClassDescriptionLoader
- Parameters:
className
- className of the class required to be found.
- Throws:
java.lang.ClassNotFoundException
loadCalls
public java.util.List loadCalls(java.lang.String name)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
warning
public static void warning(java.lang.String msg)