if ((extractor = (AttributeExtractor)m_extractorCache.get(klass)) == null) {
String className = klass.getName();
try {
ClassLoader loader = klass.getClassLoader();
if (loader != null) {
extractor = new BcelAttributeExtractor();
// extractor = new AsmAttributeExtractor();
extractor.initialize(className, klass.getClassLoader());
m_extractorCache.put(klass, extractor);
}
else {
// bootstrap classloader
extractor = new BcelAttributeExtractor();
// extractor = new AsmAttributeExtractor();
extractor.initialize(className, ClassLoader.getSystemClassLoader());
m_extractorCache.put(klass, extractor);
}
}