String className = klass.getName();
try {
ClassLoader loader = klass.getClassLoader();
if (loader != null) {
// TODO: use factory
extractor = new BcelAttributeExtractor();
extractor.initialize(className, klass.getClassLoader());
m_extractorCache.put(klass, extractor);
} else {
// bootstrap classloader
extractor = new BcelAttributeExtractor();
extractor.initialize(className, ClassLoader.getSystemClassLoader());
m_extractorCache.put(klass, extractor);
}
}
catch (Exception e) {