wro4j-core/src/main/java/ro/isdc/wro/model/group/processor/Injector.java
private boolean acceptAnnotatedField(final Object object, final Field field)
      throws IllegalAccessException {
    boolean accept = false;
    // accept private modifiers
    field.setAccessible(true);
    for (final Map.Entry<Class<?>, Object> entry : map.entrySet()) {
      if (entry.getKey().isAssignableFrom(field.getType())) {
        Object value = entry.getValue();
        // treat factories as a special case for lazy load of the objects.
        if (value instanceof InjectorObjectFactory) {
          value = ((InjectorObjectFactory<?>) value).create();
          inject(value);
        }
        field.set(object, value);
        accept = true;
        break;
      }
    }
    return accept;
  }
private boolean acceptAnnotatedField(final Object object, final Field field)
      throws IllegalAccessException {
    boolean accept = false;
    // accept private modifiers
    field.setAccessible(true);
    for (final Map.Entry<Class<?>, Object> entry : map.entrySet()) {
      if (entry.getKey().isAssignableFrom(field.getType())) {
        Object value = entry.getValue();
        // treat factories as a special case for lazy load of the objects.
        if (value instanceof InjectorObjectFactory) {
          value = ((InjectorObjectFactory<?>) value).create();
          inject(value);
        }
        field.set(object, value);
        accept = true;
        break;
      }
    }
    return accept;
  }
private boolean acceptAnnotatedField ( final Object object , final Field field ) throws IllegalAccessException { boolean accept = false ; // accept private modifiers
 field . setAccessible ( true ) ; for ( final Map . Entry < Class < ? > , Object > entry : map . entrySet ( ) ) { if ( entry . getKey ( ) . isAssignableFrom ( field . getType ( ) ) ) { Object value = entry . getValue ( ) ; // treat factories as a special case for lazy load of the objects.
 if ( value instanceof InjectorObjectFactory ) { value = ( ( InjectorObjectFactory < ? > ) value ) . create ( ) ; inject ( value ) ; } field . set ( object , value ) ; accept = true ; break ; } } return accept ; }
Analyze the field containing {@link Inject} annotation and set its value to appropriate value. Override this method
if you want to inject something else but uriLocatorFactory.

@param object
an object containing @Inject annotation.
@param field
{@link Field} object containing {@link Inject} annotation.
@return true if field was injected with some not null value.
@throws IllegalAccessException
Analyze the field containing { @link Inject } annotation and set its value to appropriate value . Override this method if you want to inject something else but uriLocatorFactory .