|
|||||||||
| 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
LintClient.openConnection(java.net.URL)
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.
LintClient.supportsProjectResources())
return a handle for a resource item
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.
JavaParser to use to parse Java
Location for the given node
Location for the given DOM node
Location for the given DOM 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.
JavaParser.TypeDescriptor.getName()
but for arrays can include []'s, for generic methods can include generics parameters
etc
IAndroidTarget versions installed in the user's SDK install
area.
XmlParser to use to parse XML
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.
JavaParser.TypeDescriptorLintDriver
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)
Context used when checking resource files
(both bitmaps and XML files; for XML files a subclass of this context is used:
XmlContext.)
NOTE: This is not a public or final API; if you rely on this be prepared
to adjust your code for the next tools release.ResourceContext
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
LintClient.getProjectResources(Project,boolean)
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 | ||||||||