| 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
|
| ExternalReferenceExpression | |
| Location.Handle |
A
Location.Handle is a reference to a location. |
| Class | Description |
|---|---|
| Category |
A category is a container for related issues.
|
| CharSequences |
A number of utility methods around
CharSequence handling, which
adds methods that are available on Strings (such as indexOf,
startsWith and regionMatches and provides equivalent methods
for character sequences. |
| ClassContext |
A
Context used when checking .class files. |
| ConstantEvaluator |
Evaluates constant expressions
|
| ConstantEvaluator.LastAssignmentFinder | |
| Context |
Context passed to the detectors during an analysis run.
|
| DefaultPosition |
A simple offset-based position *
|
| 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.
|
| JavaContext |
A
Context used when checking Java files. |
| 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.
|
| Location |
Location information for a warning
|
| Location.DefaultLocationHandle |
A default
Location.Handle implementation for simple file offsets |
| Location.ResourceItemHandle | |
| Location.SearchHints |
Extra information pertaining to finding a symbol in a source buffer,
used by
Location.create(File, CharSequence, int, String, String, SearchHints) |
| Position |
Information about a position in a file/document.
|
| 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 | |
| XmlContext |
A
Context used when checking XML files. |
| Enum | Description |
|---|---|
| LintFix.GroupType |
Captures the various types of a
LintFix.LintFixGroup |
| Location.SearchDirection |
Whether to look forwards, or backwards, or in both directions, when
searching for a pattern in the source code to determine the right
position range for a given symbol.
|
| Scope |
The scope of a detector is the set of files a detector must consider when
performing its analysis.
|
| Severity |
Severity of an issue found by lint
|
| 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. |