- get(LintClient) - Static method in class com.android.tools.lint.checks.ApiLookup
-
Returns an instance of the API database
- get() - Static method in class com.android.tools.lint.checks.PluralsDatabase
-
- get(String) - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
-
- get(LintClient, String, String) - Static method in class com.android.tools.lint.checks.TypoLookup
-
Returns an instance of the Typo database for the given locale
- GET_INSECURE - Static variable in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
-
- getAllowedAutomotiveAppTypes() - Static method in class com.android.tools.lint.checks.AndroidAutoDetector
-
- getAndroidLibraries(Project) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- getAnnotationBooleanValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
- getAnnotationDoubleValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
- getAnnotationLongValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
- getAnnotationStringValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
- getAnnotationStringValues(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
- getApplicableAsmNodeTypes() - Method in class com.android.tools.lint.checks.FieldGetterDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AccessibilityDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AllCapsDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ApiDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DeprecationDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DetectMissingPrefix
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.LabelForDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.OnClickDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.OverdrawDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.PxUsageDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.RtlDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ViewTypeDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.WrongIdDetector
-
- getApplicableCallNames() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
- getApplicableCallNames() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- getApplicableCallNames() - Method in class com.android.tools.lint.checks.WakelockDetector
-
- getApplicableCallOwners() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.CleanupDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.DateFormatDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AccessibilityDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AndroidAutoDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AndroidTvDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ApiDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ArraySizeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.BatteryDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ButtonDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ChildCountDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ChromeOsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ConstraintLayoutDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.DeprecationDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.GridLayoutDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.IconDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.IncludeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.InefficientWeightDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.LabelForDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestTypoDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.MissingClassDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.MissingIdDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.NfcTechListDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.OverdrawDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.PluralsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
-
Check resource definitions: overriding a private resource from an upstream library?
- getApplicableElements() - Method in class com.android.tools.lint.checks.PxUsageDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.RegistrationDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.RelativeOverlapDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ResourceCycleDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.SecurityDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.StringFormatDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TextFieldDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TextViewDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TitleDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TooManyViewsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TranslationDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TypoDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TypographyDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UseCompoundDrawableDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UselessViewDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WebViewDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WrongCaseDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WrongIdDetector
-
- getApplicableFiles() - Method in class com.android.tools.lint.checks.MergeMarkerDetector
-
- getApplicableFiles() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AlarmDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AppCompatCallDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CipherGetInstanceDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CleanupDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CustomViewDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CutPasteDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.FirebaseAnalyticsDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.GetSignaturesDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LayoutInflationDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LocaleDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LogDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.MathDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ObjectAnimatorDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ReadParcelableDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SecureRandomDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SecurityDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ServiceCastDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SetTextDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SQLiteDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.StringFormatDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ToastDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTagDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTypeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WrongCallDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.AnnotationDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.ApiDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.AssertDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.CallSuperDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.CommentDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.IconDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.LeakDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.OverdrawDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.RtlDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.SdCardDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.StringAuthLeakDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.ViewHolderDetector
-
- getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.WrongImportDetector
-
- getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
-
- getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.BatteryDetector
-
- getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
-
- getAttributeSpellingSuggestions(String, String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
For a given misspelled attribute, return the allowed suggestions/corrections.
- getCallDeprecatedIn(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given call was deprecated in, or -1 if the method
is not deprecated.
- getCallVersion(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required by the given method call.
- getChildren() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
- getClassDeprecatedIn(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given class was deprecated in, or -1 if the class
is not deprecated.
- getClasses() - Method in class com.android.tools.lint.checks.ApiPackage
-
Returns the classes in this package
- getClassVersion(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required by the given class reference,
or -1 if this is not a known API class.
- getCompileDependencies(Project) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- getCompileDependencies(AndroidArtifact, GradleVersion) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- getEdits(String, String, Node) - Static method in class com.android.tools.lint.checks.TypographyDetector
-
Returns a list of edits to be applied to fix the suggestion made by the
given warning.
- getEdits(String, String, String) - Static method in class com.android.tools.lint.checks.TypographyDetector
-
Returns a list of edits to be applied to fix the suggestion made by the
given warning.
- getEvaluator() - Method in interface com.android.tools.lint.checks.LintInspectionBridge
-
- getExpectedType(String, TextFormat) - Static method in class com.android.tools.lint.checks.DuplicateResourceDetector
-
- getExported(Element) - Static method in class com.android.tools.lint.checks.SecurityDetector
-
- getField() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
- getFieldDeprecatedIn(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given field was deprecated in, or -1 if the field
is not deprecated.
- getFieldName(Element) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getFieldVersion(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required to access the given field, or -1 if this
is not a known API method.
- getFirstApplicableApi() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the level of the first applicable API level, or 1 if the requirement does
not have a specific API range.
- getHardwareFeature(String, TextFormat) - Static method in class com.android.tools.lint.checks.AndroidTvDetector
-
Given an error message created by this lint check, return the corresponding featureName
that it suggests should be added.
- getHardwareFeature(String, TextFormat) - Static method in class com.android.tools.lint.checks.ChromeOsDetector
-
Given an error message created by this lint check, return the corresponding featureName
that it suggests should be added.
- getIssueCapacity(EnumSet<Scope>) - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
-
- getIssues() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
-
- getJavaLibraries(Project) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- getLanguageDescription(String) - Static method in class com.android.tools.lint.checks.TranslationDetector
-
- getLastApplicableApi() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the level of the last applicable API level for this permission requirement,
if the requirement no longer applies.
- getLatestVersionFromRemoteRepo(LintClient, GradleCoordinate, boolean) - Static method in class com.android.tools.lint.checks.GradleDetector
-
TODO: Cache these results somewhere!
- getMinSdk(Context) - Method in class com.android.tools.lint.checks.ApiDetector
-
- getMinSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
-
- getMinSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- getMissingCases(String, TextFormat) - Static method in class com.android.tools.lint.checks.AnnotationDetector
-
- getMissingPermissionMessage(PermissionRequirement, String, PermissionHolder, PermissionFinder.Operation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
Returns the error message shown when a given call is missing one or more permissions
- getMissingPermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the missing permissions (e.g.
- getName() - Method in class com.android.tools.lint.checks.ApiPackage
-
Returns the name of the class (fully qualified name)
- getNewCall(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCallDetector
-
Given an error message created by this lint check, return the corresponding new method name
that it suggests replace the old method name.
- getNewValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.GradleDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the new value to be put into the source code.
- getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.GridLayoutDetector
-
Given an error message produced by this lint detector,
returns the new value to be put into the source code.
- getNewValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.MissingClassDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the new value to be put into the source code.
- getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCallDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the new value to be put into the source code.
- getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCaseDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the new value to be put into the source code.
- getNode(AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
-
Looks up (and if necessary) creates a graph node for the given instruction
- getOldCall(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCallDetector
-
Given an error message created by this lint check, return the corresponding old method name
that it suggests should be deleted.
- getOldValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.GradleDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the old value to be replaced in the source code.
- getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.GridLayoutDetector
-
Given an error message produced by this lint detector,
returns the old value to be replaced in the source code.
- getOldValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.MissingClassDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the old value to be replaced in the source code.
- getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCallDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the old value to be replaced in the source code.
- getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCaseDetector
-
Given an error message produced by this lint detector for the given issue type,
returns the old value to be replaced in the source code.
- getOperator() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
For permission requirements that combine children, the operator to combine them with; null
for leaf nodes
- getOriginal() - Method in class com.android.tools.lint.checks.TypoDetector.TypoSuggestionInfo
-
- getPackage() - Method in class com.android.tools.lint.checks.ApiClass
-
- getPreviousStatement(PsiElement) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- getPropertyKeyCookie(Object) - Method in class com.android.tools.lint.checks.GradleDetector
-
- getPropertyPairCookie(Object) - Method in class com.android.tools.lint.checks.GradleDetector
-
- getRelevant(String) - Method in class com.android.tools.lint.checks.PluralsDatabase
-
- getReplacedType(String, TextFormat) - Static method in class com.android.tools.lint.checks.JavaPerformanceDetector
-
- getReplacements() - Method in class com.android.tools.lint.checks.TypoDetector.TypoSuggestionInfo
-
- getRequiredVersion(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.ApiDetector
-
- getResource(Element) - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResource(Element, boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResource(Integer) - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResource(ResourceType, String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResourceFromFilePath(String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResourceMaps() - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResources() - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getResourceType(Element) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
-
- getRestrictionScope(PsiAnnotation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- getResult() - Method in class com.android.tools.lint.checks.CordovaVersionDetector.JsVersionLineProcessor
-
- getRevocablePermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the permissions in the requirement that are revocable
- GetSignaturesDetector - Class in com.android.tools.lint.checks
-
- GetSignaturesDetector() - Constructor for class com.android.tools.lint.checks.GetSignaturesDetector
-
- getSimpleName() - Method in class com.android.tools.lint.checks.ApiClass
-
- getSize(File) - Static method in class com.android.tools.lint.checks.IconDetector
-
- getStartOffset(Context, Object) - Method in class com.android.tools.lint.checks.GradleDetector
-
- getSuggestedEscape(String, TextFormat) - Static method in class com.android.tools.lint.checks.PropertyFileDetector
-
Returns the escaped string value suggested by the error message which should have
been computed by this lint detector.
- getSuggestedSuperClass(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCustomViewDetector
-
Given an error message produced by this lint detector, returns the suggested
super class fully qualified name.
- getSuggestions(String, TextFormat) - Static method in class com.android.tools.lint.checks.TypoDetector
-
Returns the suggested replacements and original string, for the given typo.
- getSupportedPinDigestAlgorithms() - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
Used by the IDE for quick fixes.
- getTagSpellingSuggestions(String, String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
For a given misspelled attribute, return the allowed suggestions/corrections.
- getTargetApi(PsiElement) - Static method in class com.android.tools.lint.checks.ApiDetector
-
- getTargetApi(PsiModifierList) - Static method in class com.android.tools.lint.checks.ApiDetector
-
Returns the API level for the given AST node if specified with
an @TargetApi
annotation.
- getTargetSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
-
- getTargetSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- getThreadContext(JavaContext, PsiElement) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
Attempts to infer the current thread context at the site of the given method call
- getTypo(String, TextFormat) - Static method in class com.android.tools.lint.checks.TypoDetector
-
Returns the typo word in the error message from this detector
- getTypos(CharSequence, int, int) - Method in class com.android.tools.lint.checks.TypoLookup
-
Look up whether this word is a typo, and if so, return the typo itself
and one or more likely meanings
- getTypos(byte[], int, int) - Method in class com.android.tools.lint.checks.TypoLookup
-
Look up whether this word is a typo, and if so, return the typo itself
and one or more likely meanings
- getUnhandledPermissionMessage() - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
Returns the error message shown when a revocable permission call is not properly handled
- getUnusedResource(String, TextFormat) - Static method in class com.android.tools.lint.checks.UnusedResourceDetector
-
Given an error message created by this lint check, return the corresponding
resource field name for the resource that is described as unused.
- getUrl() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
- getValidCastVersion(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required to perform the given cast, or -1 if this is valid for all
versions of the class (or, if these are not known classes or if the cast is not valid at
all.)
- getVariableElement(PsiElement) - Static method in class com.android.tools.lint.checks.CleanupDetector
-
Returns the variable the expression is assigned to, if any
- getVariableElement(PsiElement, boolean, boolean) - Static method in class com.android.tools.lint.checks.CleanupDetector
-
- getVersionCheckConstant(String, TextFormat) - Static method in class com.android.tools.lint.checks.ApiDetector
-
Given an error message produced by this lint detector for the
ApiDetector.OBSOLETE_SDK
issue,
returns the constant value (true, false or unknown) equivalent to the version check.
- getViewTags(Context, ResourceItem) - Method in class com.android.tools.lint.checks.ViewTypeDetector
-
- getVisibilityForTesting(PsiAnnotation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- GIF_USAGE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Using .gif bitmaps
- GMS_GROUP_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
-
Group ID for GMS
- GOOGLE_SUPPORT_GROUP_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
-
- GRADLE_GETTER - Static variable in class com.android.tools.lint.checks.GradleDetector
-
Accidentally calling a getter instead of your own methods
- GRADLE_OVERRIDES - Static variable in class com.android.tools.lint.checks.ManifestDetector
-
Defining a value that is overridden by Gradle
- GRADLE_PLUGIN_COMPATIBILITY - Static variable in class com.android.tools.lint.checks.GradleDetector
-
Incompatible Android Gradle plugin
- GradleDetector - Class in com.android.tools.lint.checks
-
Checks Gradle files for potential errors
- GradleDetector() - Constructor for class com.android.tools.lint.checks.GradleDetector
-
- GridLayoutDetector - Class in com.android.tools.lint.checks
-
Check which looks for potential errors in declarations of GridLayouts, such as specifying
row/column numbers outside the declared dimensions of the grid.
- GridLayoutDetector() - Constructor for class com.android.tools.lint.checks.GridLayoutDetector
-
- ICON_COLORS - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong filename according to the format
- ICON_DENSITIES - Static variable in class com.android.tools.lint.checks.IconDetector
-
Missing density versions of image
- ICON_DIP_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Inconsistent dip size across densities
- ICON_EXPECTED_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong icon size according to published conventions
- ICON_EXTENSION - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong filename according to the format
- ICON_LAUNCHER_SHAPE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong launcher icon shape
- ICON_LOCATION - Static variable in class com.android.tools.lint.checks.IconDetector
-
Images in res/drawable folder
- ICON_MISSING_FOLDER - Static variable in class com.android.tools.lint.checks.IconDetector
-
Missing density folders
- ICON_MIX_9PNG - Static variable in class com.android.tools.lint.checks.IconDetector
-
Drawables provided as both .9.png and .png files
- ICON_NODPI - Static variable in class com.android.tools.lint.checks.IconDetector
-
Icons appearing in both -nodpi and a -Ndpi folder
- ICON_XML_AND_PNG - Static variable in class com.android.tools.lint.checks.IconDetector
-
Icons appearing as both drawable xml files and bitmaps
- IconDetector - Class in com.android.tools.lint.checks
-
Checks for common icon problems, such as wrong icon sizes, placing icons in the
density independent drawable folder, etc.
- IconDetector() - Constructor for class com.android.tools.lint.checks.IconDetector
-
- IDE_SUPPORT - Static variable in class com.android.tools.lint.checks.GradleDetector
-
Constructs the IDE support struggles with
- ignoreToolsAttributes() - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
Whether we should ignore tools attribute resource references.
- ILLEGAL_REFERENCE - Static variable in class com.android.tools.lint.checks.ManifestDetector
-
Using a resource for attributes that do not allow it
- IMPL - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.BatteryDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.RecyclerViewDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- IMPLEMENTATION_XML - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
-
- IMPLIED_QUANTITY - Static variable in class com.android.tools.lint.checks.PluralsDetector
-
This plural does not use the quantity value
- IMPLIED_TOUCHSCREEN_HARDWARE - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
-
- IN_MM_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
-
Using mm/in instead of dp
- IncludeDetector - Class in com.android.tools.lint.checks
-
Checks for problems with include tags, such as providing layout parameters
without specifying both layout_width and layout_height
- IncludeDetector() - Constructor for class com.android.tools.lint.checks.IncludeDetector
-
- INCONSISTENT - Static variable in class com.android.tools.lint.checks.ArraySizeDetector
-
Are there differences in how many array elements are declared?
- INCONSISTENT_IDS - Static variable in class com.android.tools.lint.checks.LayoutConsistencyDetector
-
Inconsistent widget types
- INEFFICIENT_WEIGHT - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
-
Can a weight be replaced with 0dp instead for better performance?
- InefficientWeightDetector - Class in com.android.tools.lint.checks
-
Checks whether a layout_weight is declared inefficiently.
- InefficientWeightDetector() - Constructor for class com.android.tools.lint.checks.InefficientWeightDetector
-
- INLINED - Static variable in class com.android.tools.lint.checks.ApiDetector
-
Accessing an inlined API on older platforms
- INNERCLASS - Static variable in class com.android.tools.lint.checks.MissingClassDetector
-
Is the right character used for inner class separators?
- INSIDE_METHOD - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
Placing SuppressLint on a local variable doesn't work for class-file based checks
- INSTANTIATABLE - Static variable in class com.android.tools.lint.checks.MissingClassDetector
-
Are activity, service, receiver etc subclasses instantiatable?
- instruction - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
-
The instruction
- INT_RANGE_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- INVALID - Static variable in class com.android.tools.lint.checks.StringFormatDetector
-
Whether formatting strings are invalid
- INVALID - Static variable in class com.android.tools.lint.checks.WrongIdDetector
-
An ID declaration which is not valid
- INVALID_FOLDER - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
-
- INVALID_NAME - Static variable in class com.android.tools.lint.checks.FirebaseAnalyticsDetector
-
- INVALID_USES_TAG_ISSUE - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
-
Invalid attribute for uses tag.
- InvalidPackageDetector - Class in com.android.tools.lint.checks
-
Looks for usages of Java packages that are not included in Android.
- InvalidPackageDetector() - Constructor for class com.android.tools.lint.checks.InvalidPackageDetector
-
Constructs a new package check
- isAddKeepErrorMessage(String, TextFormat) - Static method in class com.android.tools.lint.checks.ObjectAnimatorDetector
-
Returns true if the error message (which should have been produced by this detector)
corresponds to the method listed on a property method that it's missing a
Keep annotation.
- isAnalyticsFile(File) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
-
Returns true if this XML file corresponds to an Analytics configuration file;
these contain some attributes read by the library which won't be flagged as
used by the application
- isAttributeSpellingError(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
For a given error message created by this lint detector, returns whether the error
was due to a typo in an attribute name.
- isBenignConstantUsage(PsiElement, String, String) - Static method in class com.android.tools.lint.checks.ApiDetector
-
Checks whether the given instruction is a benign usage of a constant defined in
a later version of Android than the application's minSdkVersion
.
- isBenignUnusedAttribute(String) - Static method in class com.android.tools.lint.checks.ApiDetector
-
Is the given attribute a "benign" unused attribute, one we probably don't need to
flag to the user as not applicable on all versions? These are typically attributes
which add some nice platform behavior when available, but that are not critical
and developers would not typically need to be aware of to try to implement workarounds
on older platforms.
- isCompatibleThread(List<String>, String) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
returns true if the two threads are compatible
- isCompatibleThread(String, String) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
returns true if the two threads are compatible
- isConditional() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns whether this requirement is conditional, meaning that there are
some circumstances in which the requirement is not necessary.
- isConnected(ControlFlowGraph.Node, ControlFlowGraph.Node) - Method in class com.android.tools.lint.checks.ControlFlowGraph
-
Checks whether there is a path from the given source node to the given
destination node
- isConnected(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
-
Checks whether there is a path from the given instruction to the given
instruction node
- isDeclared() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
Whether we found a declaration for this resource (otherwise we might have seen
a reference to this before we came across its potential declaration, so we added it
to the map, but we don't want to report unused resources for invalid resource
references
- isDiscard() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
This resource is marked as to be ignored for usage analysis, regardless of lack of
references
- isDrawableFile(String) - Static method in class com.android.tools.lint.checks.IconDetector
-
Like LintUtils.isBitmapFile(File)
but (a) operates on Strings instead
of files and (b) also considers XML drawables as images
- isInterestingBlock(String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- isInterestingProperty(String, String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- isInterestingStatement(String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
-
- isInvalidDigestAlgorithmMessage(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
- isKeep() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
This resource is marked as to be ignored for usage analysis, regardless of
references
- isLocaleSpecific(String) - Static method in class com.android.tools.lint.checks.StringFormatDetector
-
Determines whether the given String.format(String, Object...)
formatting string is "locale dependent", meaning that its output depends
on the locale.
- isPrecededByVersionCheckExit(PsiElement, int) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isPublic() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
This resource is marked as public
- isReachable() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
- isRelevantOwner(String) - Static method in class com.android.tools.lint.checks.ApiLookup
-
Returns true if the given owner (in VM format) is relevant to the database.
- isRevocable(String) - Method in interface com.android.tools.lint.checks.PermissionHolder
-
Returns true if the given permission is known to be revocable for targetSdkVersion ≥ M
- isRevocable(String) - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- isRevocable(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns whether this permission is revocable
- isRevocableSystemPermission(String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns true if the given permission name is a revocable permission for
targetSdkVersion ≥ 23
- isRtlAttributeName(String) - Static method in class com.android.tools.lint.checks.RtlDetector
-
- isSafeMode() - Method in class com.android.tools.lint.checks.ResourceUsageModel
-
Whether we should attempt to guess resources that should be kept based on looking
at the string pool and assuming some of the strings can be used to dynamically construct
the resource names.
- isSatisfied(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Whether the permission requirement is satisfied given the set of granted permissions
- isServiceKey(String) - Static method in class com.android.tools.lint.checks.TranslationDetector
-
- isSingle() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns whether this requirement is for a single permission (rather than
a boolean expression such as one permission or another.)
- ISSUE - Static variable in class com.android.tools.lint.checks.AccessibilityDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.AlarmDetector
-
Alarm set too soon/frequently
- ISSUE - Static variable in class com.android.tools.lint.checks.AllCapsDetector
-
Using all caps with markup
- ISSUE - Static variable in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.AlwaysShowActionDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatCallDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatCustomViewDetector
-
Copy/pasted item decorator code
- ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatResourceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.AssertDetector
-
Using assertions
- ISSUE - Static variable in class com.android.tools.lint.checks.BadHostnameVerifierDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.BatteryDetector
-
Issues that negatively affect battery life
- ISSUE - Static variable in class com.android.tools.lint.checks.CallSuperDetector
-
Missing call to super
- ISSUE - Static variable in class com.android.tools.lint.checks.CipherGetInstanceDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.ConstraintLayoutDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.CordovaVersionDetector
-
Vulnerable Cordova Version
- ISSUE - Static variable in class com.android.tools.lint.checks.CustomViewDetector
-
Mismatched style and class names
- ISSUE - Static variable in class com.android.tools.lint.checks.CutPasteDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.DeprecationDetector
-
Usage of deprecated views or attributes
- ISSUE - Static variable in class com.android.tools.lint.checks.DosLineEndingDetector
-
Detects mangled DOS line ending documents
- ISSUE - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ExtraTextDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.FieldGetterDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.FragmentDetector
-
Are fragment subclasses instantiatable?
- ISSUE - Static variable in class com.android.tools.lint.checks.FullBackupContentDetector
-
Validation of <full-backup-content>
XML elements
- ISSUE - Static variable in class com.android.tools.lint.checks.GetSignaturesDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.GridLayoutDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.HandlerDetector
-
Potentially leaking handlers
- ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedDebugModeDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedValuesDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.HardwareIdDetector
-
Hardware Id Usages
- ISSUE - Static variable in class com.android.tools.lint.checks.IncludeDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.InvalidPackageDetector
-
Accessing an invalid package
- ISSUE - Static variable in class com.android.tools.lint.checks.ItemDecoratorDetector
-
Copy/pasted item decorator code
- ISSUE - Static variable in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.LabelForDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.LayoutInflationDetector
-
Passing in a null parent to a layout inflater
- ISSUE - Static variable in class com.android.tools.lint.checks.LeakDetector
-
Leaking data via static fields
- ISSUE - Static variable in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.ManifestResourceDetector
-
Using resources in the manifest that vary by configuration
- ISSUE - Static variable in class com.android.tools.lint.checks.ManifestTypoDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.MathDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.MergeMarkerDetector
-
Packaged private key files
- ISSUE - Static variable in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.MissingIdDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.NegativeMarginDetector
-
Negative margins
- ISSUE - Static variable in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
Validate the entire network-security-config descriptor.
- ISSUE - Static variable in class com.android.tools.lint.checks.NfcTechListDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
-
Usage of deprecated views or attributes
- ISSUE - Static variable in class com.android.tools.lint.checks.OnClickDetector
-
Missing onClick handlers
- ISSUE - Static variable in class com.android.tools.lint.checks.OverdrawDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
-
Are previously-abstract methods all overridden?
- ISSUE - Static variable in class com.android.tools.lint.checks.OverrideDetector
-
Accidental overrides
- ISSUE - Static variable in class com.android.tools.lint.checks.ParcelDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.PreferenceActivityDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.PrivateKeyDetector
-
Packaged private key files
- ISSUE - Static variable in class com.android.tools.lint.checks.PrivateResourceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ReadParcelableDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.RegistrationDetector
-
Unregistered activities and services
- ISSUE - Static variable in class com.android.tools.lint.checks.RelativeOverlapDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.RequiredAttributeDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ResourcePrefixDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.RestrictionsDetector
-
Validation of <restrictions>
XML elements
- ISSUE - Static variable in class com.android.tools.lint.checks.ScrollViewChildDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.SdCardDetector
-
Hardcoded /sdcard/ references
- ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomDetector
-
Unregistered activities and services
- ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
Whether the random number generator is initialized correctly
- ISSUE - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
-
Invalid cast to a type from the service constant
- ISSUE - Static variable in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
-
Invocations of setJavaScriptEnabled
- ISSUE - Static variable in class com.android.tools.lint.checks.SignatureOrSystemDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.SQLiteDetector
-
Using STRING instead of TEXT for columns
- ISSUE - Static variable in class com.android.tools.lint.checks.StateListDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.SystemPermissionsDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TextFieldDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TextViewDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TitleDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ToastDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.TypoDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
-
Unused resources (other than ids).
- ISSUE - Static variable in class com.android.tools.lint.checks.UseCompoundDrawableDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.Utf8Detector
-
Detects non-utf8 encodings
- ISSUE - Static variable in class com.android.tools.lint.checks.VectorDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.VectorDrawableCompatDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewConstructorDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewHolderDetector
-
Using a view inflater unconditionally in an AdapterView
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewTagDetector
-
Using setTag and leaking memory
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewTypeDetector
-
Mismatched view types
- ISSUE - Static variable in class com.android.tools.lint.checks.WakelockDetector
-
Problems using wakelocks
- ISSUE - Static variable in class com.android.tools.lint.checks.WebViewDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.WrongCallDetector
-
Calling the wrong method
- ISSUE - Static variable in class com.android.tools.lint.checks.WrongImportDetector
-
Is android.R being imported?
- ISSUE - Static variable in class com.android.tools.lint.checks.WrongLocationDetector
-
Main issue investigated by this detector
- ISSUE_APP_INDEXING - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- ISSUE_APP_INDEXING_API - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- ISSUE_ERROR - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
-
- ISSUE_IDS - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
-
Unused id's
- ISSUE_URL_ERROR - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- ISSUE_WARNING - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
-
- isTagSpellingError(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
- isTestSource() - Method in interface com.android.tools.lint.checks.LintInspectionBridge
-
- isThreadingAnnotation(PsiAnnotation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- isUpgradeDependencyError(String, TextFormat) - Static method in class com.android.tools.lint.checks.ConstraintLayoutDetector
-
Given an error message produced by this lint detector for the given issue type,
returns whether it represents a suggestion update the library version.
- isValidJavaPackage(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns true if the given owner (in VM format) is a valid Java package supported
in any version of Android.
- isVectorGenerationSupported(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
-
Returns true if the given Gradle project model supports vector image generation
- isVersionCheckConditional(int, PsiBinaryExpression) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isWithinSdkConditional(ClassContext, ClassNode, MethodNode, AbstractInsnNode, int) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isWithinVersionCheckConditional(PsiElement, int) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- ItemDecoratorDetector - Class in com.android.tools.lint.checks
-
Looks for copy/paste versions of the divider item decorator.
- ItemDecoratorDetector() - Constructor for class com.android.tools.lint.checks.ItemDecoratorDetector
-
- scanForAndCheckSetOnTouchListenerCalls(ClassContext, ClassNode) - Static method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
-
- SCROLLVIEW_ISSUE - Static variable in class com.android.tools.lint.checks.ChildCountDetector
-
The main issue discovered by this detector
- ScrollViewChildDetector - Class in com.android.tools.lint.checks
-
Check which looks at the children of ScrollViews and ensures that they fill/match
the parent width instead of setting wrap_content.
- ScrollViewChildDetector() - Constructor for class com.android.tools.lint.checks.ScrollViewChildDetector
-
- SdCardDetector - Class in com.android.tools.lint.checks
-
Looks for hardcoded references to /sdcard/.
- SdCardDetector() - Constructor for class com.android.tools.lint.checks.SdCardDetector
-
- SDK_INT - Static variable in class com.android.tools.lint.checks.VersionChecks
-
- SDK_SUPPRESS_ANNOTATION - Static variable in class com.android.tools.lint.checks.ApiDetector
-
- search(PsiElement) - Method in class com.android.tools.lint.checks.PermissionFinder
-
- SecureRandomDetector - Class in com.android.tools.lint.checks
-
Checks for hardcoded seeds with random numbers.
- SecureRandomDetector() - Constructor for class com.android.tools.lint.checks.SecureRandomDetector
-
- SecureRandomGeneratorDetector - Class in com.android.tools.lint.checks
-
Checks for pseudo random number generator initialization issues
- SecureRandomGeneratorDetector() - Constructor for class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
- SecurityDetector - Class in com.android.tools.lint.checks
-
Checks that exported services request a permission.
- SecurityDetector() - Constructor for class com.android.tools.lint.checks.SecurityDetector
-
- SELECTABLE - Static variable in class com.android.tools.lint.checks.TextViewDetector
-
Text could be selectable
- ServiceCastDetector - Class in com.android.tools.lint.checks
-
Detector looking for casts on th result of context.getSystemService which are suspect
- ServiceCastDetector() - Constructor for class com.android.tools.lint.checks.ServiceCastDetector
-
- SET_READABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
-
Using java.io.File.setReadable(true, false) to set file world-readable
- SET_TEXT_I18N - Static variable in class com.android.tools.lint.checks.SetTextDetector
-
Constructing SimpleDateFormat without an explicit locale
- SET_VERSION - Static variable in class com.android.tools.lint.checks.ManifestDetector
-
Using a resource for attributes that do not allow it
- SET_WRITABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
-
Using java.io.File.setWritable(true, false) to set file world-writable
- setDeclared(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
Whether we found a declaration for this resource (otherwise we might have seen
a reference to this before we came across its potential declaration, so we added it
to the map, but we don't want to report unused resources for invalid resource
references
- setDiscard(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
This resource is marked as to be ignored for usage analysis, regardless of lack of
references
- SetJavaScriptEnabledDetector - Class in com.android.tools.lint.checks
-
Looks for invocations of android.webkit.WebSettings.setJavaScriptEnabled.
- SetJavaScriptEnabledDetector() - Constructor for class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
-
- setKeep(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
This resource is marked as to be ignored for usage analysis, regardless of
references
- SetPermissionLookup(Set<String>, Set<String>, AndroidVersion, AndroidVersion) - Constructor for class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- SetPermissionLookup(Set<String>, Set<String>) - Constructor for class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- SetPermissionLookup(Set<String>) - Constructor for class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- setPublic(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
This resource is marked as public
- setReachable(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
-
- SetTextDetector - Class in com.android.tools.lint.checks
-
Checks for errors related to TextView#setText and internationalization
- SetTextDetector() - Constructor for class com.android.tools.lint.checks.SetTextDetector
-
- SHARED_PREF - Static variable in class com.android.tools.lint.checks.CleanupDetector
-
Failing to commit a shared preference
- SignatureOrSystemDetector - Class in com.android.tools.lint.checks
-
Checks if signatureOrSystem level permissions are set.
- SignatureOrSystemDetector() - Constructor for class com.android.tools.lint.checks.SignatureOrSystemDetector
-
- SIMPLE_DATE_FORMAT_CLS - Static variable in class com.android.tools.lint.checks.DateFormatDetector
-
- sIncludeInactiveReferences - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
-
Whether the resource detector will look for inactive resources (e.g.
- SIZE_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
-
- SMALL_SP_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
-
Using text sizes that are too small
- SOFTWARE_FEATURE_LEANBACK - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
-
- SPLIT_CONFIG - Static variable in class com.android.tools.lint.checks.ProguardDetector
-
Finds ProGuard files that contain non-project specific configuration
locally and suggests replacing it with an include path
- SQLITE_DATABASE_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
-
- SQLiteDetector - Class in com.android.tools.lint.checks
-
Detector which looks for problems related to SQLite usage
- SQLiteDetector() - Constructor for class com.android.tools.lint.checks.SQLiteDetector
-
- SslCertificateSocketFactoryDetector - Class in com.android.tools.lint.checks
-
- SslCertificateSocketFactoryDetector() - Constructor for class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
-
- startElement(String, String, String, Attributes) - Method in class com.android.tools.lint.checks.ApiParser
-
- StateListDetector - Class in com.android.tools.lint.checks
-
Checks for unreachable states in an Android state list definition
- StateListDetector() - Constructor for class com.android.tools.lint.checks.StateListDetector
-
- STATUS_BAR_NOTIFICATION_FQN - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
-
- STOP_SHIP - Static variable in class com.android.tools.lint.checks.CommentDetector
-
Looks for special comment markers intended to stop shipping the code
- STRING_ESCAPING - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
-
Invalid XML escaping
- STRING_INTEGER - Static variable in class com.android.tools.lint.checks.GradleDetector
-
Using a string where an integer is expected
- STRING_LOCALE - Static variable in class com.android.tools.lint.checks.LocaleDetector
-
Calling risky convenience methods
- StringAuthLeakDetector - Class in com.android.tools.lint.checks
-
Detector that looks for leaked credentials in strings.
- StringAuthLeakDetector() - Constructor for class com.android.tools.lint.checks.StringAuthLeakDetector
-
- StringFormatDetector - Class in com.android.tools.lint.checks
-
Check which looks for problems with formatting strings such as inconsistencies between
translations or between string declaration and string usage in Java.
- StringFormatDetector() - Constructor for class com.android.tools.lint.checks.StringFormatDetector
-
- STYLE - Static variable in class com.android.tools.lint.checks.ButtonDetector
-
The main issue discovered by this detector
- successors - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
-
Any normal successors (e.g.
- SupportAnnotationDetector - Class in com.android.tools.lint.checks
-
Looks up annotations on method calls and enforces the various things they
express, e.g.
- SupportAnnotationDetector() - Constructor for class com.android.tools.lint.checks.SupportAnnotationDetector
-
- SURFACE_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
-
- SURFACE_TEXTURE_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
-
- SWITCH_TYPE_DEF - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
All IntDef constants should be included in switch
- SYMMETRY - Static variable in class com.android.tools.lint.checks.RtlDetector
-
- SystemPermissionsDetector - Class in com.android.tools.lint.checks
-
Checks if an application wants to use permissions that can only be used by
system applications.
- SystemPermissionsDetector() - Constructor for class com.android.tools.lint.checks.SystemPermissionsDetector
-