public class CompilerProblemSettings extends Object implements ICompilerProblemSettings
| Constructor and Description |
|---|
CompilerProblemSettings(Configuration configuration) |
| 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.
|
public CompilerProblemSettings(Configuration configuration)
public boolean isSourcePathOverlapAllowed()
ICompilerProblemSettingsisSourcePathOverlapAllowed in interface ICompilerProblemSettingspublic boolean showActionScriptWarnings()
ICompilerProblemSettingsshowActionScriptWarnings in interface ICompilerProblemSettingspublic boolean showDeprecationWarnings()
ICompilerProblemSettingsshowDeprecationWarnings in interface ICompilerProblemSettingspublic boolean isStrict()
ICompilerProblemSettingsisStrict in interface ICompilerProblemSettingspublic Collection<Class<ICompilerProblem>> getErrorProblems()
ICompilerProblemSettingsgetErrorProblems in interface ICompilerProblemSettingspublic Collection<Class<ICompilerProblem>> getWarningProblems()
ICompilerProblemSettingsgetWarningProblems in interface ICompilerProblemSettingspublic Collection<Class<ICompilerProblem>> getIgnoreProblems()
ICompilerProblemSettingsgetIgnoreProblems in interface ICompilerProblemSettingspublic boolean showBindingWarnings()
ICompilerProblemSettingsshowBindingWarnings in interface ICompilerProblemSettingspublic boolean showUnusedTypeSelectorWarnings()
ICompilerProblemSettingsshowUnusedTypeSelectorWarnings in interface ICompilerProblemSettingspublic boolean showMultipleDefinitionWarnings()
ICompilerProblemSettingsshowMultipleDefinitionWarnings in interface ICompilerProblemSettingspublic boolean checkActionScriptWarning(int warningCode)
ICompilerProblemSettings--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
checkActionScriptWarning in interface ICompilerProblemSettingswarningCode - warning code, one of:
public boolean showWarnings()
ICompilerProblemSettingsshowWarnings in interface ICompilerProblemSettingsCopyright © 2016 The Apache Software Foundation. All rights reserved.