/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/decorator/ImportAwareProcessorDecorator.java
super ( processor ) ; Validate.notNull ( processingType ) ;
import ro.isdc.wro.model.resource.Resource; import ro.isdc.wro.model.resource.processor.support.ProcessingType; public class ImportAwareProcessorDecorator extends ProcessorDecorator { private final ProcessingType processingType; public ImportAwareProcessorDecorator(final Object processor, final ProcessingType processingType) { <extra_id_0> this.processingType = processingType; } @Override protected boolean isEnabled(final Resource resource) { return super.isEnabled(resource) && isApplicable(); }