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