Back to project page GenDbHandler.
The source code is released under:
Open Data Commons ? Public Domain Dedication & Licence (PDDL) Preamble The Open Data Commons ? Public Domain Dedication & Licence is a document intended to allow you to freely share, modify, an...
If you think the Android project GenDbHandler listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.cattaka.util.genparcelfunc; // w ww . j a v a 2 s.c om import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Set; import com.sun.mirror.apt.AnnotationProcessor; import com.sun.mirror.apt.AnnotationProcessorEnvironment; import com.sun.mirror.apt.AnnotationProcessorFactory; import com.sun.mirror.declaration.AnnotationTypeDeclaration; public class GenParcelFuncAnnotationProcessorFactory implements AnnotationProcessorFactory { public Collection<String> supportedOptions() { return Collections.emptyList(); } public Collection<String> supportedAnnotationTypes() { return annotations; } public AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env) { return new GenParcelFuncAnnotationProcessor(env); } private static ArrayList<String> annotations = new ArrayList<String>(); { annotations.add(GenParcelFunc.class.getName()); } }