1 7 8 package com.sun.mirror.apt; 9 10 11 import java.util.Collection ; 12 import java.util.Map ; 13 14 import com.sun.mirror.declaration.*; 15 import com.sun.mirror.util.*; 16 17 18 38 39 public interface AnnotationProcessorEnvironment { 40 41 54 Map <String ,String > getOptions(); 55 56 62 Messager getMessager(); 63 64 70 Filer getFiler(); 71 72 73 74 81 Collection <TypeDeclaration> getSpecifiedTypeDeclarations(); 82 83 90 PackageDeclaration getPackage(String name); 91 92 99 TypeDeclaration getTypeDeclaration(String name); 100 101 109 Collection <TypeDeclaration> getTypeDeclarations(); 110 111 123 Collection <Declaration> getDeclarationsAnnotatedWith( 124 AnnotationTypeDeclaration a); 125 126 132 Declarations getDeclarationUtils(); 133 134 140 Types getTypeUtils(); 141 142 149 void addListener(AnnotationProcessorListener listener); 150 151 152 159 void removeListener(AnnotationProcessorListener listener); 160 } 161 | Popular Tags |