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
enabledPluginNames List<String>
no setter
errorProcessors List<ErrorProcessor>
Return a list of error processors that are to be used when reporting errors in some analysis context.
no setter
excludePatterns List<String>
Return a list of exclude patterns used to exclude some sources from analysis.
no setter
formatterOptions FormatterOptions
Return the options used to control the formatter.
no setter
hashCode int
The hash code for this object.
no setterinherited
hint bool
Return true if analysis is to generate hint results (e.g. best practices and analysis based on certain annotations).
no setter
lint bool
Whether analysis is to generate lint warnings.
no setter
lintRules List<LintRule>
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
sdkVersionConstraint → VersionConstraint?
The version range for the SDK specified in pubspec.yaml, or null if there is no pubspec.yaml or if it does not contain an SDK range.
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