langtools/src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
changeset 2981 76ea6ddc4f72
parent 1789 7ac8c0815000
child 3149 0cd06d598d6f
equal deleted inserted replaced
2980:f391c41bae7e 2981:76ea6ddc4f72
    53 import com.sun.source.util.TaskEvent;
    53 import com.sun.source.util.TaskEvent;
    54 import com.sun.source.util.TaskListener;
    54 import com.sun.source.util.TaskListener;
    55 import com.sun.tools.javac.api.JavacTaskImpl;
    55 import com.sun.tools.javac.api.JavacTaskImpl;
    56 import com.sun.tools.javac.code.*;
    56 import com.sun.tools.javac.code.*;
    57 import com.sun.tools.javac.code.Symbol.*;
    57 import com.sun.tools.javac.code.Symbol.*;
    58 import com.sun.tools.javac.file.Paths;
       
    59 import com.sun.tools.javac.file.JavacFileManager;
    58 import com.sun.tools.javac.file.JavacFileManager;
    60 import com.sun.tools.javac.jvm.*;
    59 import com.sun.tools.javac.jvm.*;
    61 import com.sun.tools.javac.main.JavaCompiler;
    60 import com.sun.tools.javac.main.JavaCompiler;
    62 import com.sun.tools.javac.model.JavacElements;
    61 import com.sun.tools.javac.model.JavacElements;
    63 import com.sun.tools.javac.model.JavacTypes;
    62 import com.sun.tools.javac.model.JavacTypes;
   178         platformAnnotations.add("java.lang.annotation.Target");
   177         platformAnnotations.add("java.lang.annotation.Target");
   179         return Collections.unmodifiableSet(platformAnnotations);
   178         return Collections.unmodifiableSet(platformAnnotations);
   180     }
   179     }
   181 
   180 
   182     private void initProcessorIterator(Context context, Iterable<? extends Processor> processors) {
   181     private void initProcessorIterator(Context context, Iterable<? extends Processor> processors) {
   183         Paths paths = Paths.instance(context);
       
   184         Log   log   = Log.instance(context);
   182         Log   log   = Log.instance(context);
   185         Iterator<? extends Processor> processorIterator;
   183         Iterator<? extends Processor> processorIterator;
   186 
   184 
   187         if (options.get("-Xprint") != null) {
   185         if (options.get("-Xprint") != null) {
   188             try {
   186             try {