|
|||||||||
| 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).
Detector.JavaScanner.applicableSuperClasses()
Context used when checking .class files.ClassContext
LintClient.getClientName() when running in
the CLI (command line interface) version of lint, lint
LintClient.getClientName() when running in
Gradle
LintClient.getClientName() when running in
Android Studio/IntelliJ IDEA
LintClient.getClientName() when running in
some unknown client
LintClient.openConnection(java.net.URL)
Context
ApiVersion to a AndroidVersion.
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.
Issue.create(String, String, String, Category, int, Severity, Implementation) instead
Location.SearchHints object
Project for the given directory.
LintClient.supportsProjectResources())
return a handle for a resource item
ClassLoader which can load in a set of Jar files.
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.
JavaParser.ResolvedClass which defines the annotation
Location to store
temporary state associated with the location.
Location to store
temporary state associated with the location.
JavaParser to use to parse Java
LintClient.getProject(File, File)
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.
Location for the given node.
Location for the given DOM node
Location for the given node.
Location for the given node range (from the starting offset of the first
node to the ending offset of the second node).
IssueRegistry.
LintClient, as well as the release mode.
ResourceVisibilityLookup
ResourceVisibilityLookup.Provider
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.
Location for the given DOM node
XmlParser to use to parse XML
Location for an error in the top level build.gradle file.
Issue maps to the Detector
class responsible for analyzing the issue, as well as the Scope required
by the detector to perform its analysis.android.content.Context
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)
ClassContext.report(Issue, FieldNode, Location, String) instead;
this method is here for custom rule compatibility
ClassContext.report(Issue, FieldNode, Location, String) instead;
this method is here for custom rule compatibility
Context.report(Issue, Location, String) instead;
this method is here for custom rule compatibility
JavaContext.report(Issue, Node, Location, String) instead;
this method is here for custom rule compatibility
XmlContext.report(Issue, org.w3c.dom.Node, Location, String) instead;
this method is here for custom rule compatibility
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).
@id/ or @+id prefix
LintClient.getProjectResources(Project,boolean)
TextFormat.RAW format which looks similar to text
but which can contain bold, symbols and links.Detector.JavaScanner.getApplicableConstructorTypes().
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 | ||||||||