equal
deleted
inserted
replaced
72 private String[] args; |
72 private String[] args; |
73 private String[] classNames; |
73 private String[] classNames; |
74 private List<JavaFileObject> fileObjects; |
74 private List<JavaFileObject> fileObjects; |
75 private Map<JavaFileObject, JCCompilationUnit> notYetEntered; |
75 private Map<JavaFileObject, JCCompilationUnit> notYetEntered; |
76 private ListBuffer<Env<AttrContext>> genList; |
76 private ListBuffer<Env<AttrContext>> genList; |
77 private AtomicBoolean used = new AtomicBoolean(); |
77 private final AtomicBoolean used = new AtomicBoolean(); |
78 private Iterable<? extends Processor> processors; |
78 private Iterable<? extends Processor> processors; |
79 |
79 |
80 private Main.Result result = null; |
80 private Main.Result result = null; |
81 |
81 |
82 JavacTaskImpl(Main compilerMain, |
82 JavacTaskImpl(Main compilerMain, |
97 args.getClass(); |
97 args.getClass(); |
98 fileObjects.getClass(); |
98 fileObjects.getClass(); |
99 } |
99 } |
100 |
100 |
101 JavacTaskImpl(Main compilerMain, |
101 JavacTaskImpl(Main compilerMain, |
102 Iterable<String> flags, |
102 Iterable<String> args, |
103 Context context, |
103 Context context, |
104 Iterable<String> classes, |
104 Iterable<String> classes, |
105 Iterable<? extends JavaFileObject> fileObjects) { |
105 Iterable<? extends JavaFileObject> fileObjects) { |
106 this(compilerMain, toArray(flags), toArray(classes), context, toList(fileObjects)); |
106 this(compilerMain, toArray(args), toArray(classes), context, toList(fileObjects)); |
107 } |
107 } |
108 |
108 |
109 static private String[] toArray(Iterable<String> iter) { |
109 static private String[] toArray(Iterable<String> iter) { |
110 ListBuffer<String> result = new ListBuffer<String>(); |
110 ListBuffer<String> result = new ListBuffer<String>(); |
111 if (iter != null) |
111 if (iter != null) |