- getAllLibraries() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the transitive closure of the library projects for this project
- getAnalysisScopes() - Method in class com.android.tools.lint.detector.api.Implementation
-
Returns the sets of scopes required to analyze this issue, or null if all
scopes named by
Implementation.getScope()
are necessary.
- getApplicableAsmNodeTypes() - Method in interface com.android.tools.lint.detector.api.Detector.ClassScanner
-
Returns the list of node types (corresponding to the constants in the
AbstractInsnNode
class) that this scanner applies to.
- getApplicableAsmNodeTypes() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableAttributes() - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
-
Returns the list of attributes that this detector wants to analyze.
- getApplicableCallNames() - Method in interface com.android.tools.lint.detector.api.Detector.ClassScanner
-
Return the list of method call names (in VM format, e.g.
- getApplicableCallNames() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableCallOwners() - Method in interface com.android.tools.lint.detector.api.Detector.ClassScanner
-
- getApplicableCallOwners() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableElements() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableElements() - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
-
Returns the list of elements that this detector wants to analyze.
- getApplicableFiles() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableFiles() - Method in interface com.android.tools.lint.detector.api.Detector.OtherFileScanner
-
Returns the set of files this scanner wants to consider.
- getApplicableMethodNames() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableMethodNames() - Method in interface com.android.tools.lint.detector.api.Detector.JavaScanner
-
Return the list of method names this detector is interested in, or
null.
- getApplicableNodeTypes() - Method in class com.android.tools.lint.detector.api.Detector
-
- getApplicableNodeTypes() - Method in interface com.android.tools.lint.detector.api.Detector.JavaScanner
-
- getBaseName(String) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the basename of the given filename, unless it's a dot-file such as ".svn".
- getBriefDescription(Issue.OutputFormat) - Method in class com.android.tools.lint.detector.api.Issue
-
Briefly (in a couple of words) describes these errors
- getBuildSdk() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the target API used to build the project, or -1 if not known
- getBytecode() - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns the raw bytecode data for this class file
- getCacheDir(boolean) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns a suitable location for storing cache files.
- getCategories() - Method in class com.android.tools.lint.client.api.IssueRegistry
-
Returns the available categories
- getCategory() - Method in class com.android.tools.lint.detector.api.Issue
-
The primary category of the issue
- getChildCount(Node) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the number of children of the given node
- getChildren(Node) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the children elements of the given node
- getClassFolders() - Method in class com.android.tools.lint.client.api.LintClient.ClassPathInfo
-
- getClassNode() - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns the bytecode object model
- getClassPath(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Considers the given project as an Eclipse project and returns class path
information for the project - the source folder(s), the output folder and
any libraries.
- getClient() - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the lint client requesting the lint check.
- getClient() - Method in class com.android.tools.lint.client.api.LintRequest
-
Returns the lint client requesting the lint check
- getClient() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the lint client requesting the lint check
- getClientData() - Method in class com.android.tools.lint.detector.api.Location.DefaultLocationHandle
-
- getClientData() - Method in class com.android.tools.lint.detector.api.Location
-
Returns the client data associated with this location - an optional field
which can be used by the creator of the
Location
to store
temporary state associated with the location.
- getClientData() - Method in interface com.android.tools.lint.detector.api.Location.Handle
-
Returns the client data associated with this location - an optional field
which can be used by the creator of the
Location
to store
temporary state associated with the location.
- getColumn() - Method in class com.android.tools.lint.detector.api.DefaultPosition
-
- getColumn() - Method in class com.android.tools.lint.detector.api.Position
-
Returns the column number (where the first character on the line is 0),
or -1 if unknown
- getCommonParent(List<File>) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Computes the shared parent among a set of files (which may be null).
- getCommonParent(File, File) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Computes the closest common parent path between two files.
- getConfiguration(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns a configuration for use by the given project.
- getConfiguration() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the configuration for this project.
- getConfiguration() - Method in class com.android.tools.lint.detector.api.Project
-
Gets the configuration associated with this project
- getContents() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the contents of the file.
- getCurrentVariant() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the current selected variant, if any (and if the current project is a Gradle
project).
- getDefaultSeverity(Issue) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
-
- getDefaultSeverity() - Method in class com.android.tools.lint.detector.api.Issue
-
Returns the default severity of the issues found by this detector (some
tools may allow the user to specify custom severities for detectors).
- getDescription(Issue.OutputFormat) - Method in class com.android.tools.lint.detector.api.Issue
-
Describes in a single line the kinds of checks performed by this rule
- getDescription() - Method in enum com.android.tools.lint.detector.api.Severity
-
Returns a description of this severity suitable for display to the user
- getDetectorClass() - Method in class com.android.tools.lint.detector.api.Implementation
-
Returns the class of the detector to use to find this issue
- getDir() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the project root directory
- getDirectLibraries() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the list of library projects referenced by this project
- getDisplayName() - Method in enum com.android.tools.lint.detector.api.Speed
-
Returns the user-visible description of the speed of the given
detector
- getDisplayPath(File) - Method in class com.android.tools.lint.detector.api.Project
-
Returns the relative path of a given file relative to the user specified
directory (which is often the project directory but sometimes a higher up
directory when a directory tree is being scanned
- getDomParser() - Method in class com.android.tools.lint.client.api.LintClient
-
- getDriver() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the driver running through the lint checks
- getEncodedString(LintClient, File) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the encoded String for the given file.
- getEncodedString(byte[]) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the String corresponding to the given data.
- getEnd() - Method in class com.android.tools.lint.detector.api.Location
-
The end position of the range
- getExplanation(Issue.OutputFormat) - Method in class com.android.tools.lint.detector.api.Issue
-
Describes the error found by this rule, e.g.
- getFile() - Method in class com.android.tools.lint.detector.api.Location
-
Returns the file containing the warning.
- getFiles() - Method in class com.android.tools.lint.client.api.LintRequest
-
Returns the set of files to check with lint.
- getFolderVersion() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the folder version.
- getFolderVersion(File) - Static method in class com.android.tools.lint.detector.api.Context
-
Returns the folder version of the given file.
- getFqcn(String) - Static method in class com.android.tools.lint.detector.api.ClassContext
-
Converts from a VM owner name (such as foo/bar/Foo$Baz) to a
fully qualified class name (such as foo.bar.Foo.Baz).
- getFullName() - Method in class com.android.tools.lint.detector.api.Category
-
Returns a full name for this category.
- getGradleLibraryModel() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the project model for this project if it corresponds to
a Gradle library.
- getGradleProjectModel() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the project model for this project if it corresponds to
a Gradle project.
- getHighestKnownApiLevel() - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the highest known API level.
- getId() - Method in class com.android.tools.lint.detector.api.Issue
-
Returns the unique id of this issue.
- getImplementation() - Method in class com.android.tools.lint.detector.api.Issue
-
Returns the implementation for the given issue
- getInternalName(String) - Static method in class com.android.tools.lint.detector.api.ClassContext
-
Computes the internal class name of the given fully qualified class name.
- getIssue(String) - Method in class com.android.tools.lint.client.api.IssueRegistry
-
Returns the issue for the given id, or null if it's not a valid id
- getIssues() - Method in class com.android.tools.lint.client.api.IssueRegistry
-
Returns the list of issues that can be found by all known detectors.
- getJarFile() - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns the jar file, if any.
- getJavaClassFolders(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the list of output folders for class files
- getJavaClassFolders() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the list of output folders for class files
- getJavaLibraries(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the list of Java libraries
- getJavaLibraries() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the list of Java libraries (typically .jar files) that this
project depends on.
- getJavaParser() - Method in class com.android.tools.lint.client.api.LintClient
-
- getJavaSourceFolders(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the list of source folders for Java source files
- getJavaSourceFolders() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the list of source folders for Java source files
- getLayoutName(File) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the layout resource name for the given layout file
- getLibraries() - Method in class com.android.tools.lint.client.api.LintClient.ClassPathInfo
-
- getLine() - Method in class com.android.tools.lint.detector.api.DefaultPosition
-
- getLine() - Method in class com.android.tools.lint.detector.api.Position
-
Returns the line number (0-based where the first line is line 0)
- getLocaleAndRegion(String) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Look up the locale and region from the given parent folder name and
return it as a combined string, such as "en", "en-rUS", etc, or null if
no language is specified.
- getLocation() - Method in exception com.android.tools.lint.client.api.CircularDependencyException
-
Returns the associated location, if any
- getLocation(XmlContext, Node) - Method in interface com.android.tools.lint.client.api.IDomParser
-
Returns a
Location
for the given DOM node
- getLocation(XmlContext, Node, int, int) - Method in interface com.android.tools.lint.client.api.IDomParser
-
Returns a
Location
for the given DOM node.
- getLocation(JavaContext, Node) - Method in interface com.android.tools.lint.client.api.IJavaParser
-
- getLocation(ClassNode) - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns a location for the given ClassNode
, where class node is
either the top level class, or an inner class, in the current context.
- getLocation(MethodNode, ClassNode) - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns a location for the given MethodNode
.
- getLocation(AbstractInsnNode) - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns a location for the given AbstractInsnNode
.
- getLocation(Node) - Method in class com.android.tools.lint.detector.api.JavaContext
-
Returns a location for the given node
- getLocation(Node) - Method in class com.android.tools.lint.detector.api.XmlContext
-
Returns the location for the given node, which may be an element or an attribute.
- getLocation(Node, int, int) - Method in class com.android.tools.lint.detector.api.XmlContext
-
Creates a new location within an XML text node
- getLocationForLine(int, String, String, Location.SearchHints) - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns a location for the given source line number in this class file's
source file, if available.
- getMainProject() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the main project if this project is a library project, or self
if this is not a library project.
- getManifestFiles() - Method in class com.android.tools.lint.detector.api.Project
-
Gets the paths to the manifest files in this project, if any exists.
- getMessage() - Method in class com.android.tools.lint.detector.api.Location
-
Returns the custom message for this location, if any.
- getMinSdk() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the minimum API level requested by the manifest, or -1 if not
specified
- getMoreInfo() - Method in class com.android.tools.lint.detector.api.Issue
-
Returns a link (a URL string) to more information, or null
- getName() - Method in class com.android.tools.lint.detector.api.Category
-
Returns the name of this category
- getName() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the name of the project
- getNextInstruction(AbstractInsnNode) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the next instruction after to the given node, ignoring label and
line number nodes.
- getNextOpcode(AbstractInsnNode) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the next opcode after to the given node, ignoring label and line
number nodes
- getOffset() - Method in class com.android.tools.lint.detector.api.DefaultPosition
-
- getOffset() - Method in class com.android.tools.lint.detector.api.Position
-
The character offset
- getOuterClassNode(ClassNode) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the outer class node of the given class node
- getPackage() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the application package specified by the manifest
- getParent() - Method in class com.android.tools.lint.detector.api.Category
-
Returns the parent category, or null if this is a top level category
- getParentViewClass(String) - Method in class com.android.tools.lint.client.api.SdkInfo
-
Returns the fully qualified name of the parent view, or null if the view
is the root android.view.View class.
- getParentViewName(String) - Method in class com.android.tools.lint.client.api.SdkInfo
-
Returns the class name of the parent view, or null if the view is the
root android.view.View class.
- getPhase() - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the current phase number.
- getPhase() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the current phase number.
- getPrevInstruction(AbstractInsnNode) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the previous instruction prior to the given node, ignoring label
and line number nodes.
- getPrevOpcode(AbstractInsnNode) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns the previous opcode prior to the given node, ignoring label and
line number nodes
- getPriority() - Method in class com.android.tools.lint.detector.api.Issue
-
Returns a priority, in the range 1-10, with 10 being the most severe and
1 the least
- getProguardFiles() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the proguard files configured for this project, if any
- getProject() - Method in exception com.android.tools.lint.client.api.CircularDependencyException
-
Returns the associated project, if any
- getProject(File, File) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns a project for the given directory.
- getProject() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the project containing the file being checked
- getProjectName(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the name of the given project
- getProjects() - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the projects being analyzed
- getProjects() - Method in class com.android.tools.lint.client.api.LintRequest
-
Gets the projects for the lint requests.
- getProperty(Object) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the property previously stored with the given key, or null
- getProperty(String) - Method in class com.android.tools.lint.detector.api.Context
-
Returns the value of the given named property, or null.
- getReferenceDir() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the original user supplied directory where the lint search
started.
- getRegistry() - Method in class com.android.tools.lint.client.api.LintDriver
-
- getRelativePath(File) - Method in class com.android.tools.lint.detector.api.Project
-
Returns the relative path of a given file within the current project.
- getReportIssues() - Method in class com.android.tools.lint.detector.api.Project
-
Returns whether lint should report issues in this project.
- getRequest() - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the current request, which points to the original files to be checked,
the original scope, the original
LintClient
, as well as the release mode.
- getResourceFolders(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the resource folders.
- getResourceFolders() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the resource folder.
- getResourceFolderType() - Method in class com.android.tools.lint.detector.api.XmlContext
-
Returns the resource folder type of this XML file, if any.
- getScope() - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the scope for the lint job
- getScope() - Method in class com.android.tools.lint.client.api.LintRequest
-
Sets the scope to use; lint checks which require a wider scope set
will be ignored
- getScope() - Method in class com.android.tools.lint.detector.api.Context
-
Returns the scope for the lint job
- getScope() - Method in class com.android.tools.lint.detector.api.Implementation
-
Returns the scope required to analyze the code to detect this issue.
- getSdkHome() - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the File pointing to the user's SDK install area.
- getSdkInfo(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the
SdkInfo
to use for the given project.
- getSdkInfo() - Method in class com.android.tools.lint.detector.api.Context
-
Gets the SDK info for the current project.
- getSdkInfo() - Method in class com.android.tools.lint.detector.api.Project
-
Gets the SDK info for the current project.
- getSecondary() - Method in class com.android.tools.lint.detector.api.Location
-
Returns a secondary location associated with this location (if
applicable), or null.
- getSeverity(Issue) - Method in class com.android.tools.lint.client.api.Configuration
-
Returns the severity for a given issue.
- getSeverity(Issue) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
-
- getSourceContents() - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns the contents of the source file for this class file, if found.
- getSourceContents(boolean) - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns the contents of the source file for this class file, if found.
- getSourceFile() - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns the source file for this class file, if possible.
- getSourceFolders() - Method in class com.android.tools.lint.client.api.LintClient.ClassPathInfo
-
- getSpeed() - Method in class com.android.tools.lint.detector.api.Detector
-
Returns the expected speed of this detector
- getStart() - Method in class com.android.tools.lint.detector.api.Location
-
The start position of the range
- getSubset() - Method in class com.android.tools.lint.detector.api.Project
-
The list of files to be checked in this project.
- getSuperClass(Project, String) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns the super class for the given class name, which should be in VM
format (e.g.
- getSuperClass(String) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns the super class for the given class name,
which should be in VM format (e.g.
- getTargets() - Method in class com.android.tools.lint.client.api.LintClient
-
Returns all the IAndroidTarget
versions installed in the user's SDK install
area.
- getTargetSdk() - Method in class com.android.tools.lint.detector.api.Project
-
Returns the target API level specified by the manifest, or -1 if not
specified
- getType(JavaContext, Node) - Method in interface com.android.tools.lint.client.api.IJavaParser
-
Gets the type of the given node
- I18N - Static variable in class com.android.tools.lint.detector.api.Category
-
Issues related to internationalization
- ICONS - Static variable in class com.android.tools.lint.detector.api.Category
-
Issues related to icons
- IDomParser - Interface in com.android.tools.lint.client.api
-
A wrapper for an XML parser.
- idReferencesMatch(String, String) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given two id references match.
- ignore(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.Configuration
-
Marks the given warning as "ignored".
- ignore(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
-
- ignore(Issue, File) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
-
Marks the given issue and file combination as being ignored.
- IJavaParser - Interface in com.android.tools.lint.client.api
-
A wrapper for a Java parser.
- Implementation - Class in com.android.tools.lint.detector.api
-
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.
- Implementation(Class<? extends Detector>, EnumSet<Scope>) - Constructor for class com.android.tools.lint.detector.api.Implementation
-
Creates a new implementation for analyzing one or more issues
- Implementation(Class<? extends Detector>, EnumSet<Scope>, EnumSet<Scope>...) - Constructor for class com.android.tools.lint.detector.api.Implementation
-
Creates a new implementation for analyzing one or more issues
- infer(Collection<Project>) - Static method in enum com.android.tools.lint.detector.api.Scope
-
Infers a suitable scope to use from the given projects to be analyzed
- initialize() - Method in class com.android.tools.lint.detector.api.Project
-
- intersect(EnumSet<Scope>, EnumSet<Scope>) - Static method in enum com.android.tools.lint.detector.api.Scope
-
Returns the intersection of two scope sets
- isAbbreviating() - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns whether lint should abbreviate output when appropriate.
- isAdequate(EnumSet<Scope>) - Method in class com.android.tools.lint.detector.api.Implementation
-
Returns true if the given scope is adequate for analyzing this issue.
- isAnonymousClass(ClassNode) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given class node represents an anonymous inner class
- isAospFrameworksProject(File) - Static method in class com.android.tools.lint.detector.api.Project
-
Is this the frameworks AOSP project? Needs some hardcoded support since
it doesn't have a manifest file, etc.
- isCategoryName(String) - Method in class com.android.tools.lint.client.api.IssueRegistry
-
Returns true if the given category is a valid category
- isConstructor() - Method in class com.android.tools.lint.detector.api.Location.SearchHints
-
- isEnabled(Issue) - Method in class com.android.tools.lint.client.api.Configuration
-
Returns false if the given issue has been disabled.
- isEnabled(Issue) - Method in class com.android.tools.lint.detector.api.Context
-
Returns false if the given issue has been disabled.
- isEnabledByDefault() - Method in class com.android.tools.lint.detector.api.Issue
-
Returns whether this issue should be enabled by default, unless the user
has explicitly disabled it.
- isFileBasedResourceType(ResourceType) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Determine if the given type corresponds to a resource that has a unique
file
- isFromClassLibrary() - Method in class com.android.tools.lint.detector.api.ClassContext
-
Returns whether this class is part of a library (not this project).
- isGradleProject(Project) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns true if this project is a Gradle-based Android project
- isGradleProject() - Method in class com.android.tools.lint.detector.api.Project
-
Returns true if this project is a Gradle-based Android project
- isHeightFillParent(Element) - Static method in class com.android.tools.lint.detector.api.LayoutDetector
-
- isIgnored(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.Configuration
-
Checks whether this issue should be ignored because the user has already
suppressed the error? Note that this refers to individual issues being
suppressed/ignored, not a whole detector being disabled via something
like
Configuration.isEnabled(Issue)
.
- isIgnored(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
-
- isImported(Node, String) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given class (specified by a fully qualified class
name) name is imported in the given compilation unit either through a fully qualified
import or by a wildcard import.
- isIssueId(String) - Method in class com.android.tools.lint.client.api.IssueRegistry
-
Returns true if the given id represents a valid issue id
- isJavaSymbol() - Method in class com.android.tools.lint.detector.api.Location.SearchHints
-
- isLayout(String) - Method in class com.android.tools.lint.client.api.SdkInfo
-
Returns true if the given widget name is a layout
- isLibrary() - Method in class com.android.tools.lint.detector.api.Project
-
Returns true if this project is an Android library project
- isManifestFolder(File) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given directory is a lint manifest file directory.
- isMergingManifests() - Method in class com.android.tools.lint.detector.api.Project
-
Returns whether manifest merging is in effect
- isProjectDirectory(File) - Method in class com.android.tools.lint.client.api.LintClient
-
Returns true if the given directory is a lint project directory.
- isReleaseMode() - Method in class com.android.tools.lint.client.api.LintRequest
-
Returns 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
- isRootElement(Element) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given element is the root element of its document
- isStaticInnerClass(ClassNode) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given class node represents a static inner class.
- isSubclassOf(Project, String, String) - Method in class com.android.tools.lint.client.api.LintClient
-
Checks whether the given name is a subclass of the given super class.
- isSubclassOf(ClassNode, String) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns true if the given class is a subclass of the given super class.
- isSubViewOf(String, String) - Method in class com.android.tools.lint.client.api.SdkInfo
-
Returns true if the given child view is the same class or a sub class of
the given parent view class
- Issue - Class in com.android.tools.lint.detector.api
-
An issue is a potential bug in an Android application.
- Issue.OutputFormat - Enum in com.android.tools.lint.detector.api
-
The format of output from the description methods
- IssueRegistry - Class in com.android.tools.lint.client.api
-
Registry which provides a list of checks to be performed on an Android project
- IssueRegistry() - Constructor for class com.android.tools.lint.client.api.IssueRegistry
-
- isSuppressed(Issue, ClassNode, MethodNode, AbstractInsnNode) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns whether the given issue is suppressed in the given method.
- isSuppressed(Issue, FieldNode) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns whether the given issue is suppressed for the given field.
- isSuppressed(Issue, ClassNode) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns whether the given issue is suppressed in the given class.
- isSuppressed(Issue, Node) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns whether the given issue is suppressed in the given parse tree node.
- isSuppressed(Issue, Node) - Method in class com.android.tools.lint.client.api.LintDriver
-
Returns whether the given issue is suppressed in the given XML DOM node.
- isWholeWord() - Method in class com.android.tools.lint.detector.api.Location.SearchHints
-
- isWidthFillParent(Element) - Static method in class com.android.tools.lint.detector.api.LayoutDetector
-
- isXmlFile(File) - Static method in class com.android.tools.lint.detector.api.LintUtils
-
Returns true if the given file represents an XML file