public IntactAnnotationProcessor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env) { this.atds = atds; this.env = env; this.env.getMessager().printNotice("Starting annotation process"); }
public Declarations getDeclarationUtils() { return delegate.getDeclarationUtils(); }
public void addListener(AnnotationProcessorListener listener) { delegate.addListener(listener); }
public ErrorReceiverImpl(AnnotationProcessorEnvironment env) { this(env.getMessager()); }
public TypeDeclaration findClass(String className, TypeDeclaration referencePoint) { return env.getTypeDeclaration(className); }
/** * Get the writer for the specified java source file. * * @return the writer for the specified java source file. */ public PrintWriter getWriter() throws MissingParameterException, IOException { if (name == null) { throw new MissingParameterException("name"); } AnnotationProcessorEnvironment env = getAnnotationProcessorEnvironment(); return env.getFiler().createSourceFile(name); }
public Collection<com.sun.mirror.declaration.Declaration> getDeclarationsAnnotatedWith(AnnotationTypeDeclaration a) { return delegate.getDeclarationsAnnotatedWith(a); }
public Types getTypeUtils() { return delegate.getTypeUtils(); }
public Filer getFiler() { return delegate.getFiler(); }
public Collection<TypeDeclaration> getTypeDeclarations() { return delegate.getTypeDeclarations(); }
public Collection<TypeDeclaration> getSpecifiedTypeDeclarations() { return delegate.getSpecifiedTypeDeclarations(); }
public PackageDeclaration getPackage(String name) { return delegate.getPackage(name); }
public void removeListener(AnnotationProcessorListener listener) { delegate.removeListener(listener); }
public SanityAnnotationProcessor( Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env ) { this.atds = atds; this.env = env; this.env.getMessager().printNotice( "Starting annotation process" ); }
public Messager getMessager() { return delegate.getMessager(); }
public TypeDeclaration findClass(String className, TypeDeclaration referencePoint) { return env.getTypeDeclaration(className); }
public PotentialThreatProcessor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env) { this.atds = atds; this.env = env; this.env.getMessager().printNotice("Starting annotation process"); }
public ErrorReceiverImpl(AnnotationProcessorEnvironment env) { this(env.getMessager()); }
public TypeDeclaration getTypeDeclaration(String name) { return delegate.getTypeDeclaration(name); }
public MockableProcessor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env ) { this.atds = atds; this.env = env; this.env.getMessager().printNotice("Starting annotation process"); }