1 package spoon.processing; 2 3 import java.util.Collection ; 4 5 import spoon.reflect.Factory; 6 import spoon.reflect.declaration.CtElement; 7 8 19 public interface ProcessingManager extends FactoryAccessor { 20 26 public void addProcessor(Class <? extends Processor> type); 27 28 33 public boolean addProcessor(Processor<?> p); 34 35 43 public void addProcessor(String qualifiedName); 44 45 54 public boolean isToBeApplied(Class <? extends Processor> type); 55 56 63 public Collection <Processor> getProcessors(); 64 65 74 public void process(Collection <? extends CtElement> elements); 75 76 84 public void process(CtElement element); 85 86 94 public void process(); 95 96 100 public Processor<?> getCurrentProcessor(); 101 } 102 | Popular Tags |