private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
public static long optionKeyToIrritant(String optionName) { if (OptionToIrritants == null) { Map temp = new HashMap(); int group = 0; for (int g = 0; g < 8; g++) { group <<= 1; int index = 0; for (int i = 0; i < 30; i++) { index <<= 1; int irritant = (group<<IrritantSet.GROUP_SHIFT)+index; String optionKey = optionKeyFromIrritant(irritant); if (optionKey == null) continue; temp.put(optionKey, new Integer(irritant)); } } OptionToIrritants = temp; } Long irritant = (Long)OptionToIrritants.get(optionName); return irritant == null ? 0 : irritant.longValue(); }
private String getProblemOptionKey(int problemID) { int irritant = ProblemReporter.getIrritant(problemID); return CompilerOptions.optionKeyFromIrritant(irritant); }
/** * Returns the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise. Non-null return values are taken from the * constants defined by this class whose names start with * <code>COMPILER_PB</code> and for which the possible values of the * option are defined by <code>{ "error", "warning", "ignore" }</code>. A * null return value means that the provided problem ID is unknown or that * it matches a problem whose severity cannot be configured. * @param problemID one of the problem IDs defined by {@link IProblem} * @return the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise * @since 3.4 */ public static String getOptionForConfigurableSeverity(int problemID) { return CompilerOptions.optionKeyFromIrritant(ProblemReporter.getIrritant(problemID)); }
/** * Returns the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise. Non-null return values are taken from the * constants defined by this class whose names start with * <code>COMPILER_PB</code> and for which the possible values of the * option are defined by <code>{ "error", "warning", "info", "ignore" }</code>. A * null return value means that the provided problem ID is unknown or that * it matches a problem whose severity cannot be configured. * @param problemID one of the problem IDs defined by {@link IProblem} * @return the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise * @since 3.4 */ public static String getOptionForConfigurableSeverity(int problemID) { return CompilerOptions.optionKeyFromIrritant(ProblemReporter.getIrritant(problemID)); }
/** * Returns the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise. Non-null return values are taken from the * constants defined by this class whose names start with * <code>COMPILER_PB</code> and for which the possible values of the * option are defined by <code>{ "error", "warning", "info", "ignore" }</code>. A * null return value means that the provided problem ID is unknown or that * it matches a problem whose severity cannot be configured. * @param problemID one of the problem IDs defined by {@link IProblem} * @return the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise * @since 3.4 */ public static String getOptionForConfigurableSeverity(int problemID) { return CompilerOptions.optionKeyFromIrritant(ProblemReporter.getIrritant(problemID)); }
/** * Returns the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise. Non-null return values are taken from the * constants defined by this class whose names start with * <code>COMPILER_PB</code> and for which the possible values of the * option are defined by <code>{ "error", "warning", "ignore" }</code>. A * null return value means that the provided problem ID is unknown or that * it matches a problem whose severity cannot be configured. * @param problemID one of the problem IDs defined by {@link IProblem} * @return the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise * @since 3.4 */ public static String getOptionForConfigurableSeverity(int problemID) { return CompilerOptions.optionKeyFromIrritant(ProblemReporter.getIrritant(problemID)); }
/** * Returns the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise. Non-null return values are taken from the * constants defined by this class whose names start with * <code>COMPILER_PB</code> and for which the possible values of the * option are defined by <code>{ "error", "warning", "info", "ignore" }</code>. A * null return value means that the provided problem ID is unknown or that * it matches a problem whose severity cannot be configured. * @param problemID one of the problem IDs defined by {@link IProblem} * @return the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise * @since 3.4 */ public static String getOptionForConfigurableSeverity(int problemID) { return CompilerOptions.optionKeyFromIrritant(ProblemReporter.getIrritant(problemID)); }
/** * Returns the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise. Non-null return values are taken from the * constants defined by this class whose names start with * <code>COMPILER_PB</code> and for which the possible values of the * option are defined by <code>{ "error", "warning", "ignore" }</code>. A * null return value means that the provided problem ID is unknown or that * it matches a problem whose severity cannot be configured. * @param problemID one of the problem IDs defined by {@link IProblem} * @return the option that can be used to configure the severity of the * compiler problem identified by <code>problemID</code> if any, * <code>null</code> otherwise * @since 3.4 */ public static String getOptionForConfigurableSeverity(int problemID) { return CompilerOptions.optionKeyFromIrritant(ProblemReporter.getIrritant(problemID)); }
String key = CompilerOptions.optionKeyFromIrritant(id); this.scope.problemReporter().problemNotAnalysed(inits[iToken], key); } else { String key = CompilerOptions.optionKeyFromIrritant(id); this.scope.problemReporter().problemNotAnalysed(value, key); } else {
String key = CompilerOptions.optionKeyFromIrritant(id); this.scope.problemReporter().problemNotAnalysed(inits[iToken], key); } else { String key = CompilerOptions.optionKeyFromIrritant(id); this.scope.problemReporter().problemNotAnalysed(value, key); } else {