/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/js/AbstractNodeWithFallbackProcessor.java
processor = createFallbackProcessor( ) ;
processor = new ProcessorDecorator ( processor ) .isSupported ( ) ? processor: createFallbackProcessor ( ) ;
@Inject private Injector injector; private final DestroyableLazyInitializer<ResourcePreProcessor> processorInitializer = new DestroyableLazyInitializer<ResourcePreProcessor>() { @Override protected ResourcePreProcessor initialize() { processor = createNodeProcessor(); <extra_id_0> injector.inject(processor); return processor; } }; private ResourcePreProcessor processor; protected abstract ResourcePreProcessor createNodeProcessor();