| Interface | Description |
|---|---|
| Detector.BinaryResourceScanner |
Specialized interface for detectors that scan binary resource files
(typically bitmaps but also files in res/raw)
|
| Detector.ClassScanner |
Specialized interface for detectors that scan Java class files
|
| Detector.GradleScanner |
Specialized interface for detectors that scan Gradle files
|
| Detector.JavaPsiScanner | Deprecated
Use
Detector.UastScanner instead |
| Detector.JavaScanner | Deprecated
Use
Detector.UastScanner instead |
| Detector.OtherFileScanner |
Specialized interface for detectors that scan other files
|
| Detector.ResourceFolderScanner |
Specialized interface for detectors that scan resource folders (the folder directory
itself, not the individual files within it
|
| Detector.UastScanner |
Interface to be implemented by lint detectors that want to analyze
Java source files (or other similar source files, such as Kotlin files.)
|
| Detector.XmlScanner |
Specialized interface for detectors that scan XML files
|
| Class | Description |
|---|---|
| ConstantEvaluator |
Evaluates constant expressions
|
| ConstantEvaluator.LastAssignmentFinder | |
| Detector |
A detector is able to find a particular problem (or a set of related problems).
|
| Implementation |
An Implementation of an
Issue maps to the Detector
class responsible for analyzing the issue, as well as the Scope required
by the detector to perform its analysis. |
| Issue |
An issue is a potential bug in an Android application.
|
| LayoutDetector |
Abstract class specifically intended for layout detectors which provides some
common utility methods shared by layout detectors.
|
| LintFix |
A description of a quickfix for a lint warning, which provides
structured data for use by the IDE to create an actual fix implementation.
|
| LintFix.Builder |
Builder for creating various types of fixes
|
| LintFix.DataMap |
General map storage for quickfix data; clients can look up via map keys or
types of values
|
| LintFix.FixMapBuilder | |
| LintFix.GroupBuilder |
Builder for constructing a group of fixes
|
| LintFix.LintFixGroup |
A list of quickfixes
|
| LintFix.ReplaceString |
Convenience class for the common scenario of suggesting a fix which involves
replacing a static string or regular expression with a replacement string
|
| LintFix.ReplaceStringBuilder |
A builder for replacing strings
|
| LintFix.SetAttribute |
Convenience class for the common scenario of suggesting a fix which involves
setting an XML attribute.
|
| LintFix.SetAttributeBuilder | |
| LintUtils |
Useful utility methods related to lint.
|
| Project |
A project contains information about an Android project being scanned for
Lint errors.
|
| ResourceContext |
A
Context used when checking resource files
(both bitmaps and XML files; for XML files a subclass of this context is used:
XmlContext.) |
| ResourceEvaluator |
Evaluates constant expressions
|
| ResourceXmlDetector |
Specialized detector intended for XML resources.
|
| TypeEvaluator |
Evaluates the types of nodes.
|
| UastLintUtils |
| Enum | Description |
|---|---|
| LintFix.GroupType |
Captures the various types of a
LintFix.LintFixGroup |
| Speed |
Enum which describes the different computation speeds of various detectors
|
| TextFormat |
Lint error message, issue explanations and location descriptions
are described in a
TextFormat.RAW format which looks similar to text
but which can contain bold, symbols and links. |