AnalysisOptions class abstract

A set of analysis options used to control the behavior of an analysis context.

Clients may not extend, implement or mix-in this class.

Constructors

AnalysisOptions()

Properties

chromeOsManifestChecks → bool
A flag indicating whether to run checks on AndroidManifest.xml file to see if it is complaint with Chrome OS.
no setter
codeStyleOptions → CodeStyleOptions
Return the options used to control the code that is generated.
no setter
contextFeatures → FeatureSet
The set of features that are globally enabled for this context.
no setter
enabledLegacyPluginNames → List<String>
A list of the names of the packages for which, if they define a legacy plugin, the legacy plugin should be enabled.
no setter
errorProcessors → List<ErrorProcessor>
The list of error processors that are to be used when reporting errors in some analysis context.
no setter
excludePatterns → List<String>
The list of exclude patterns used to exclude some sources from analysis.
no setter
formatterOptions → FormatterOptions
The options used to control the formatter.
no setter
hashCode → int
The hash code for this object.
no setterinherited
lint → bool
Whether analysis is to generate lint warnings.
no setter
lintRules → List<AbstractAnalysisRule>
A list of the lint rules that are to be run in an analysis context if lint is true.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strictCasts → bool
Whether implicit casts should be reported as potential problems.
no setter
strictInference → bool
Whether inference failures are allowed, off by default.
no setter
strictRawTypes → bool
Whether raw types (types without explicit type arguments, such as List) should be reported as potential problems.
no setter
warning → bool
Return true if analysis is to generate warning results (e.g. best practices and analysis based on certain annotations).
no setter

Methods

isLintEnabled(String name) → bool
Return true the lint with the given name is enabled.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited