Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X 

A

add(LintFix) - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
Adds the given fix to this group
addFile(File) - Method in class com.android.tools.lint.detector.api.Project
Adds the given file to the list of files which should be checked in this project.
afterVisitBinaryExpression(UBinaryExpression) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 
afterVisitElement(UElement) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 
all() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Replaces this entire range
ALL - Static variable in interface com.android.tools.lint.detector.api.XmlScannerConstants
Special marker collection returned by XmlScanner.getApplicableElements() or XmlScanner.getApplicableAttributes() to indicate that the check should be invoked on all elements or all attributes
allLibraries - Variable in class com.android.tools.lint.detector.api.Project
 
allowDereference(boolean) - Method in class com.android.tools.lint.detector.api.ResourceEvaluator
Whether we allow dereferencing resources when computing constants; e.g.
allowFieldInitializers() - Method in class com.android.tools.lint.detector.api.ConstantEvaluator
 
allowUnknowns() - Method in class com.android.tools.lint.detector.api.ConstantEvaluator
Whether we allow computing values where some terms are unknown.
alternatives() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Creates a number of alternatives fixes; alias for LintFix.Builder.group()
alternatives(LintFix...) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Creates a fix list from a set of lint fixes.
android() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the namespace to the Android namespace (shortcut for LintFix.SetAttributeBuilder.namespace(String) passing in SdkConstants.ANDROID_URI
ANIM_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
ANIMATOR_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
ANY_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
appCompat - Variable in class com.android.tools.lint.detector.api.Project
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.detector.api.LayoutDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.detector.api.ResourceXmlDetector
Returns whether this detector applies to the given folder type.
areIdentifiersEqual(UExpression, UExpression) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
ARRAY_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
ArrayReference(Class<?>, int, int) - Constructor for class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
ArrayReference(String, int, int) - Constructor for class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
assetFolders - Variable in class com.android.tools.lint.detector.api.Project
 
ATTR_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
attribute - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttribute
The local attribute name
attribute(String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the attribute name.
autoFix(boolean, boolean) - Method in class com.android.tools.lint.detector.api.LintFix
 
autoFix() - Method in class com.android.tools.lint.detector.api.LintFix
Convenience method for LintFix.autoFix(boolean, boolean): indicates that this fix can safely be applied in auto-fix mode, in parallel with other fixes.
autoFix(boolean, boolean) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets options related to auto-applying this fix.
autoFix() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Convenience method for LintFix.ReplaceStringBuilder.autoFix(boolean, boolean): indicates that this fix can safely be applied in auto-fix mode, in parallel with other fixes.
autoFix(boolean, boolean) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets options related to auto-applying this fix.
autoFix() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Convenience method for LintFix.SetAttributeBuilder.autoFix(boolean, boolean): indicates that this fix can safely be applied in auto-fix mode, in parallel with other fixes.

B

beginning() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Inserts into the beginning of the range
BOOL_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
build() - Method in class com.android.tools.lint.detector.api.LintFix.FixMapBuilder
Constructs a LintFix with this map data
build() - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
Construct a LintFix for this group of fixes
build() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Constructs a LintFix for this string replacement
build() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Constructs a LintFix for this attribute operation
buildSdk - Variable in class com.android.tools.lint.detector.api.Project
 
buildTargetHash - Variable in class com.android.tools.lint.detector.api.Project
 

C

caret(int) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Moves the caret to the given offset (relative to the position of the value text; can be negative (means not set
caretBegin() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Moves the caret to the beginning of the value after applying the new attribute
caretEnd() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Moves the caret to the end of the value after applying the new attribute
CircularDependencyException - Exception in com.android.tools.lint.client.api
Exception thrown when there is a circular dependency, such as a circular dependency of library project references
CircularDependencyException(String) - Constructor for exception com.android.tools.lint.client.api.CircularDependencyException
 
className - Variable in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
client - Variable in class com.android.tools.lint.detector.api.Project
 
COLOR_INT_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
COLOR_INT_MARKER_TYPE - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
Marker ResourceType used to signify that an expression is of type @ColorInt, which isn't actually a ResourceType but one we want to specifically compare with.
COLOR_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
com.android.tools.lint.client.api - package com.android.tools.lint.client.api
 
com.android.tools.lint.detector.api - package com.android.tools.lint.detector.api
 
composite() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Creates a composite fix: multiple lint fixes which will all be applied as a single unit.
composite(LintFix...) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Creates a composite fix: multiple lint fixes which will all be applied as a single unit.
CONFIG_FILE_NAME - Static variable in class com.android.tools.lint.client.api.DefaultConfiguration
Default name of the configuration file
configuration - Variable in class com.android.tools.lint.detector.api.Project
 
ConstantEvaluator - Class in com.android.tools.lint.detector.api
Evaluates constant expressions
ConstantEvaluator() - Constructor for class com.android.tools.lint.detector.api.ConstantEvaluator
Creates a new constant evaluator
ConstantEvaluator.ArrayReference - Class in com.android.tools.lint.detector.api
 
ConstantEvaluator.LastAssignmentFinder - Class in com.android.tools.lint.detector.api
 
containsAnnotation(List<UAnnotation>, UAnnotation) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
containsAnnotation(List<UAnnotation>, String) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
create(LintClient, Project, Configuration) - Static method in class com.android.tools.lint.client.api.DefaultConfiguration
Creates a new DefaultConfiguration
create(LintClient, File) - Static method in class com.android.tools.lint.client.api.DefaultConfiguration
Creates a new DefaultConfiguration for the given lint config file, not affiliated with a project.
create() - Static method in class com.android.tools.lint.detector.api.LintFix
Creates a new Quickfix Builder
create(LintClient, File, File) - Static method in class com.android.tools.lint.detector.api.Project
Creates a new Project for the given directory.

D

data(Object...) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Passes one or more pieces of data; this will be transferred as a map behind the scenes.
DefaultConfiguration - Class in com.android.tools.lint.client.api
Default implementation of a Configuration which reads and writes configuration data into lint.xml in the project directory.
DefaultConfiguration(LintClient, Project, Configuration, File) - Constructor for class com.android.tools.lint.client.api.DefaultConfiguration
 
DefaultConfiguration(LintClient, Project, Configuration) - Constructor for class com.android.tools.lint.client.api.DefaultConfiguration
 
dependsOn(String) - Method in class com.android.tools.lint.detector.api.Project
Returns true if this project depends on the given artifact.
desugaring - Variable in class com.android.tools.lint.detector.api.Project
 
DIMEN_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
DIMENSION_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
DIMENSION_MARKER_TYPE - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
Marker ResourceType used to signify that an expression is of type @Px, which isn't actually a ResourceType but one we want to specifically compare with.
dimensions - Variable in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
dir - Variable in class com.android.tools.lint.detector.api.Project
 
directLibraries - Variable in class com.android.tools.lint.detector.api.Project
 
displayName - Variable in class com.android.tools.lint.detector.api.LintFix.Builder
 
displayName - Variable in class com.android.tools.lint.detector.api.LintFix
 
displayName - Variable in class com.android.tools.lint.detector.api.LintFix.FixMapBuilder
 
displayName - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
 
displayName - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
 
dot - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttribute
The caret location to show, OR Integer.MIN_VALUE if not set.
DRAWABLE_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 

E

end() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Inserts after the end of the range
equals(Object) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
equals(Object) - Method in class com.android.tools.lint.detector.api.Project
 
evaluate(UElement) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator
Evaluates the given node and returns the constant value it resolves to, if any
evaluate(PsiElement) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator
Evaluates the given node and returns the constant value it resolves to, if any
evaluate(JavaContext, PsiElement) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Evaluates the given node and returns the constant value it resolves to, if any.
evaluate(JavaContext, UElement) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Evaluates the given node and returns the constant value it resolves to, if any.
evaluate(PsiElement) - Method in class com.android.tools.lint.detector.api.TypeEvaluator
Returns the inferred type of the given node
evaluate(UElement) - Static method in class com.android.tools.lint.detector.api.TypeEvaluator
 
evaluate(JavaContext, PsiElement) - Static method in class com.android.tools.lint.detector.api.TypeEvaluator
Evaluates the given node and returns the likely type of the instance.
evaluateString(JavaContext, PsiElement, boolean) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Evaluates the given node and returns the constant string it resolves to, if any.
evaluateString(JavaContext, UElement, boolean) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Evaluates the given node and returns the constant string it resolves to, if any.
expandBackReferences(Matcher) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceString
If this LintFix.ReplaceString specified a regular expression in LintFix.ReplaceString.oldPattern, and the replacement string LintFix.ReplaceString.replacement specifies one or more "back references" (with (?<name>) with the syntax \k<name> then this method will substitute in the matching group.
expandBackReferences(String, Matcher) - Static method in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Given a matched regular expression and a back reference expression, this method produces the expression with back references substituted in.
externalLibrary - Variable in class com.android.tools.lint.detector.api.Project
 

F

family(String) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets the "family" name; the shared name to use to apply *all* fixes of the same family name in a single go.
familyName - Variable in class com.android.tools.lint.detector.api.LintFix.Builder
 
familyName - Variable in class com.android.tools.lint.detector.api.LintFix
 
familyName - Variable in class com.android.tools.lint.detector.api.LintFix.FixMapBuilder
 
familyName - Variable in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
 
familyName - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
 
familyName - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
 
files - Variable in class com.android.tools.lint.detector.api.Project
If non null, specifies a non-empty list of specific files under this project which should be checked.
findLastAssignment(PsiElement, PsiVariable) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Computes the last assignment to a given variable counting backwards from the given context element
findLastAssignment(PsiVariable, UElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
findLastValue(PsiVariable, UElement, UastContext, ConstantEvaluator) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
finishBulkEditing() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
fixes - Variable in class com.android.tools.lint.detector.api.LintFix.LintFixGroup
A list of fixes
FONT_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
FRACTION_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 

G

generatedResourceFolders - Variable in class com.android.tools.lint.detector.api.Project
 
generatedSourceFolders - Variable in class com.android.tools.lint.detector.api.Project
 
get(Class<T>) - Method in class com.android.tools.lint.detector.api.LintFix.DataMap
Returns the value for the given class key
get(String) - Method in class com.android.tools.lint.detector.api.LintFix.DataMap
Returns the value for the given String key
getAbortOnError() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getAllApplicationIds() - Method in class com.android.tools.lint.detector.api.Project
Returns all application ids, if known
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.
getAnnotationBooleanValue(UAnnotation, String) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationBooleanValue(UAnnotation, String, boolean) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationDoubleValue(UAnnotation, String) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationDoubleValue(UAnnotation, String, double) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationLongValue(UAnnotation, String) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationLongValue(UAnnotation, String, long) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationStringValue(UAnnotation, String) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationStringValues(UAnnotation, String) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getAnnotationValue(UAnnotation) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getApplicableDensities() - Method in class com.android.tools.lint.detector.api.Project
Returns the set of applicable densities for this project.
getApplicationId() - Method in class com.android.tools.lint.detector.api.Project
Returns the application id, if known
getApplySuggestions() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getArraySize(Object) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
 
getAssetFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the asset folders.
getBaselineFile() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getBoolean(JavaContext, UAnnotation, String, boolean) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getBuildSdk() - Method in class com.android.tools.lint.detector.api.Project
Returns the compile SDK version used to build the project, or null if not known.
getBuildTarget() - Method in class com.android.tools.lint.detector.api.Project
Returns the target used to build the project, or null if not known
getBuildTargetHash() - Method in class com.android.tools.lint.detector.api.Project
Returns the target API used to build the project, or null if not known.
getBuildTools() - Method in class com.android.tools.lint.detector.api.Project
Returns the specific version of the build tools being used, if known
getCheckAllWarnings() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getCheckDependencies() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getCheckGeneratedSources() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getCheckTestSources() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getClassName(PsiClassType) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getClassName(PsiClass) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getClient() - Method in class com.android.tools.lint.detector.api.Project
Returns the associated client
getConfiguration(LintDriver) - Method in class com.android.tools.lint.detector.api.Project
Gets the configuration associated with this project
getContainingFile(JavaContext, PsiElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
Returns the containing file for the given element
getContainingFile(PsiElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
Returns the containing file for the given element
getCurrentValue() - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 
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).
getData(LintFix, Class<T>) - Static method in class com.android.tools.lint.detector.api.LintFix
Convenience wrapper which checks whether the given fix is a map, and if so returns the value stored by its key
getDefaultSeverity(Issue) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getDesugaring() - Method in class com.android.tools.lint.detector.api.Project
Returns the set of desugaring operations in effect for this project.
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 class com.android.tools.lint.detector.api.LintFix
Return display name
getDisplayName() - Method in class com.android.tools.lint.detector.api.LintFix.LintFixGroup
 
getDisplayName() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Return display name
getDisplayName() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttribute
Return display name
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
getDoubleAttribute(JavaContext, UAnnotation, String, double) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getExplainIssues() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getFamilyName() - Method in class com.android.tools.lint.detector.api.LintFix
Returns the "family" name; the shared name to use to apply *all* fixes of the same family name in a single go.
getFatalOnly() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getGeneratedResourceFolders() - Method in class com.android.tools.lint.detector.api.Project
 
getGeneratedSourceFolders() - Method in class com.android.tools.lint.detector.api.Project
 
getGradleBuildScripts() - Method in class com.android.tools.lint.detector.api.Project
Returns the Gradle build script files configured for this project, if any
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.
getGradleModelVersion() - Method in class com.android.tools.lint.detector.api.Project
If this is a Gradle project with a valid Gradle model, return the version of the model/plugin.
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.
getIdeaProject() - Method in class com.android.tools.lint.detector.api.Project
Returns the corresponding IDE project.
getIdentifier(UExpression) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getIgnoreTestSources() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getIgnoreWarnings() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getJavaClassFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the list of output folders for class files
getJavaLibraries(boolean) - Method in class com.android.tools.lint.detector.api.Project
Returns the list of Java libraries (typically .jar files) that this project depends on.
getJavaSourceFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the list of source folders for Java source files
getLastAssignment() - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 
getLocation() - Method in exception com.android.tools.lint.client.api.CircularDependencyException
Returns the associated location, if any
getLongAttribute(JavaContext, UAnnotation, String, long) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getManifestFiles() - Method in class com.android.tools.lint.detector.api.Project
Gets the paths to the manifest files in this project, if any exists.
getMavenCoordinates() - Method in class com.android.tools.lint.detector.api.Project
Returns the Maven coordinates of this project, if known.
getMergedManifest() - Method in class com.android.tools.lint.detector.api.Project
Returns the merged manifest of this project.
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.
getMinSdkVersion() - Method in class com.android.tools.lint.detector.api.Project
Returns the minimum API level for the project
getName() - Method in class com.android.tools.lint.detector.api.Project
Returns the name of the project
getPackage() - Method in class com.android.tools.lint.detector.api.Project
Returns the application package specified by the manifest
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
getPropertyFiles() - Method in class com.android.tools.lint.detector.api.Project
Returns the .properties files to be analyzed in the project
getPsiFile(UFile) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
Returns the containing file for the given element
getQualifiedName(PsiElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getReferenceDir() - Method in class com.android.tools.lint.detector.api.Project
Returns the original user supplied directory where the lint search started.
getReferenceName(UReferenceExpression) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
getRelativePath(File) - Method in class com.android.tools.lint.detector.api.Project
Returns the relative path of a given file within the current project.
getRemoveFixedBaselineIssues() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getReportIssues() - Method in class com.android.tools.lint.detector.api.Project
Returns whether lint should report issues in this project.
getResource(JavaEvaluator, PsiElement) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource reference (type and name) it points to, if any
getResource(JavaEvaluator, UElement) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource reference (type and name) it points to, if any
getResource(UElement) - Method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource reference (type and name) it points to, if any
getResource(PsiElement) - Method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource reference (type and name) it points to, if any
getResourceConstant(PsiElement) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
Returns a resource URL based on the field reference in the code
getResourceConstant(UElement) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
Returns a resource URL based on the field reference in the code
getResourceFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the resource folders.
getResourceNamespace() - Method in class com.android.tools.lint.detector.api.Project
Returns the namespace for resources in this module/project
getResourceTypes(JavaEvaluator, PsiElement) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource types implied by the given element, if any.
getResourceTypes(JavaEvaluator, UElement) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource types implied by the given element, if any.
getResourceTypes(UElement) - Method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource types applicable to the node, if any.
getResourceTypes(PsiElement) - Method in class com.android.tools.lint.detector.api.ResourceEvaluator
Evaluates the given node and returns the resource types applicable to the node, if any.
getResourceVisibility() - Method in class com.android.tools.lint.detector.api.Project
Returns a shared ResourceVisibilityLookup
getScope() - Method in class com.android.tools.lint.detector.api.Implementation
Returns the scope required to analyze the code to detect this issue.
getSdkInfo() - Method in class com.android.tools.lint.detector.api.Project
Gets the SDK info for the current project.
getSeverity(Issue) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getSubset() - Method in class com.android.tools.lint.detector.api.Project
The list of files to be checked in this project.
getSuperClassMap() - Method in class com.android.tools.lint.detector.api.Project
Returns a super class map for this project.
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.
getTargetSdkVersion() - Method in class com.android.tools.lint.detector.api.Project
Returns the target API level for the project
getTestLibraries() - Method in class com.android.tools.lint.detector.api.Project
Returns the list of source folders for Java test source files
getTestSourceFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the list of source folders for Java test source files
getTypeFromAnnotationSignature(String) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
 
getTypesFromAnnotations(PsiAnnotation[]) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
 
getTypesFromAnnotations(List<UAnnotation>) - Static method in class com.android.tools.lint.detector.api.ResourceEvaluator
 
getWarningsAsErrors() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
gradleFiles - Variable in class com.android.tools.lint.detector.api.Project
 
gradleProject - Variable in class com.android.tools.lint.detector.api.Project
 
gradleVersion - Variable in class com.android.tools.lint.detector.api.Project
 
group() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Creates a group of fixes
group(LintFix...) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Creates a fix list from a set of lint fixes.

H

hashCode() - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
hashCode() - Method in class com.android.tools.lint.detector.api.Project
 

I

ID_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
ignore(Context, Issue, Location, String) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
ignore(Issue, File) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
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
independent - Variable in class com.android.tools.lint.detector.api.LintFix
Whether this fix is independent of other fixes getting applied.
independent(boolean) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Whether this fix is independent of other fixes getting applied.
independent(boolean) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Whether this fix is independent of other fixes getting applied.
initialize() - Method in class com.android.tools.lint.detector.api.Project
 
INSERT_BEGINNING - Static variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Special marker signifying that we don't want to actually replace any text in the element, just insert the "replacement" at the beginning of the range
INSERT_END - Static variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Special marker signifying that we don't want to actually replace any text in the element, just insert the "replacement" at the end of the range
INTEGER_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
INTERPOLATOR_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
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.
isAndroidProject() - Method in class com.android.tools.lint.detector.api.Project
Returns true if this project is an Android project.
isAospBuildEnvironment() - Static method in class com.android.tools.lint.detector.api.Project
Is lint running in an AOSP build environment
isAospFrameworksProject(File) - Static method in class com.android.tools.lint.detector.api.Project
Is this the actual frameworks project.
isAospFrameworksRelatedProject(File) - Static method in class com.android.tools.lint.detector.api.Project
Is this the frameworks or related AOSP project? Needs some hardcoded support since it doesn't have a manifest file, etc.
isArrayLiteral(PsiElement) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Returns true if the node is pointing to a an array literal
isArrayLiteral(UElement) - Static method in class com.android.tools.lint.detector.api.ConstantEvaluator
Returns true if the node is pointing to a an array literal
isDesugaring(Desugaring) - Method in class com.android.tools.lint.detector.api.Project
Returns true if the given desugaring operation is in effect for this project.
isExternalLibrary() - Method in class com.android.tools.lint.detector.api.Project
Returns true if this project is an external library (typically an AAR library), as opposed to a local library we have source for
isGradleProject() - Method in class com.android.tools.lint.detector.api.Project
Returns true if this project is a Gradle-based Android project
isIgnored(Context, Issue, Location, String) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
isLibrary() - Method in class com.android.tools.lint.detector.api.Project
Returns true if this project is an Android library project
isMergingManifests() - Method in class com.android.tools.lint.detector.api.Project
Returns whether manifest merging is in effect
isMinusOne(UElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
isNumber(UElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
isZero(UElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
iterator() - Method in class com.android.tools.lint.detector.api.LintFix.DataMap
 

J

javaClassFolders - Variable in class com.android.tools.lint.detector.api.Project
 
javaLibraries - Variable in class com.android.tools.lint.detector.api.Project
 
JavaParser - Class in com.android.tools.lint.client.api
Deprecated.
JavaParser() - Constructor for class com.android.tools.lint.client.api.JavaParser
Deprecated.
 
javaSourceFolders - Variable in class com.android.tools.lint.detector.api.Project
 
join(LintFix...) - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
Adds the given fixes to this group

K

keys() - Method in class com.android.tools.lint.detector.api.LintFix.DataMap
Returns the keys

L

LastAssignmentFinder(PsiVariable, UElement, UastContext, ConstantEvaluator, int) - Constructor for class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 
LAYOUT_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
LayoutDetector - Class in com.android.tools.lint.detector.api
Abstract class specifically intended for layout detectors which provides some common utility methods shared by layout detectors.
LayoutDetector() - Constructor for class com.android.tools.lint.detector.api.LayoutDetector
 
leanback - Variable in class com.android.tools.lint.detector.api.Project
 
library - Variable in class com.android.tools.lint.detector.api.Project
 
LintFix - Class in com.android.tools.lint.detector.api
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(String) - Constructor for class com.android.tools.lint.detector.api.LintFix
 
LintFix(String, String) - Constructor for class com.android.tools.lint.detector.api.LintFix
 
LintFix.Builder - Class in com.android.tools.lint.detector.api
Builder for creating various types of fixes
LintFix.DataMap - Class in com.android.tools.lint.detector.api
General map storage for quickfix data; clients can look up via map keys or types of values
LintFix.FixMapBuilder - Class in com.android.tools.lint.detector.api
 
LintFix.GroupBuilder - Class in com.android.tools.lint.detector.api
Builder for constructing a group of fixes
LintFix.GroupType - Enum in com.android.tools.lint.detector.api
Captures the various types of a LintFix.LintFixGroup
LintFix.LintFixGroup - Class in com.android.tools.lint.detector.api
A list of quickfixes
LintFix.ReplaceString - Class in com.android.tools.lint.detector.api
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 - Class in com.android.tools.lint.detector.api
A builder for replacing strings
LintFix.SetAttribute - Class in com.android.tools.lint.detector.api
Convenience class for the common scenario of suggesting a fix which involves setting an XML attribute.
LintFix.SetAttributeBuilder - Class in com.android.tools.lint.detector.api
 
LintFixGroup(String, String, LintFix.GroupType, List<LintFix>) - Constructor for class com.android.tools.lint.detector.api.LintFix.LintFixGroup
 

M

manifestFiles - Variable in class com.android.tools.lint.detector.api.Project
 
manifestMinSdk - Variable in class com.android.tools.lint.detector.api.Project
 
manifestTargetSdk - Variable in class com.android.tools.lint.detector.api.Project
 
map() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Provides a map with details for the quickfix implementation
map(Object...) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Provides a map with details for the quickfix implementation, pre-initialized with the given objects
mark - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttribute
The selection anchor, OR Integer.MIN_VALUE if not set
mavenCoordinates - Variable in class com.android.tools.lint.detector.api.Project
 
MENU_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
mergeManifests - Variable in class com.android.tools.lint.detector.api.Project
 

N

name(String) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets display name.
name(String, String) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets display name and family name.
name(String, boolean) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets display name and family name.
name(String) - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
Sets display name.
name(String, String) - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
Sets display name and family name.
name(String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets display name.
name(String, String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets display name and family name.
name(String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets display name.
name(String, String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets display name and family name.
name - Variable in class com.android.tools.lint.detector.api.Project
 
namespace - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttribute
The namespace
namespace(String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the namespace to the given namespace
NAVIGATION_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
nonProvidedJavaLibraries - Variable in class com.android.tools.lint.detector.api.Project
 

O

oldPattern - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
The regex to replace.
oldString - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
The string literal to replace, or LintFix.ReplaceString.INSERT_BEGINNING or LintFix.ReplaceString.INSERT_END to leave the old text alone and insert the "replacement" text at the beginning or the end

P

pattern(String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Replaces the given pattern match (or the first group within it, if any)
pkg - Variable in class com.android.tools.lint.detector.api.Project
 
PLURALS_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
proguardFiles - Variable in class com.android.tools.lint.detector.api.Project
 
proguardPath - Variable in class com.android.tools.lint.detector.api.Project
 
Project - Class in com.android.tools.lint.detector.api
A project contains information about an Android project being scanned for Lint errors.
Project(LintClient, File, File) - Constructor for class com.android.tools.lint.detector.api.Project
Creates a new Project.
put(T) - Method in class com.android.tools.lint.detector.api.LintFix.FixMapBuilder
Puts the given value into the map using its class as the key
put(String, Object) - Method in class com.android.tools.lint.detector.api.LintFix.FixMapBuilder
Puts the given value into the map using the given key
PX_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 

R

range - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
A location range to use for searching for the text or pattern.
range(Location) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets a location range to use for searching for the text or pattern.
range - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttribute
A location range for the source region where the fix will operate.
range(Location) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets a location range to use for searching for the element.
RAW_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
readManifest(Document) - Method in class com.android.tools.lint.detector.api.Project
Initialized the manifest state from the given manifest model
referenceDir - Variable in class com.android.tools.lint.detector.api.Project
 
reformat - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Whether the modified text range should be reformatted
reformat(boolean) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Whether the replaced range should be reformatted
remove(String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Removes the given attribute
replace() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Replace a string or regular expression
replacement - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
The replacement string.
reportIssues - Variable in class com.android.tools.lint.detector.api.Project
 
RES_SUFFIX - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
resolve(ExternalReferenceExpression, UElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
ResourceEvaluator - Class in com.android.tools.lint.detector.api
Evaluates constant expressions
ResourceEvaluator(JavaEvaluator) - Constructor for class com.android.tools.lint.detector.api.ResourceEvaluator
Creates a new resource evaluator
resourceFolders - Variable in class com.android.tools.lint.detector.api.Project
 
ResourceXmlDetector - Class in com.android.tools.lint.detector.api
Specialized detector intended for XML resources.
ResourceXmlDetector() - Constructor for class com.android.tools.lint.detector.api.ResourceXmlDetector
 
robot(boolean) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets whether this fix can be applied by a robot, e.g.
robot - Variable in class com.android.tools.lint.detector.api.LintFix
Whether this fix can be applied by a robot, e.g.
robot(boolean) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets whether this fix can be applied by a robot, e.g.
run(Context) - Method in class com.android.tools.lint.detector.api.ResourceXmlDetector
 

S

sdkInfo - Variable in class com.android.tools.lint.detector.api.Project
The SDK info, if any
select(String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets a pattern to select; if it contains parentheses, group(1) will be selected.
select(int, int) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Selects the value in the offset range (relative to value start
selectAll() - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Selects the newly inserted value
selectPattern - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Pattern to select; if it contains parentheses, group(1) will be selected
set() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Set or clear an attribute
set(String, String, String) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets a specific attribute
setBaselineFile(File) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
setBuildTargetHash(String) - Method in class com.android.tools.lint.detector.api.Project
Sets the build target hash to be used for this project.
setIdeaProject(Project) - Method in class com.android.tools.lint.detector.api.Project
 
setLocation(Location) - Method in exception com.android.tools.lint.client.api.CircularDependencyException
Sets the associated location, if any
setName(String) - Method in class com.android.tools.lint.detector.api.Project
Sets the name of the project
setProject(Project) - Method in exception com.android.tools.lint.client.api.CircularDependencyException
Sets the associated project, if any
setReportIssues(boolean) - Method in class com.android.tools.lint.detector.api.Project
Sets whether lint should report issues in this project.
setSeverity(Issue, Severity) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
severity - Variable in class com.android.tools.lint.client.api.DefaultConfiguration
Map from id to custom Severity override
sharedName(String) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets the family name.
sharedName(String) - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
Sets the family name.
sharedName(String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Sets the family name.
sharedName(String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the family name.
shortenNames - Variable in class com.android.tools.lint.detector.api.LintFix.ReplaceString
Whether symbols should be shortened after replacement
shortenNames() - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
The IDE should simplify fully qualified names in the element after this fix has been run (off by default)
size - Variable in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
Speed - Enum in com.android.tools.lint.detector.api
Enum which describes the different computation speeds of various detectors
startBulkEditing() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
STRING_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
STYLE_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
STYLEABLE_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
supportLib - Variable in class com.android.tools.lint.detector.api.Project
 

T

TAG_LINT - Static variable in class com.android.tools.lint.client.api.DefaultConfiguration
The root tag in a configuration file
target - Variable in class com.android.tools.lint.detector.api.Project
 
testLibraries - Variable in class com.android.tools.lint.detector.api.Project
 
testSourceFolders - Variable in class com.android.tools.lint.detector.api.Project
 
text(String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
Replaces the given literal text
toAndroidReferenceViaResolve(UElement) - Static method in class com.android.tools.lint.detector.api.UastLintUtils
 
todo(String, String, String, String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the value to TODO meant for values that aren't optional.
todo(String, String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the value to TODO meant for values that aren't optional.
toString() - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
toString() - Method in class com.android.tools.lint.detector.api.Implementation
 
toString() - Method in class com.android.tools.lint.detector.api.LintFix.DataMap
 
toString() - Method in class com.android.tools.lint.detector.api.Project
 
TRANSITION_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
type - Variable in class com.android.tools.lint.detector.api.ConstantEvaluator.ArrayReference
 
type(LintFix.GroupType) - Method in class com.android.tools.lint.detector.api.LintFix.GroupBuilder
 
type - Variable in class com.android.tools.lint.detector.api.LintFix.LintFixGroup
The type of group
TYPE_BOOLEAN - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_BOOLEAN_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_BYTE - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_BYTE_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_CHAR - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_CHARACTER_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_DOUBLE - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_DOUBLE_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_FLOAT - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_FLOAT_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_INT - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_INTEGER_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_LONG - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_LONG_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_NULL - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_OBJECT - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_SHORT - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_SHORT_WRAPPER - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TYPE_STRING - Static variable in class com.android.tools.lint.client.api.JavaParser
Deprecated.
TypeEvaluator - Class in com.android.tools.lint.detector.api
Evaluates the types of nodes.
TypeEvaluator(JavaContext) - Constructor for class com.android.tools.lint.detector.api.TypeEvaluator
Creates a new constant evaluator

U

UastLintUtils - Class in com.android.tools.lint.detector.api
 
UastLintUtils() - Constructor for class com.android.tools.lint.detector.api.UastLintUtils
 
unset() - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Clear an attribute
unset(String, String) - Method in class com.android.tools.lint.detector.api.LintFix.Builder
Sets a specific attribute

V

validateIssueIds(LintClient, LintDriver, Project, IssueRegistry) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
validateIssueIds(LintClient, LintDriver, Project, IssueRegistry, Collection<String>) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
value - Variable in class com.android.tools.lint.detector.api.LintFix.SetAttribute
The value (or null to delete the attribute)
value(String) - Method in class com.android.tools.lint.detector.api.LintFix.SetAttributeBuilder
Sets the value to the given value.
VALUE_ALL - Static variable in class com.android.tools.lint.client.api.DefaultConfiguration
 
valueOf(String) - Static method in enum com.android.tools.lint.detector.api.LintFix.GroupType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.tools.lint.detector.api.Speed
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.tools.lint.detector.api.LintFix.GroupType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.tools.lint.detector.api.Speed
Returns an array containing the constants of this enum type, in the order they are declared.
visitElement(UElement) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 
visitVariable(UVariable) - Method in class com.android.tools.lint.detector.api.ConstantEvaluator.LastAssignmentFinder
 

W

with(String) - Method in class com.android.tools.lint.detector.api.LintFix.ReplaceStringBuilder
The text to replace the old text or pattern with.

X

XML_RES_ANNOTATION - Static variable in class com.android.tools.lint.detector.api.ResourceEvaluator
 
XmlScannerConstants - Interface in com.android.tools.lint.detector.api
 
A B C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links