/wro4j-core/src/main/java/ro/isdc/wro/util/ProxyFactory.java
notNull ( genericType ) ; this.objectFactory = objectFactory;
private final TypedObjectFactory<T> objectFactory; public static interface TypedObjectFactory <T> extends ObjectFactory<T> { Class<? extends T> getObjectClass(); } private ProxyFactory(final TypedObjectFactory<T> objectFactory, final Class<T> genericType) { notNull(objectFactory); <extra_id_0> this.genericType = genericType; } public static <T> T proxy(final TypedObjectFactory<T> objectFactory, final Class<T> genericType) { try { return new ProxyFactory<T>(objectFactory, genericType).create(); } catch (final RuntimeException e) {