w.setErrorLog(new ErrorLogImpl(new DefaultErrorHandler(), LOG));
EnhancementOperationImpl op = new EnhancementOperationImpl(_classResolver,
new ComponentSpecification(), inputClass, _classFactory);
w.performEnhancement(op, null);
return op.getConstructor();
}
private ComponentConstructor getComponentConstructor(Class inputClass)