//: annotations/InterfaceExtractorProcessorFactory.java // APT-based annotation processing. package annotations; import com.sun.mirror.apt.*; import com.sun.mirror.declaration.*; import java.util.*; public class InterfaceExtractorProcessorFactory implements AnnotationProcessorFactory { public AnnotationProcessor getProcessorFor( Set atds, AnnotationProcessorEnvironment env) { return new InterfaceExtractorProcessor(env); } public Collection supportedAnnotationTypes() { return Collections.singleton("annotations.ExtractInterface"); } public Collection supportedOptions() { return Collections.emptySet(); } } ///:~