Lines Matching refs:options

72     /** For testing: enter any options you want to be set implicitly
162 /** For javac-only options, print nothing.
181 options.put(option, arg);
294 options.put("-g:", "none");
305 options.put("-g:", suboptions);
310 options.put(opt, opt);
328 options.put("-Xlint:", suboptions);
333 options.put(opt, opt);
345 options.put("-Xlint:deprecation", option);
359 options.remove("-Xbootclasspath/p:");
360 options.remove("-Xbootclasspath/a:");
368 options.remove("-Xbootclasspath/p:");
369 options.remove("-Xbootclasspath/a:");
522 options.put("-Xlint:unchecked", option);
529 options.put("-Xlint:switchcheck", option);
579 options.put(key, value);
589 (options.get("-XclassesAsDecls") != null);
595 } else if (options.get("-XclassesAsDecls") != null) {
618 /** A table of all options that's passed to the JavaCompiler constructor. */
619 private Options options = null;
671 /** Print a string that explains usage for X options.
695 /** Process command line arguments: store all command line options
696 * in `options' table and return all source filenames.
731 String sourceString = options.get("-source");
735 String targetString = options.get("-target");
758 options.put("-target", source.requiredTarget().name);
773 options = Options.instance(context);
777 * Process the command line options to create the intial
778 * options data. This processing is at least partially reused
798 if (options.get("suppress-tool-api-removal-message") == null) {
806 if (options.get("-help") != null ||
807 options.get("-X") != null)
839 boolean classesAsDecls = options.get("-XclassesAsDecls") != null;
860 * Record original options for future annotation processor
863 origOptions = new HashMap<String, String>(options.size());
864 for(String s: options.keySet()) {
866 if (s.equals(value = options.get(s)))
878 String sourceDest = options.get("-s");
890 String classDest = options.get("-d");
896 options.put("-classpath", baseClassPath);
904 assert options.get("-classpath") != null;
929 aptclasspath = options.get("-factorypath");
931 aptclasspath = options.get("-classpath");
938 options.get("-factorypath") != null) // same CL even if new class files written
955 newOptions.putAll(options);
957 // populate with old options... don't bother reparsing command line, etc.
979 options = newOptions;
981 if (options.get("-XPrintAptRounds") != null) {
986 out.println("options: " + options);
1007 if (options.get("-nocompile") == null &&
1008 options.get("-print") == null &&
1024 // Null out apt-specific options and don't copy over into
1025 // newArgs. This loop should be a lot faster; the options
1027 // which includes a map from strings to options.
1064 if ((options.get("-XclassesAsDecls") != null) &&
1124 if (options.get("-XclassesAsDecls") != null)
1145 options.get("-Werror") != null && comp.warningCount() != 0)