/** * Enable or disable deprecation warnings. * @param showWarnings - if true, deprecation warnings * will appear in the filtered diagnostics. */ private void setShowDeprecationWarnings(boolean showWarnings) { setShowProblemByClass(AbstractDeprecatedAPIProblem.class, showWarnings); setShowProblemByClass(DeprecatedConfigurationOptionProblem.class, showWarnings); }
/** * Enable or disable strict semantics mode diagnostics. * @param isStrict - if true, strict semantics mode * diagnostics will appear in the filtered diagnostics. */ private void setShowStrictSemantics(boolean isStrict) { setShowProblemByClass(StrictSemanticsProblem.class, isStrict); }
/** * Enable or disable semantic warnings. * @param showWarnings - if true, semantic warnings * will appear in the filtered diagnostics. */ private void setShowWarnings(boolean showWarnings) { setShowProblemByClass(SemanticWarningProblem.class, showWarnings); }
/** * Enable or disable semantic warnings. * @param showWarnings - if true, semantic warnings * will appear in the filtered diagnostics. */ private void setShowWarnings(boolean showWarnings) { setShowProblemByClass(SemanticWarningProblem.class, showWarnings); }
/** * Enable or disable strict semantics mode diagnostics. * @param isStrict - if true, strict semantics mode * diagnostics will appear in the filtered diagnostics. */ private void setShowStrictSemantics(boolean isStrict) { setShowProblemByClass(StrictSemanticsProblem.class, isStrict); }
/** * Enable or disable deprecation warnings. * @param showWarnings - if true, deprecation warnings * will appear in the filtered diagnostics. */ private void setShowDeprecationWarnings(boolean showWarnings) { setShowProblemByClass(AbstractDeprecatedAPIProblem.class, showWarnings); setShowProblemByClass(DeprecatedConfigurationOptionProblem.class, showWarnings); }
private void setAllowSourcePathOverlapWarnings(boolean isSourcePathOverlapAllowed) { setShowProblemByClass(OverlappingSourcePathProblem.class, !isSourcePathOverlapAllowed); }
private void setShowMultipleDefinitionWarnings(boolean b) { setShowProblemByClass(DuplicateQNameInSourcePathProblem.class, b); }
private void setShowMultipleDefinitionWarnings(boolean b) { setShowProblemByClass(DuplicateQNameInSourcePathProblem.class, b); }
private void setAllowSourcePathOverlapWarnings(boolean isSourcePathOverlapAllowed) { setShowProblemByClass(OverlappingSourcePathProblem.class, !isSourcePathOverlapAllowed); }
/** * Hide/show actionscript warnings based on compiler option settings. * * @param problem * @param warningCode */ private void setShowActionScriptWarning(Class<? extends ICompilerProblem> problem, int warningCode) { setShowProblemByClass(problem, problemSettings.checkActionScriptWarning(warningCode)); }
/** * Hide/show actionscript warnings based on compiler option settings. * * @param problem * @param warningCode */ private void setShowActionScriptWarning(Class<? extends ICompilerProblem> problem, int warningCode) { setShowProblemByClass(problem, problemSettings.checkActionScriptWarning(warningCode)); }