|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Detector.XmlScanner.getApplicableElements()
or
Detector.XmlScanner.getApplicableAttributes()
to indicate that the check should be
invoked on all elements or all attributes
instead
R.layout.main
or R.string.app_name
).
Context
used when checking .class files.ClassContext
Context
DefaultConfiguration
DefaultConfiguration
for the given lint config
file, not affiliated with a project.
Category
with the given sorting priority.
Category
with the given sorting priority.
Location.SearchHints
object
Project
for the given directory.
Configuration
which reads and writes
configuration data into lint.xml
in the project directory.DefaultPosition
ClassNode
corresponding to the given type, if possible, or null
maxItems
if the
number of items are greater.
Implementation.getScope()
are necessary.
AbstractInsnNode
class) that this scanner applies to.
Detector.getApplicableCallNames()
, but for the owner
field instead.
Detector.JavaScanner.createJavaVisitor(JavaContext)
should visit.
Location
to store
temporary state associated with the location.
Location
to store
temporary state associated with the location.
IDomParser
to use to parse XML
IJavaParser
to use to parse Java
Location
for the given DOM node
Location
for the given DOM node.
Location
for the given node
ClassNode
, where class node is
either the top level class, or an inner class, in the current context.
MethodNode
.
AbstractInsnNode
.
IssueRegistry
.
LintClient
, as well as the release mode.
SdkInfo
to use for the given project.
IAndroidTarget
versions installed in the user's SDK install
area.
Issue
maps to the Detector
class responsible for analyzing the issue, as well as the Scope
required
by the detector to perform its analysis.Configuration.isEnabled(Issue)
.
true
if lint is invoked as part of a release mode build,
false
if it is part of a debug mode build, and null
if
the release mode is not known
Context
used when checking Java files.JavaContext
for running lint on the given file, with
the given scope, in the given project reporting errors to the given
client.
LintDriver
LintDriver
Location.create(File)
,
Location.create(File, Position, Position)
, or
Location.create(File, String, int, int)
.
Location.Handle
implementation for simple file offsetsLocation.DefaultLocationHandle
Location.Handle
is a reference to a location.Location.create(File, String, int, String, String, SearchHints)
LintDriver.getProperty(Object)
Configuration.setSeverity(com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Severity)
or Configuration.ignore(com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
.
@id/
or @+id
prefix
Detector.JavaScanner.getApplicableMethodNames()
.
R.layout.main
found in Java code, provided this detector returned true
from
Detector.JavaScanner.appliesToResourceRefs()
.
Context
used when checking XML files.XmlContext
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |