public interface ICompilerProblemSettings
Modifier and Type | Method and Description |
---|---|
boolean |
checkActionScriptWarning(int warningCode)
Returns whether checking of a type ActionScript warning is enabled.
|
Collection<Class<ICompilerProblem>> |
getErrorProblems()
A collection of problem classes that should be report as errors.
|
Collection<Class<ICompilerProblem>> |
getIgnoreProblems()
A collection of problem classes that should not be reported.
|
Collection<Class<ICompilerProblem>> |
getWarningProblems()
A collection of problem classes that should be report as warnings.
|
boolean |
isSourcePathOverlapAllowed()
Returns whether some source path directories are allowed to be
subdirectories of another.
|
boolean |
isStrict()
Returns true if the compiler should run in strict error checking mode.
|
boolean |
showActionScriptWarnings()
Returns whether ActionScript warnings are enabled.
|
boolean |
showBindingWarnings()
Returns whether binding warnings are enabled.
|
boolean |
showDeprecationWarnings()
Returns whether deprecation warnings are enabled.
|
boolean |
showMultipleDefinitionWarnings()
Returns whether multiple definition warnings are enabled.
|
boolean |
showUnusedTypeSelectorWarnings()
Returns whether unused type selector warnings are enabled.
|
boolean |
showWarnings()
Determines if any warnings are shown.
|
boolean isSourcePathOverlapAllowed()
boolean showActionScriptWarnings()
boolean showBindingWarnings()
boolean showDeprecationWarnings()
boolean showUnusedTypeSelectorWarnings()
boolean showMultipleDefinitionWarnings()
boolean isStrict()
Collection<Class<ICompilerProblem>> getErrorProblems()
Collection<Class<ICompilerProblem>> getWarningProblems()
Collection<Class<ICompilerProblem>> getIgnoreProblems()
boolean checkActionScriptWarning(int warningCode)
--compiler.warn-array-tostring-changes --compiler.warn-assignment-within-conditional --compiler.warn-bad-array-cast --compiler.warn-bad-bool-assignment --compiler.warn-bad-date-cast --compiler.warn-bad-es3-type-method --compiler.warn-bad-es3-type-prop --compiler.warn-bad-nan-comparison --compiler.warn-bad-null-assignment --compiler.warn-bad-null-comparison --compiler.warn-bad-undefined-comparison --compiler.warn-boolean-constructor-with-no-args --compiler.warn-changes-in-resolve --compiler.warn-class-is-sealed --compiler.warn-const-not-initialized --compiler.warn-constructor-returns-value --compiler.warn-deprecated-event-handler-error --compiler.warn-deprecated-function-error --compiler.warn-deprecated-property-error --compiler.warn-duplicate-argument-names --compiler.warn-duplicate-variable-def --compiler.warn-for-var-in-changes --compiler.warn-import-hides-class --compiler.warn-instance-of-changes --compiler.warn-internal-error --compiler.warn-level-not-supported --compiler.warn-missing-namespace-decl --compiler.warn-negative-uint-literal --compiler.warn-no-constructor --compiler.warn-no-explicit-super-call-in-constructor --compiler.warn-no-type-decl --compiler.warn-number-from-string-changes --compiler.warn-scoping-change-in-this --compiler.warn-slow-text-field-addition --compiler.warn-unlikely-function-value --compiler.warn-xml-class-has-changed
warningCode
- warning code, one of:
boolean showWarnings()
Copyright © 2016 The Apache Software Foundation. All rights reserved.