1 package spoon.processing; 2 3 import java.lang.annotation.Annotation ; 4 import java.util.Set ; 5 6 import spoon.reflect.declaration.CtElement; 7 8 15 public interface AnnotationProcessor<A extends Annotation , E extends CtElement> 16 extends Processor<E> { 17 18 24 void process(A annotation, E element); 25 26 35 Set <Class <? extends A>> getProcessedAnnotationTypes(); 36 37 45 Set <Class <? extends A>> getConsumedAnnotationTypes(); 46 47 51 boolean inferConsumedAnnotationType(); 52 53 } 54 | Popular Tags |