META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/tools/
com/android/tools/lint/
com/android/tools/lint/checks/
com/android/tools/lint/checks/CleanupDetector.classCleanupDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CleanupDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue RECYCLE_RESOURCE
public static final com.android.tools.lint.detector.api.Issue COMMIT_FRAGMENT
public static final com.android.tools.lint.detector.api.Issue SHARED_PREF
private static final String RECYCLE
private static final String RELEASE
private static final String OBTAIN
private static final String SHOW
private static final String ACQUIRE_CPC
private static final String OBTAIN_NO_HISTORY
private static final String OBTAIN_ATTRIBUTES
private static final String OBTAIN_TYPED_ARRAY
private static final String OBTAIN_STYLED_ATTRIBUTES
private static final String BEGIN_TRANSACTION
private static final String COMMIT
private static final String APPLY
private static final String COMMIT_ALLOWING_LOSS
private static final String QUERY
private static final String RAW_QUERY
private static final String QUERY_WITH_FACTORY
private static final String RAW_QUERY_WITH_FACTORY
private static final String CLOSE
private static final String EDIT
private static final String MOTION_EVENT_CLS
private static final String PARCEL_CLS
private static final String VELOCITY_TRACKER_CLS
private static final String DIALOG_FRAGMENT
private static final String DIALOG_V4_FRAGMENT
private static final String FRAGMENT_MANAGER_CLS
private static final String FRAGMENT_MANAGER_V4_CLS
private static final String FRAGMENT_TRANSACTION_CLS
private static final String FRAGMENT_TRANSACTION_V4_CLS
public static final String SURFACE_CLS
public static final String SURFACE_TEXTURE_CLS
public static final String CONTENT_PROVIDER_CLIENT_CLS
public static final String CONTENT_RESOLVER_CLS
public static final String SQLITE_DATABASE_CLS
public static final String CURSOR_CLS
public static final String ANDROID_CONTENT_SHARED_PREFERENCES
private static final String ANDROID_CONTENT_SHARED_PREFERENCES_EDITOR
public void ()
public java.util.List getApplicableMethodNames ()
public java.util.List getApplicableConstructorTypes ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
String name
public void visitConstructor (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiNewExpression, com.intellij.psi.PsiMethod)
String type
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiNewExpression node
com.intellij.psi.PsiMethod constructor
com.intellij.psi.PsiClass containingClass
private static void checkResourceRecycled (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiClass cls
com.intellij.psi.PsiType returnType
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
String name
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static void checkRecycled (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, java.lang.String, java.lang.String)
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
String recycleType
String recycleName
com.intellij.psi.PsiVariable boundVariable
com.intellij.psi.PsiMethod method
com.android.tools.lint.checks.CleanupDetector$FinishVisitor visitor
String className
String message
com.intellij.psi.PsiElement locationNode
com.android.tools.lint.detector.api.Location location
private static void checkTransactionCommits (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
com.android.tools.lint.checks.CleanupDetector$FinishVisitor commitVisitor
com.intellij.psi.PsiVariable boundVariable
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod calledMethod
private static boolean isCommittedInChainedCalls (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression methodInvocation
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiElement parent
private static boolean isTransactionCommitMethodCall (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
String methodName
private static boolean isShowFragmentMethodCall (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
String methodName
private static boolean isMethodOnFragmentClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, java.lang.String, java.lang.String, boolean)
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
String fragmentClass
String v4FragmentClass
boolean returnForUnresolved
com.intellij.psi.PsiMethod method
private static void checkEditorApplied (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
com.android.tools.lint.checks.CleanupDetector$FinishVisitor commitVisitor
com.intellij.psi.PsiVariable boundVariable
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod calledMethod
private static boolean isSharedEditorCreation (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
String methodName
private static boolean isEditorCommittedInChainedCalls (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression methodInvocation
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiElement parent
private static boolean isEditorCommitMethodCall (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod method
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
String methodName
private static boolean isEditorApplyMethodCall (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod method
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
String methodName
private static void suggestApplyIfApplicable (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
String message
com.intellij.psi.PsiElement parent
boolean returnValueIgnored
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
public static com.intellij.psi.PsiVariable getVariableElement (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement rhs
public static com.intellij.psi.PsiVariable getVariableElement (com.intellij.psi.PsiElement, boolean)
com.intellij.psi.PsiElement parentParent
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiAssignmentExpression assignment
com.intellij.psi.PsiExpression lhs
com.intellij.psi.PsiElement rhs
boolean allowChainedCalls
com.intellij.psi.PsiElement parent
private static boolean isBeginTransaction (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
String methodName
static boolean access$000 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiMethodCallExpression x1
static boolean access$100 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiMethodCallExpression x1
static boolean access$200 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiMethodCallExpression x1
static boolean access$300 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiMethodCallExpression x1
static boolean access$400 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiMethodCallExpression x1
static void ()
}
com/android/tools/lint/checks/ControlFlowGraph$1.classControlFlowGraph.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.ControlFlowGraph$1 extends org.objectweb.asm.tree.analysis.Analyzer {
final org.objectweb.asm.tree.InsnList val$instructions
final com.android.tools.lint.checks.ControlFlowGraph val$graph
void (org.objectweb.asm.tree.analysis.Interpreter, org.objectweb.asm.tree.InsnList, com.android.tools.lint.checks.ControlFlowGraph)
org.objectweb.asm.tree.analysis.Interpreter x0
protected void newControlFlowEdge (int, int)
int insn
int successor
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
protected boolean newControlFlowExceptionEdge (int, org.objectweb.asm.tree.TryCatchBlockNode)
int insn
org.objectweb.asm.tree.TryCatchBlockNode tcb
org.objectweb.asm.tree.AbstractInsnNode from
protected boolean newControlFlowExceptionEdge (int, int)
int insn
int successor
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
}
com/android/tools/lint/checks/CleanupDetector$1.classCleanupDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.CleanupDetector$1 extends com.android.tools.lint.checks.CleanupDetector$FinishVisitor {
final String val$recycleName
final String val$recycleType
void (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiVariable, java.lang.String, java.lang.String)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiVariable variableNode
protected boolean isCleanupCall (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiReferenceExpression methodExpression
String methodName
com.intellij.psi.PsiMethod method
}
com/android/tools/lint/checks/RelativeOverlapDetector$LayoutNode$Bucket.classRelativeOverlapDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket extends java.lang.Enum {
public static final com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket TOP
public static final com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket BOTTOM
public static final com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket SKIP
private static final com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket[] $VALUES
public static com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket[] values ()
public static com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tools/lint/checks/ResourceCycleDetector$1.classResourceCycleDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ResourceCycleDetector$1 extends java.lang.Object implements com.google.common.base.Supplier {
final com.android.tools.lint.checks.ResourceCycleDetector this$0
void (com.android.tools.lint.checks.ResourceCycleDetector)
com.android.tools.lint.checks.ResourceCycleDetector this$0
public java.util.List get ()
public volatile java.lang.Object get ()
}
com/android/tools/lint/checks/NfcTechListDetector.classNfcTechListDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.NfcTechListDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node parentNode
org.w3c.dom.NodeList children
org.w3c.dom.Node child
String text
static void ()
}
com/android/tools/lint/checks/DuplicateResourceDetector.classDuplicateResourceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.DuplicateResourceDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public static final com.android.tools.lint.detector.api.Issue TYPE_MISMATCH
private static final String PRODUCT
private java.util.Map mTypeMap
private java.util.Map mLocations
private java.io.File mParent
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
java.io.File parent
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String message
com.android.ide.common.resources.ResourceUrl url
char c
int j
int length
String text
org.w3c.dom.Node child
int i
com.android.tools.lint.detector.api.Location secondary
com.android.utils.Pair pair
String message
com.android.tools.lint.detector.api.Location location
java.util.List list
java.util.List list
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
org.w3c.dom.Element element
String tag
String typeString
com.android.resources.ResourceType type
org.w3c.dom.NodeList children
int childCount
java.util.Set names
String name
String originalName
private static void checkUniqueNames (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.Location prev
org.w3c.dom.Attr attribute
org.w3c.dom.Element prevItem
com.android.tools.lint.detector.api.Location location
String message
String name
org.w3c.dom.Attr nameNode
org.w3c.dom.Element item
java.util.Set names
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element parent
java.util.List items
private static boolean isFirstElementChild (org.w3c.dom.Node)
org.w3c.dom.Node node
public static java.lang.String getExpectedType (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String message
com.android.tools.lint.detector.api.TextFormat format
static void ()
}
com/android/tools/lint/checks/ResourceCycleDetector.classResourceCycleDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ResourceCycleDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue CYCLE
public static final com.android.tools.lint.detector.api.Issue CRASH
private java.util.Map mReferences
private java.util.Map mLocations
private java.util.Map mChains
static final boolean $assertionsDisabled
public void ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
private void recordReference (com.android.resources.ResourceType, java.lang.String, java.lang.String)
int index
com.android.resources.ResourceType type
String from
String to
com.google.common.collect.Multimap map
private void recordLocation (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, com.android.resources.ResourceType, java.lang.String)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
com.android.resources.ResourceType type
String from
com.google.common.collect.Multimap map
com.android.tools.lint.detector.api.Location location
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String to
char c
int k
int max
String text
org.w3c.dom.Node child
int i
int n
org.w3c.dom.NodeList childNodes
String typeName
com.android.resources.ResourceType type
org.w3c.dom.Attr nameNode
org.w3c.dom.Attr typeNode
String currentColor
String color
String currentColor
String drawable
com.android.resources.ResourceFolderType folderType
String name
String parent
org.w3c.dom.Attr node
String parent
String name
int index
org.w3c.dom.Element item
org.w3c.dom.Attr nameNode
org.w3c.dom.Attr parentNode
String message
String currentLayout
String layout
org.w3c.dom.Attr layoutNode
String color
String name
char c
int k
int max
String text
org.w3c.dom.Node child
int i
int n
org.w3c.dom.NodeList childNodes
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tagName
private static void checkCrashItem (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String message
char c
int k
int max
String text
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element item
org.w3c.dom.NodeList childNodes
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.resources.ResourceType type
com.google.common.collect.Multimap map
java.util.Map$Entry entry
com.android.tools.lint.detector.api.Location itemLocation
String next
String label
String item
java.util.Collection itemLocations
int i
int n
com.android.tools.lint.detector.api.Location next
com.android.tools.lint.detector.api.Location curr
com.android.tools.lint.detector.api.Location location
String message
java.util.List chain
com.android.resources.ResourceType type
com.google.common.collect.Multimap locations
java.util.List chains
java.util.Map$Entry entry
com.android.tools.lint.detector.api.Context context
int phase
private void findCycles (com.android.tools.lint.detector.api.Context, com.android.resources.ResourceType, com.google.common.collect.Multimap)
java.util.List list
java.util.List chain
String from
com.android.tools.lint.detector.api.Context context
com.android.resources.ResourceType type
com.google.common.collect.Multimap map
java.util.Set visiting
java.util.Set visited
java.util.Set seen
private static java.util.List dfs (com.google.common.collect.Multimap, java.lang.String, java.util.Set, java.util.Set)
java.util.List chain
java.util.List chain
String target
com.google.common.collect.Multimap map
String from
java.util.Set visiting
java.util.Set visited
java.util.Collection targets
static void ()
}
com/android/tools/lint/checks/CleanupDetector$3.classCleanupDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.CleanupDetector$3 extends com.android.tools.lint.checks.CleanupDetector$FinishVisitor {
void (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiVariable)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiVariable variableNode
protected boolean isCleanupCall (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiMethodCallExpression call
}
com/android/tools/lint/checks/ViewTypeDetector.classViewTypeDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ViewTypeDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private Boolean mIgnore
private final java.util.Map mIdToViewTag
private java.util.Map mFileIdMap
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
java.util.List list
String existingString
java.util.List list
Object existing
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String view
String value
String id
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
java.util.Collection tags
com.android.ide.common.res2.ResourceItem item
java.util.ArrayList layoutTypes
java.util.Set compatible
com.android.ide.common.res2.AbstractResourceRepository resources
java.util.List items
String layoutType
java.util.List layoutTypes
Object types
String id
com.intellij.psi.PsiExpression first
com.android.ide.common.resources.ResourceUrl resourceUrl
com.intellij.psi.PsiTypeCastExpression cast
com.intellij.psi.PsiTypeElement castTypeElement
com.intellij.psi.PsiType type
String castType
com.intellij.psi.PsiExpression[] args
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.LintClient client
com.intellij.psi.PsiElement node
protected java.util.Collection getViewTags (com.android.tools.lint.detector.api.Context, com.android.ide.common.res2.ResourceItem)
java.io.File file
com.google.common.collect.Multimap map
com.android.tools.lint.detector.api.Context context
com.android.ide.common.res2.ResourceItem item
com.android.ide.common.res2.ResourceFile source
private com.google.common.collect.Multimap getIdToTagsIn (com.android.tools.lint.detector.api.Context, java.io.File)
String xml
org.w3c.dom.Document document
com.android.tools.lint.detector.api.Context context
java.io.File file
com.google.common.collect.Multimap map
private static void addViewTags (com.google.common.collect.Multimap, org.w3c.dom.Element)
org.w3c.dom.Node child
int i
int n
com.google.common.collect.Multimap map
org.w3c.dom.Element element
String id
org.w3c.dom.NodeList children
private static void checkCompatible (com.android.tools.lint.detector.api.JavaContext, java.lang.String, java.lang.String, java.util.List, com.intellij.psi.PsiTypeCastExpression)
String type
String message
com.android.tools.lint.detector.api.JavaContext context
String castType
String layoutType
java.util.List layoutTypes
com.intellij.psi.PsiTypeCastExpression node
boolean compatible
static void ()
}
com/android/tools/lint/checks/BatteryDetector.classBatteryDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.BatteryDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String message
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr attr
String name
public java.util.List getApplicableReferenceNames ()
public void visitReference (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiJavaCodeReferenceElement, com.intellij.psi.PsiElement)
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiJavaCodeReferenceElement reference
com.intellij.psi.PsiElement resolved
private static java.lang.String getBatteryOptimizationsErrorMessage ()
static void ()
}
com/android/tools/lint/checks/LogDetector.classLogDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LogDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue CONDITIONAL
public static final com.android.tools.lint.detector.api.Issue WRONG_TAG
public static final com.android.tools.lint.detector.api.Issue LONG_TAG
private static final String IS_LOGGABLE
public static final String LOG_CLS
private static final String PRINTLN
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String message
String message
com.intellij.psi.PsiExpression argument
String tag
int tagArgumentIndex
com.intellij.psi.PsiParameterList parameterList
com.intellij.psi.PsiExpressionList argumentList
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
String name
boolean withinConditional
private static boolean performsWork (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
String string
String string
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression argument
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
String referenceName
int messageArgumentIndex
com.intellij.psi.PsiExpression[] arguments
private static boolean checkWithinConditional (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiIfStatement ifNode
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement curr
com.intellij.psi.PsiMethodCallExpression logCall
private static void checkTagConsistent (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location alternate
String isLoggableDescription
String logCallDescription
String message
com.intellij.psi.PsiElement resolved1
com.intellij.psi.PsiElement resolved2
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression logCall
com.intellij.psi.PsiMethodCallExpression isLoggableCall
com.intellij.psi.PsiExpression[] isLoggableArguments
com.intellij.psi.PsiExpression[] logArguments
com.intellij.psi.PsiExpression isLoggableTag
com.intellij.psi.PsiExpression logTag
String logCallName
boolean isPrintln
com.intellij.psi.PsiExpression isLoggableLevel
String levelString
char levelChar
String expectedCall
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location alternate
static void ()
}
com/android/tools/lint/checks/NegativeMarginDetector.classNegativeMarginDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.NegativeMarginDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.HashMap mDimenUsage
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String text
org.w3c.dom.Node item
int j
int nodeCount
org.w3c.dom.NodeList itemNodes
String name
com.android.tools.lint.detector.api.Location$Handle handle
org.w3c.dom.Node child
int i
int n
org.w3c.dom.NodeList childNodes
org.w3c.dom.Element itemElement
String name
org.w3c.dom.Node item
int j
int nodeCount
org.w3c.dom.NodeList itemNodes
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
private static boolean isNegativeDimension (java.lang.String)
String value
private void checkMarginValue (com.android.tools.lint.detector.api.XmlContext, java.lang.String, org.w3c.dom.Node, com.android.tools.lint.detector.api.Location$Handle)
String message
com.android.ide.common.res2.ResourceFile sourceFile
String message
String dimenValue
com.android.ide.common.rendering.api.ResourceValue resourceValue
com.android.ide.common.res2.ResourceItem item
java.util.List items
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.ide.common.res2.AbstractResourceRepository resources
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.detector.api.XmlContext context
String value
org.w3c.dom.Node scope
com.android.tools.lint.detector.api.Location$Handle handle
static void ()
}
com/android/tools/lint/checks/AlarmDetector.classAlarmDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AlarmDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static void ensureAtLeast (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, int, long)
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
int parameter
long min
com.intellij.psi.PsiExpression argument
long value
private static long getLongValue (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiExpression)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiExpression argument
Object value
static void ()
}
com/android/tools/lint/checks/WrongCallDetector.classWrongCallDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WrongCallDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String callName
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod calledMethod
com.intellij.psi.PsiElement operand
com.intellij.psi.PsiMethod method
private static void report (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
String name
String suggestion
String message
public static java.lang.String getOldValue (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
public static java.lang.String getNewValue (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
static void ()
}
com/android/tools/lint/checks/Api.classApi.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.Api extends java.lang.Object {
private final java.util.Map mClasses
private final java.util.Map mPackages
public static com.android.tools.lint.checks.Api parseApi (java.io.File)
javax.xml.parsers.SAXParserFactory parserFactory
javax.xml.parsers.SAXParser parser
com.android.tools.lint.checks.ApiParser apiParser
javax.xml.parsers.ParserConfigurationException e
org.xml.sax.SAXException e
java.io.IOException e
java.io.File apiFile
java.io.InputStream inputStream
private void (java.util.Map, java.util.Map)
java.util.Map classes
java.util.Map packages
com.android.tools.lint.checks.ApiClass getClass (java.lang.String)
String fqcn
java.util.Map getClasses ()
java.util.Map getPackages ()
}
com/android/tools/lint/checks/CordovaVersionDetector$JsVersionLineProcessor.classCordovaVersionDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CordovaVersionDetector$JsVersionLineProcessor extends java.lang.Object implements com.google.common.io.LineProcessor {
private static final java.util.regex.Pattern PATTERN
private com.android.ide.common.repository.GradleVersion mVersion
public void ()
public boolean processLine (java.lang.String) throws java.io.IOException
String line
java.util.regex.Matcher matcher
public com.android.ide.common.repository.GradleVersion getResult ()
public volatile java.lang.Object getResult ()
static void ()
}
com/android/tools/lint/checks/PermissionFinder.classPermissionFinder.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PermissionFinder extends java.lang.Object {
private final com.android.tools.lint.detector.api.JavaContext mContext
private final com.android.tools.lint.checks.PermissionFinder$Operation mOperation
static final boolean $assertionsDisabled
public static com.android.tools.lint.checks.PermissionFinder$Result findRequiredPermissions (com.android.tools.lint.checks.PermissionFinder$Operation, com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
com.android.tools.lint.checks.PermissionFinder$Operation operation
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement parameter
private void (com.android.tools.lint.detector.api.JavaContext, com.android.tools.lint.checks.PermissionFinder$Operation)
com.android.tools.lint.detector.api.JavaContext context
com.android.tools.lint.checks.PermissionFinder$Operation operation
public com.android.tools.lint.checks.PermissionFinder$Result search (com.intellij.psi.PsiElement)
com.android.tools.lint.checks.PermissionFinder$Result result
com.android.tools.lint.checks.PermissionFinder$Result result
com.intellij.psi.PsiConditionalExpression expression
com.intellij.psi.PsiTypeCastExpression cast
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiParenthesizedExpression parens
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiExpression action
com.intellij.psi.PsiExpression[] expressions
com.intellij.psi.PsiExpressionList argumentList
com.intellij.psi.PsiNewExpression call
com.intellij.psi.PsiJavaCodeReferenceElement classReference
String type
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiNameValuePair[] attributes
com.intellij.psi.PsiNameValuePair o
String fqn
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiField field
com.intellij.psi.PsiElement element
com.intellij.psi.PsiReferenceExpression reference
com.intellij.psi.PsiAssignmentExpression assign
com.intellij.psi.PsiExpression lhs
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiStatement prev
com.intellij.psi.PsiLocalVariable variable
String targetName
com.intellij.psi.PsiStatement statement
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiElement node
private com.android.tools.lint.checks.PermissionFinder$Result getPermissionRequirement (com.intellij.psi.PsiField, com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiField field
com.intellij.psi.PsiAnnotation annotation
com.android.tools.lint.checks.PermissionRequirement requirement
com.intellij.psi.PsiClass containingClass
String name
static void ()
}
com/android/tools/lint/checks/IconDetector$NotificationFinder.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$NotificationFinder extends com.intellij.psi.JavaElementVisitor {
final com.android.tools.lint.checks.IconDetector this$0
private void (com.android.tools.lint.checks.IconDetector)
public void visitMethod (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
public void visitNewExpression (com.intellij.psi.PsiNewExpression)
com.android.ide.common.resources.ResourceUrl url
com.intellij.psi.PsiExpressionList argumentList
com.intellij.psi.PsiExpression[] args
com.android.tools.lint.checks.IconDetector$SetIconFinder finder
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiNewExpression node
com.intellij.psi.PsiJavaCodeReferenceElement classReference
com.intellij.psi.PsiElement resolved
String typeName
void (com.android.tools.lint.checks.IconDetector, com.android.tools.lint.checks.IconDetector$1)
com.android.tools.lint.checks.IconDetector x0
com.android.tools.lint.checks.IconDetector$1 x1
}
com/android/tools/lint/checks/StringFormatDetector.classStringFormatDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.StringFormatDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_XML
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_XML_AND_JAVA
public static final com.android.tools.lint.detector.api.Issue INVALID
public static final com.android.tools.lint.detector.api.Issue ARG_COUNT
public static final com.android.tools.lint.detector.api.Issue ARG_TYPES
public static final com.android.tools.lint.detector.api.Issue POTENTIAL_PLURAL
private java.util.Map mFormatStrings
private final java.util.Map mNotFormatStrings
private java.util.Set mIgnoreStrings
private static final int CONVERSION_CLASS_UNKNOWN
private static final int CONVERSION_CLASS_STRING
private static final int CONVERSION_CLASS_CHARACTER
private static final int CONVERSION_CLASS_INTEGER
private static final int CONVERSION_CLASS_FLOAT
private static final int CONVERSION_CLASS_BOOLEAN
private static final int CONVERSION_CLASS_HASHCODE
private static final int CONVERSION_CLASS_PERCENT
private static final int CONVERSION_CLASS_NEWLINE
private static final int CONVERSION_CLASS_DATETIME
public static final java.util.regex.Pattern FORMAT
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Node child
StringBuilder sb
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NodeList childNodes
private static void addText (java.lang.StringBuilder, org.w3c.dom.Node)
int i
int n
org.w3c.dom.NodeList childNodes
StringBuilder sb
org.w3c.dom.Node node
static java.lang.String stripQuotes (java.lang.String)
char current
int i
int len
String s
StringBuilder sb
boolean isEscaped
boolean isQuotedBlock
private void checkTextNode (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String)
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.Location$Handle handle
char nc
int k
String formatted
java.util.regex.Matcher matcher
String conversion
int conversionClass
char c
int j
int m
java.util.List list
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String text
String name
boolean found
boolean foundPlural
private static boolean isReference (java.lang.String)
char c
int i
int n
String text
private static boolean checkPotentialPlural (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String, int)
char c
int i
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String text
int wordBegin
int wordEnd
boolean hasVowel
String word
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location$Handle notFormatted
String name
java.util.List list
java.util.Map$Entry entry
boolean checkCount
boolean checkValid
boolean checkTypes
com.android.tools.lint.detector.api.Context context
private static void checkTypes (com.android.tools.lint.detector.api.Context, boolean, boolean, java.lang.String, java.util.List)
char c
Object clientData
com.android.tools.lint.detector.api.Location location
String message
char last
int number
Object clientData
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location otherLocation
java.io.File f
String message
int matchStart
String str
int number
String numberString
String format
String currentFormat
com.android.tools.lint.detector.api.Location$Handle handle
String formatString
java.util.regex.Matcher matcher
int index
int prevIndex
int nextNumber
com.android.utils.Pair pair
com.android.tools.lint.detector.api.Context context
boolean checkValid
boolean checkTypes
String name
java.util.List list
java.util.Map types
java.util.Map typeDefinition
private static boolean isIncompatible (char, char)
char conversion1
char conversion2
int class1
int class2
private static int getConversionClass (char)
char conversion
private static com.android.tools.lint.detector.api.Location refineLocation (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Location, java.lang.String, int, int)
int formatOffset
String contents
int startOffset
int endOffset
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Location location
String formatString
int substringStart
int substringEnd
com.android.tools.lint.detector.api.Position startLocation
com.android.tools.lint.detector.api.Position endLocation
private static void checkArity (com.android.tools.lint.detector.api.Context, java.lang.String, java.util.List)
Object clientData
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
String message
int j
Object clientData
java.util.Set all
java.util.List sorted
com.android.tools.lint.detector.api.Location location
String message
int i
java.util.Set indices
int count
com.android.tools.lint.detector.api.Location$Handle handle
com.android.utils.Pair pair
com.android.tools.lint.detector.api.Context context
String name
java.util.List list
int prevCount
static java.lang.String getFormatArgumentType (java.lang.String, int)
char c
int number
String value
int matchStart
int number
String numberString
String s
int argument
java.util.regex.Matcher matcher
int index
int prevIndex
int nextNumber
static int getFormatArgumentCount (java.lang.String, java.util.Set)
char c
int number
String value
int matchStart
int number
String numberString
String s
java.util.Set seenArguments
java.util.regex.Matcher matcher
int index
int prevIndex
int nextNumber
int max
public static boolean isLocaleSpecific (java.lang.String)
char c
char t
int matchStart
String type
String format
java.util.regex.Matcher matcher
int index
int prevIndex
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
String methodName
private static void checkNotFormattedHandle (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, java.lang.String, com.android.tools.lint.detector.api.Location$Handle)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
String name
com.android.tools.lint.detector.api.Location$Handle handle
Object clientData
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
String message
private void checkStringFormatCall (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod, com.intellij.psi.PsiMethodCallExpression, boolean)
com.intellij.psi.PsiExpression initializer
com.intellij.psi.PsiElement resolved
Object o
com.intellij.psi.PsiExpression first
com.intellij.psi.PsiExpression[] arrayDimensions
com.intellij.psi.PsiNewExpression newExpression
com.intellij.psi.PsiArrayInitializerExpression initializer
boolean knownArity
boolean argWasReference
com.intellij.psi.PsiExpression lastArg
com.intellij.psi.PsiParameterList parameterList
int parameterCount
java.util.List items
String conversion
int conversionClass
java.util.regex.Matcher matcher
char c
int j
int m
boolean isFormattingString
com.android.tools.lint.detector.api.Location$Handle handle
String value
com.android.ide.common.rendering.api.ResourceValue v
com.android.ide.common.res2.ResourceItem item
com.android.ide.common.res2.AbstractResourceRepository resources
java.util.List items
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
String message
String fqn
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
String suggestion
String canonicalText
String message
boolean valid
String formatType
char last
int argumentIndex
com.intellij.psi.PsiType type
int i
String s
int count
com.android.tools.lint.detector.api.Location$Handle handle
com.android.utils.Pair pair
java.util.Set reported
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod calledMethod
com.intellij.psi.PsiMethodCallExpression call
boolean specifiesLocale
int argIndex
com.intellij.psi.PsiExpression[] args
com.intellij.psi.PsiExpression argument
com.android.ide.common.resources.ResourceUrl resource
String name
boolean passingVarArgsArray
int callCount
java.util.List list
private static boolean isCharacterType (com.intellij.psi.PsiType)
String fqn
com.intellij.psi.PsiType type
private static boolean isBooleanType (com.intellij.psi.PsiType)
String fqn
com.intellij.psi.PsiType type
private static boolean isNumericType (com.intellij.psi.PsiType, boolean)
String fqn
com.intellij.psi.PsiType type
boolean allowBigNumbers
static void ()
}
com/android/tools/lint/checks/CipherGetInstanceDetector.classCipherGetInstanceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CipherGetInstanceDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String CIPHER
private static final String GET_INSTANCE
private static final java.util.Set ALGORITHM_ONLY
private static final String ECB
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiExpression expression
Object value
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpressionList argumentList
com.intellij.psi.PsiExpression[] arguments
private static void checkParameter (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiElement, java.lang.String, boolean)
String message
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiElement node
String value
boolean includeValue
static void ()
}
com/android/tools/lint/checks/SystemPermissionsDetector.classSystemPermissionsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SystemPermissionsDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String[] SYSTEM_PERMISSIONS
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String permissionName
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr nameNode
static void ()
}
com/android/tools/lint/checks/ChildCountDetector.classChildCountDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ChildCountDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue SCROLLVIEW_ISSUE
public static final com.android.tools.lint.detector.api.Issue ADAPTER_VIEW_ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int childCount
String tagName
private static int getAccurateChildCount (org.w3c.dom.Element)
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Element element
org.w3c.dom.NodeList childNodes
int childCount
static void ()
}
com/android/tools/lint/checks/SdCardDetector$StringChecker.classSdCardDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SdCardDetector$StringChecker extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitLiteralExpression (com.intellij.psi.PsiLiteralExpression)
String message
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Location location
String s
char c
com.intellij.psi.PsiLiteralExpression node
com.intellij.psi.PsiType type
}
com/android/tools/lint/checks/TypographyDetector.classTypographyDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TypographyDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue DASHES
public static final com.android.tools.lint.detector.api.Issue QUOTES
public static final com.android.tools.lint.detector.api.Issue FRACTIONS
public static final com.android.tools.lint.detector.api.Issue ELLIPSIS
public static final com.android.tools.lint.detector.api.Issue OTHER
private static final String GRAVE_QUOTE_MESSAGE
private static final String ELLIPSIS_MESSAGE
private static final String EN_DASH_MESSAGE
private static final String EM_DASH_MESSAGE
private static final String TYPOGRAPHIC_APOSTROPHE_MESSAGE
private static final String SINGLE_QUOTE_MESSAGE
private static final String DBL_QUOTES_MESSAGE
private static final String COPYRIGHT_MESSAGE
static final java.util.regex.Pattern HYPHEN_RANGE_PATTERN
static final java.util.regex.Pattern GRAVE_QUOTATION
static final java.util.regex.Pattern FRACTION_PATTERN
static final java.util.regex.Pattern SINGLE_QUOTE
private static final String FRACTION_MESSAGE
private static final String FRACTION_MESSAGE_PATTERN
private boolean mCheckDashes
private boolean mCheckQuotes
private boolean mCheckFractions
private boolean mCheckEllipsis
private boolean mCheckMisc
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String text
String text
org.w3c.dom.Node item
int j
int m
org.w3c.dom.NodeList items
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NodeList childNodes
private void checkText (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, org.w3c.dom.Node, java.lang.String)
int ellipsis
boolean isNegativeNumber
java.util.regex.Matcher matcher
int emdash
int hyphen
int quoteEnd
int quoteEnd
int quoteStart
String top
String bottom
java.util.regex.Matcher matcher
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node element
org.w3c.dom.Node textNode
String text
private static boolean isAnalyticsTrackingId (org.w3c.dom.Element)
org.w3c.dom.Element element
String name
public static java.util.List getEdits (java.lang.String, java.lang.String, org.w3c.dom.Node)
String issueId
String message
org.w3c.dom.Node textNode
public static java.util.List getEdits (java.lang.String, java.lang.String, java.lang.String)
int offset
int offset
int offset
int offset
int offset
int endOffset
int offset
int endOffset
int offset
int endOffset
int offset
String replaceWith
String replace
int offset
java.util.regex.Matcher matcher
String issueId
String message
String text
java.util.List edits
static void ()
}
com/android/tools/lint/checks/RequiredAttributeDetector.classRequiredAttributeDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.RequiredAttributeDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public static final String PERCENT_RELATIVE_LAYOUT
public static final String ATTR_LAYOUT_WIDTH_PERCENT
public static final String ATTR_LAYOUT_HEIGHT_PERCENT
private java.util.Map mStyleParents
private java.util.Set mWidthStyles
private java.util.Set mHeightStyles
private java.util.Set mIncludedWidths
private java.util.Set mIncludedHeights
private java.util.Set mNotIncludedWidths
private java.util.Set mNotIncludedHeights
private boolean mSetWidthInTheme
private boolean mSetHeightInTheme
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private boolean isWidthStyle (java.lang.String)
String style
private boolean isHeightStyle (java.lang.String)
String style
private boolean isSizeStyle (java.lang.String, java.util.Set)
String style
java.util.Set sizeStyles
private static boolean isFrameworkSizeStyle (java.lang.String)
String style
private boolean isSizeStyle (java.lang.String, java.util.Set, int)
String parentStyle
String style
java.util.Set sizeStyles
int depth
int index
private void checkSizeSetInTheme ()
String style
java.util.Map isTheme
private boolean isTheme (java.lang.String, java.util.Map, int)
String parentStyle
String parentStyle
boolean result
String style
java.util.Map isTheme
int depth
Boolean known
int index
static boolean hasLayoutVariations (java.io.File)
java.io.File other
java.io.File folder
java.io.File file
java.io.File parent
java.io.File res
String name
java.io.File[] folders
private static java.lang.String stripStylePrefix (java.lang.String)
String style
private static boolean isRootElement (org.w3c.dom.Node)
org.w3c.dom.Node node
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String parent
String styleName
String styleName
String name
String tag
String layout
String name
String style
String message
String message
String message
String attribute
String escapedLayoutWidth
String escapedLayoutHeight
String escapedLayoutWidthPercent
String escapedLayoutHeightPercent
boolean hasWidth
boolean hasHeight
String tag
String parentTag
boolean isPercent
boolean certain
boolean isRoot
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
com.android.resources.ResourceFolderType folderType
int phase
private void recordIncludeWidth (java.lang.String, boolean)
String layout
boolean providesWidth
private void recordIncludeHeight (java.lang.String, boolean)
String layout
boolean providesHeight
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.ide.common.resources.ResourceUrl url
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiExpression viewRoot
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] args
String layout
int index
com.android.tools.lint.detector.api.ResourceEvaluator evaluator
int viewRootPos
static void ()
}
com/android/tools/lint/checks/ApiDetector$ApiVisitor.classApiDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.ApiDetector$ApiVisitor extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
final com.android.tools.lint.checks.ApiDetector this$0
private void (com.android.tools.lint.checks.ApiDetector, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitImportStaticStatement (com.intellij.psi.PsiImportStaticStatement)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiImportStaticStatement statement
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
com.intellij.psi.PsiReferenceExpression expression
com.intellij.psi.PsiElement resolved
public void visitTypeCastExpression (com.intellij.psi.PsiTypeCastExpression)
com.intellij.psi.PsiTypeCastExpression expression
com.intellij.psi.PsiTypeElement castTypeElement
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiType operandType
com.intellij.psi.PsiType castType
com.intellij.psi.PsiClassType classType
com.intellij.psi.PsiClassType interfaceType
private void checkCast (com.intellij.psi.PsiElement, com.intellij.psi.PsiClassType, com.intellij.psi.PsiClassType)
com.intellij.psi.PsiElement node
com.intellij.psi.PsiClassType classType
com.intellij.psi.PsiClassType interfaceType
com.android.tools.lint.client.api.JavaEvaluator evaluator
String classTypeInternal
String interfaceTypeInternal
int api
int minSdk
com.android.tools.lint.detector.api.Location location
String message
public void visitMethod (com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.Location location
String message
int api
int minSdk
com.intellij.psi.PsiMethod method
public void visitClass (com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.Location location
String message
int api
int minSdk
com.intellij.psi.PsiAnnotationMemberValue t
com.intellij.psi.PsiArrayInitializerMemberValue array
com.intellij.psi.PsiAnnotationMemberValue value
com.intellij.psi.PsiNameValuePair pair
com.intellij.psi.PsiNameValuePair[] attributes
String name
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiClass aClass
private void checkAnnotationTarget (com.intellij.psi.PsiAnnotationMemberValue, com.intellij.psi.PsiModifierList)
com.android.tools.lint.detector.api.Location location
String message
com.intellij.psi.PsiAnnotation retention
com.intellij.psi.PsiReferenceExpression ref
com.intellij.psi.PsiAnnotationMemberValue element
com.intellij.psi.PsiModifierList modifierList
public void visitCallExpression (com.intellij.psi.PsiCallExpression)
com.intellij.psi.PsiExpression argument
com.intellij.psi.PsiType argumentType
com.intellij.psi.PsiType parameterType
int i
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiParameter[] parameters
com.intellij.psi.PsiExpressionList argumentList
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiParameterList parameterList
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiCallExpression expression
com.intellij.psi.PsiMethod method
private boolean checkRequiresApi (com.intellij.psi.PsiCallExpression, com.intellij.psi.PsiMethod, com.intellij.psi.PsiModifierList)
com.android.tools.lint.detector.api.Location location
String fqcn
String message
int target
int api
int minSdk
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiCallExpression expression
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiModifierList modifierList
public void visitLocalVariable (com.intellij.psi.PsiLocalVariable)
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiExpression initializer
com.intellij.psi.PsiType initializerType
com.intellij.psi.PsiType interfaceType
public void visitAssignmentExpression (com.intellij.psi.PsiAssignmentExpression)
com.intellij.psi.PsiAssignmentExpression expression
com.intellij.psi.PsiExpression rExpression
com.intellij.psi.PsiType rhsType
com.intellij.psi.PsiType interfaceType
public void visitTryStatement (com.intellij.psi.PsiTryStatement)
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.client.api.LintDriver driver
int api
int minSdk
com.intellij.psi.PsiTypeElement typeElement
com.intellij.psi.PsiParameter parameter
com.intellij.psi.PsiTryStatement statement
com.intellij.psi.PsiResourceList resourceList
private void checkCatchTypeElement (com.intellij.psi.PsiTryStatement, com.intellij.psi.PsiTypeElement, com.intellij.psi.PsiType)
com.intellij.psi.PsiTypeElement childTypeElement
com.intellij.psi.PsiType childType
com.intellij.psi.PsiElement child
com.intellij.psi.PsiDisjunctionType disjunctionType
String signature
int api
int minSdk
int target
com.android.tools.lint.detector.api.Location location
String fqcn
String message
com.intellij.psi.PsiTryStatement statement
com.intellij.psi.PsiTypeElement typeElement
com.intellij.psi.PsiType type
com.intellij.psi.PsiClass resolved
private boolean checkField (com.intellij.psi.PsiElement, com.intellij.psi.PsiField)
com.intellij.psi.PsiJavaCodeReferenceElement reference
String fqcn
com.android.tools.lint.client.api.LintDriver driver
String message
com.android.tools.lint.detector.api.Location location
int minSdk
com.intellij.psi.PsiElement node
com.intellij.psi.PsiField field
com.intellij.psi.PsiType type
String name
com.intellij.psi.PsiClass containingClass
String owner
int api
void (com.android.tools.lint.checks.ApiDetector, com.android.tools.lint.detector.api.JavaContext, com.android.tools.lint.checks.ApiDetector$1)
com.android.tools.lint.checks.ApiDetector x0
com.android.tools.lint.detector.api.JavaContext x1
com.android.tools.lint.checks.ApiDetector$1 x2
}
com/android/tools/lint/checks/LayoutConsistencyDetector.classLayoutConsistencyDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LayoutConsistencyDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private final java.util.Map mMap
private final java.util.Set mRelevantIds
private java.util.Map mLocations
private java.util.Map mErrorMessages
public static final com.android.tools.lint.detector.api.Issue INCONSISTENT_IDS
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
java.util.Map fileMap
String name
java.util.Map map
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
org.w3c.dom.Element root
private java.util.List getFileMapList (com.android.tools.lint.detector.api.XmlContext)
com.android.tools.lint.detector.api.XmlContext context
String name
java.util.List list
private static java.lang.String getId (org.w3c.dom.Element)
org.w3c.dom.Element element
String id
private static void addIds (org.w3c.dom.Element, java.util.Map)
String s
org.w3c.dom.Node child
int i
org.w3c.dom.Element element
java.util.Map map
String id
org.w3c.dom.NodeList childNodes
private static void lookupLocations (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.util.Map)
java.util.List locations
org.w3c.dom.Attr attr
com.android.tools.lint.detector.api.Location location
String folder
org.w3c.dom.Node child
int i
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
java.util.Map map
String id
org.w3c.dom.NodeList childNodes
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String layout
java.util.List files
java.util.Map$Entry entry
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.client.api.LintDriver driver
private java.util.Set stripIrrelevantIds (java.util.Set)
java.util.Set stripped
java.util.Set ids
private void checkConsistentIds (java.lang.String, java.util.List)
java.util.List list
String id
java.io.File file
String folder
java.util.Set ids
java.util.Map$Entry entry
String message
String message
java.util.List layouts
java.util.Set missingSet
java.util.List missing
String id
String layout
java.util.List files
int layoutCount
java.util.Map idMap
java.util.Set inconsistent
int idCount
java.util.Map presence
java.util.Set allLayouts
java.util.Map map
java.util.Map messages
private static java.util.Set getInconsistentIds (java.util.Map)
java.util.Set missing
java.util.Set ids
java.util.Map$Entry entry
java.util.Map idMap
java.util.Set union
java.util.Set inconsistent
private static java.util.Set getAllIds (java.util.Map)
java.util.Map idMap
java.util.Iterator iterator
java.util.Set union
private java.util.Map getIdMap (java.util.List, int)
java.io.File file
java.util.Map typeMap
java.util.Set ids
com.android.utils.Pair pair
java.util.List files
int layoutCount
java.util.Map idMap
private void reportErrors (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location location
String message
java.util.List locations
String id
java.util.Map locationMap
java.util.Map messageMap
java.util.List ids
String layout
com.android.tools.lint.detector.api.Context context
java.util.List layouts
private static com.android.tools.lint.detector.api.Location chainLocations (java.util.List)
com.android.tools.lint.detector.api.Location next
java.util.Iterator iterator
com.android.tools.lint.detector.api.Location prev
java.util.List locations
public boolean appliesToResourceRefs ()
public void visitResourceReference (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiElement, com.android.resources.ResourceType, java.lang.String, boolean)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiElement node
com.android.resources.ResourceType type
String name
boolean isFramework
static void ()
}
com/android/tools/lint/checks/RecyclerViewDetector$ParameterEscapesVisitor.classRecyclerViewDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.RecyclerViewDetector$ParameterEscapesVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
protected final com.android.tools.lint.detector.api.JavaContext mContext
protected final java.util.List mVariables
private final com.intellij.psi.PsiClass mBindClass
private boolean mEscapes
private boolean mFoundInnerClass
private java.util.List mDataBinders
public void (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass, com.intellij.psi.PsiParameter)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass bindClass
com.intellij.psi.PsiParameter variable
public boolean variableEscapes ()
public void visitLocalVariable (com.intellij.psi.PsiLocalVariable)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiExpression initializer
public void visitAssignmentExpression (com.intellij.psi.PsiAssignmentExpression)
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiElement resolvedLhs
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiAssignmentExpression node
com.intellij.psi.PsiExpression rhs
boolean clearLhs
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
com.intellij.psi.PsiClass outer
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiReferenceExpression node
public void visitNewExpression (com.intellij.psi.PsiNewExpression)
com.intellij.psi.PsiNewExpression expression
public java.util.List getDataBinders ()
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression expression
com.intellij.psi.PsiReferenceExpression methodExpression
com.intellij.psi.PsiExpression qualifier
com.intellij.psi.PsiField dataBinder
}
com/android/tools/lint/checks/LeakDetector$FieldChecker.classLeakDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.LeakDetector$FieldChecker extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitField (com.intellij.psi.PsiField)
String message
String message
com.intellij.psi.PsiType innerType
com.intellij.psi.PsiClass innerCls
com.intellij.psi.PsiField referenced
int count
com.intellij.psi.PsiField field
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiType type
String fqn
com.intellij.psi.PsiClass cls
private void report (com.intellij.psi.PsiField, com.intellij.psi.PsiModifierList, java.lang.String)
com.intellij.psi.PsiField field
com.intellij.psi.PsiModifierList modifierList
String message
com.android.tools.lint.detector.api.Location location
}
com/android/tools/lint/checks/HardcodedValuesDetector.classHardcodedValuesDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.HardcodedValuesDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.Collection getApplicableAttributes ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String tagName
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
static void ()
}
com/android/tools/lint/checks/ManifestResourceDetector.classManifestResourceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ManifestResourceDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.Map mManifestLocations
public void ()
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
private void checkManifest (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.ide.common.res2.AbstractResourceRepository repository
org.w3c.dom.Element root
private void visit (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, com.android.ide.common.res2.AbstractResourceRepository)
org.w3c.dom.Attr attribute
org.w3c.dom.Node node
String value
int i
int n
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
com.android.ide.common.res2.AbstractResourceRepository repository
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.NodeList children
private static boolean isAllowedToVary (org.w3c.dom.Attr)
org.w3c.dom.Attr attribute
String name
private void checkReference (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr, java.lang.String, com.android.ide.common.res2.AbstractResourceRepository)
String qualifiers
com.android.ide.common.res2.ResourceItem item
String message
java.util.List list
java.util.List items
com.google.common.collect.Multimap typeMap
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
com.android.ide.common.res2.AbstractResourceRepository repository
com.android.ide.common.resources.ResourceUrl url
private void checkResourceFile (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
String tag
String typeString
com.android.resources.ResourceType type
org.w3c.dom.Element item
String name
org.w3c.dom.Node child
int i
int n
org.w3c.dom.NodeList children
org.w3c.dom.Element root
com.android.resources.ResourceType type
java.util.List types
String name
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
java.io.File parentFile
String parentName
int index
String qualifiers
com.android.resources.ResourceFolderType folderType
private void reportIfFound (com.android.tools.lint.detector.api.XmlContext, java.lang.String, java.lang.String, com.android.resources.ResourceType, org.w3c.dom.Node)
com.android.tools.lint.detector.api.Location secondaryLocation
String message
com.android.tools.lint.detector.api.Location location
java.util.Collection locations
com.android.tools.lint.detector.api.XmlContext context
String qualifiers
String name
com.android.resources.ResourceType type
org.w3c.dom.Node secondary
com.google.common.collect.Multimap typeMap
private static java.lang.String getErrorMessage (java.lang.String)
String qualifiers
static void ()
}
com/android/tools/lint/checks/ControlFlowGraph.classControlFlowGraph.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ControlFlowGraph extends java.lang.Object {
private java.util.Map mNodeMap
private org.objectweb.asm.tree.MethodNode mMethod
private static java.util.Map sIds
private static int sNextId
private static String[] sOpcodeNames
public void ()
public static com.android.tools.lint.checks.ControlFlowGraph create (com.android.tools.lint.checks.ControlFlowGraph, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode) throws org.objectweb.asm.tree.analysis.AnalyzerException
com.android.tools.lint.checks.ControlFlowGraph initial
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
com.android.tools.lint.checks.ControlFlowGraph graph
org.objectweb.asm.tree.InsnList instructions
org.objectweb.asm.tree.analysis.Analyzer analyzer
private boolean isConnected (com.android.tools.lint.checks.ControlFlowGraph$Node, com.android.tools.lint.checks.ControlFlowGraph$Node, java.util.Set)
com.android.tools.lint.checks.ControlFlowGraph$Node successor
com.android.tools.lint.checks.ControlFlowGraph$Node successor
com.android.tools.lint.checks.ControlFlowGraph$Node from
com.android.tools.lint.checks.ControlFlowGraph$Node to
java.util.Set seen
java.util.List successors
java.util.List exceptions
public boolean isConnected (com.android.tools.lint.checks.ControlFlowGraph$Node, com.android.tools.lint.checks.ControlFlowGraph$Node)
com.android.tools.lint.checks.ControlFlowGraph$Node from
com.android.tools.lint.checks.ControlFlowGraph$Node to
public boolean isConnected (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
protected void add (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
protected void exception (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
protected void exception (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.TryCatchBlockNode)
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.TryCatchBlockNode tcb
org.objectweb.asm.tree.LabelNode start
org.objectweb.asm.tree.LabelNode end
org.objectweb.asm.tree.AbstractInsnNode curr
com.android.tools.lint.checks.ControlFlowGraph$Node handlerNode
public com.android.tools.lint.checks.ControlFlowGraph$Node getNode (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode instruction
com.android.tools.lint.checks.ControlFlowGraph$Node node
public java.lang.String toString (com.android.tools.lint.checks.ControlFlowGraph$Node)
org.objectweb.asm.tree.AbstractInsnNode curr
com.android.tools.lint.checks.ControlFlowGraph$Node node
com.android.tools.lint.checks.ControlFlowGraph$Node start
StringBuilder sb
org.objectweb.asm.tree.AbstractInsnNode curr
public java.lang.String toString ()
private static java.lang.String getId (java.lang.Object)
Object object
String id
public java.lang.String toDot (java.util.Set)
com.android.tools.lint.checks.ControlFlowGraph$Node to
com.android.tools.lint.checks.ControlFlowGraph$Node to
com.android.tools.lint.checks.ControlFlowGraph$Node node
com.android.tools.lint.checks.ControlFlowGraph$Node node
java.util.Set highlight
StringBuilder sb
org.objectweb.asm.tree.AbstractInsnNode instruction
private static java.lang.String dotDescribe (com.android.tools.lint.checks.ControlFlowGraph$Node)
org.objectweb.asm.tree.LineNumberNode lineNode
org.objectweb.asm.tree.MethodInsnNode method
String cls
org.objectweb.asm.tree.FieldInsnNode field
String cls
org.objectweb.asm.tree.IntInsnNode in
org.objectweb.asm.tree.LdcInsnNode ldc
com.android.tools.lint.checks.ControlFlowGraph$Node node
org.objectweb.asm.tree.AbstractInsnNode instruction
StringBuilder sb
String opcodeName
private static java.lang.String getOpcodeName (int)
String name
int val
java.lang.reflect.Field field
java.lang.reflect.Field[] fields
Exception e
String name
int opcode
static java.lang.String access$000 (java.lang.Object)
Object x0
static java.lang.String access$100 (int)
int x0
static void ()
}
com/android/tools/lint/checks/ApiPackage.classApiPackage.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ApiPackage extends java.lang.Object implements java.lang.Comparable {
private final String mName
private final java.util.List mClasses
int indexOffset
void (java.lang.String)
String name
public java.lang.String getName ()
public java.util.List getClasses ()
void addClass (com.android.tools.lint.checks.ApiClass)
com.android.tools.lint.checks.ApiClass clz
public int compareTo (com.android.tools.lint.checks.ApiPackage)
com.android.tools.lint.checks.ApiPackage other
public java.lang.String toString ()
public volatile int compareTo (java.lang.Object)
}
com/android/tools/lint/checks/SecureRandomGeneratorDetector.classSecureRandomGeneratorDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SecureRandomGeneratorDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
private static final String OWNER_SECURE_RANDOM
private static final String BLOG_URL
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String WRAP
private static final String UNWRAP
private static final String INIT
private static final String INIT_SIGN
private static final String GET_INSTANCE
private static final String FOR_NAME
private static final String JAVA_LANG_CLASS
private static final String JAVAX_CRYPTO_KEY_GENERATOR
private static final String JAVAX_CRYPTO_KEY_AGREEMENT
private static final String JAVA_SECURITY_KEY_PAIR_GENERATOR
private static final String JAVAX_CRYPTO_SIGNATURE
private static final String JAVAX_CRYPTO_CIPHER
private static final String JAVAX_NET_SSL_SSLENGINE
private com.android.tools.lint.detector.api.Location mLocation
private boolean mIgnore
static final boolean $assertionsDisabled
public void ()
public java.util.List getApplicableCallOwners ()
public java.util.List getApplicableCallNames ()
public void checkCall (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode)
Object cst
org.objectweb.asm.tree.AbstractInsnNode prev
int i
int opcode
int arity
org.objectweb.asm.tree.AbstractInsnNode node
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode call
String owner
String name
boolean warn
static int getDescArity (java.lang.String)
char c
int i
int max
String desc
int arity
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String message
com.android.tools.lint.detector.api.Context context
static void ()
}
com/android/tools/lint/checks/AddJavascriptInterfaceDetector.classAddJavascriptInterfaceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AddJavascriptInterfaceDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String WEB_VIEW
private static final String ADD_JAVASCRIPT_INTERFACE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
String message
static void ()
}
com/android/tools/lint/checks/UnusedResourceDetector$UnusedResourceVisitor$1.classUnusedResourceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceVisitor$1 extends com.intellij.psi.JavaRecursiveElementVisitor {
final com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceVisitor this$1
void (com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceVisitor)
com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceVisitor this$1
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
com.android.ide.common.resources.ResourceUrl url
com.intellij.psi.PsiReferenceExpression expression
com.intellij.psi.PsiElement resolved
}
com/android/tools/lint/checks/PermissionFinder$1.classPermissionFinder.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.PermissionFinder$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tools$lint$checks$PermissionFinder$Operation
static void ()
}
com/android/tools/lint/checks/CutPasteDetector.classCutPasteDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CutPasteDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private com.intellij.psi.PsiMethod mLastMethod
private java.util.Map mIds
private java.util.Map mLhs
private java.util.Map mCallOperands
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethodCallExpression earlierCall
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
com.intellij.psi.PsiReferenceExpression type
com.intellij.psi.PsiReferenceExpression psiReferenceExpression
String id
com.intellij.psi.PsiElement operand
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod calledMethod
String lhs
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiReferenceExpression methodExpression
String callOperand
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiExpression first
private static java.lang.String getLhs (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiArrayAccessExpression aa
com.intellij.psi.PsiBinaryExpression be
com.intellij.psi.PsiExpression left
com.intellij.psi.PsiArrayAccessExpression aa
com.intellij.psi.PsiExpression left
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiElement parent
static boolean isReachableFrom (com.intellij.psi.PsiMethod, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement)
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiElement from
com.intellij.psi.PsiElement to
com.intellij.psi.PsiElement prev
com.intellij.psi.PsiElement curr
static com.intellij.psi.PsiElement next (com.intellij.psi.PsiMethod, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement)
com.intellij.psi.PsiStatement continuedStatement
com.intellij.psi.PsiStatement exitedStatement
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiElement curr
com.intellij.psi.PsiElement target
com.intellij.psi.PsiElement prev
com.intellij.psi.PsiElement parent
com.intellij.psi.PsiElement sibling
private static boolean containsElement (com.intellij.psi.PsiMethod, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement)
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiElement root
com.intellij.psi.PsiElement element
static void ()
}
com/android/tools/lint/checks/FragmentDetector.classFragmentDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.FragmentDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
String message
com.intellij.psi.PsiElement locationNode
String message
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
String message
com.intellij.psi.PsiMethod constructor
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass node
com.android.tools.lint.client.api.JavaEvaluator evaluator
boolean hasDefaultConstructor
boolean hasConstructor
static void ()
}
com/android/tools/lint/checks/DeprecationDetector.classDeprecationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.DeprecationDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public java.util.Collection getApplicableAttributes ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tagName
String message
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String fix
String fix
String fix
String fix
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String name
String fix
int minSdk
static void ()
}
com/android/tools/lint/checks/OverdrawDetector.classOverdrawDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.OverdrawDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final String SET_THEME
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.Map mActivityToTheme
private String mManifestTheme
private java.util.Map mLayoutToActivity
private java.util.List mBlankThemes
private java.util.List mValidDrawables
private java.util.List mRootAttributes
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
private boolean isBlankTheme (java.lang.String)
String name
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String drawable
String message
com.android.tools.lint.detector.api.Location location
Object clientData
String layoutName
String theme
com.android.utils.Pair pair
com.android.tools.lint.detector.api.Context context
private java.lang.String getTheme (com.android.tools.lint.detector.api.Context, java.lang.String)
String theme
String activity
java.util.List activities
com.android.tools.lint.detector.api.Context context
String layoutName
com.android.tools.lint.detector.api.Project project
int apiLevel
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String background
String name
com.android.tools.lint.detector.api.Location location
String activity
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
org.w3c.dom.Element documentElement
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
String resource
java.io.File parent
com.android.resources.ResourceFolderType type
com.android.tools.lint.detector.api.Context context
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
private static java.lang.String getDrawableResource (java.io.File)
java.io.File drawableFile
String resource
private void scanBitmap (com.android.tools.lint.detector.api.Context, org.w3c.dom.Element)
String resource
com.android.tools.lint.detector.api.Context context
org.w3c.dom.Element element
String tileMode
private void scanActivity (com.android.tools.lint.detector.api.Context, org.w3c.dom.Element)
String pkg
com.android.tools.lint.detector.api.Context context
org.w3c.dom.Element element
String name
String theme
private void scanTheme (org.w3c.dom.Element)
int index
String text
String trim
org.w3c.dom.Node textNode
int j
int m
org.w3c.dom.NodeList textNodes
org.w3c.dom.Element item
String name
int i
int n
org.w3c.dom.Element element
String styleName
String parent
String resource
org.w3c.dom.NodeList items
private void registerLayoutActivity (java.lang.String, java.lang.String)
String layout
String classFqn
java.util.List list
public java.util.List applicableSuperClasses ()
public java.util.List getApplicablePsiTypes ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
String name
static void access$000 (com.android.tools.lint.checks.OverdrawDetector, java.lang.String, java.lang.String)
com.android.tools.lint.checks.OverdrawDetector x0
String x1
String x2
static java.util.Map access$100 (com.android.tools.lint.checks.OverdrawDetector)
com.android.tools.lint.checks.OverdrawDetector x0
static java.util.Map access$102 (com.android.tools.lint.checks.OverdrawDetector, java.util.Map)
com.android.tools.lint.checks.OverdrawDetector x0
java.util.Map x1
static void ()
}
com/android/tools/lint/checks/ViewHolderDetector.classViewHolderDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ViewHolderDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String GET_VIEW
static final String INFLATE
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/TypoLookup.classTypoLookup.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TypoLookup extends java.lang.Object {
private static final com.android.tools.lint.checks.TypoLookup NONE
private static final String WORD_SEPARATOR
private static final String XML_FILE_PATH
private static final String FILE_HEADER
private static final int BINARY_FORMAT_VERSION
private static final boolean DEBUG_FORCE_REGENERATE_BINARY
private static final boolean DEBUG_SEARCH
private static final boolean WRITE_STATS
private static final int BYTES_PER_ENTRY
private byte[] mData
private int[] mIndices
private int mWordCount
private static final java.util.WeakHashMap sInstanceMap
static final boolean $assertionsDisabled
public static com.android.tools.lint.checks.TypoLookup get (com.android.tools.lint.client.api.LintClient, java.lang.String, java.lang.String)
String build
String path
java.io.File file
String key
com.android.tools.lint.checks.TypoLookup db
com.android.tools.lint.client.api.LintClient client
String locale
String region
private static com.android.tools.lint.checks.TypoLookup get (com.android.tools.lint.client.api.LintClient, java.io.File)
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
String name
java.io.File cacheDir
java.io.File binaryData
private static boolean createCache (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File)
java.util.List lines
java.io.IOException e
java.io.IOException ioe
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File binaryData
long begin
java.util.List lines
private void (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File)
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File binaryFile
private void ()
private void readData (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File)
byte anExpectedHeader
int i
java.nio.MappedByteBuffer buffer
byte[] expectedHeader
int count
int[] offsets
int size
byte[] b
java.io.IOException e
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File binaryFile
long start
private static void writeDatabase (java.io.File, java.util.List) throws java.io.IOException
int end
String typo
String replacements
String combined
String line
String word
int i
int n
int i
int n
byte[] word
java.io.File file
java.util.List lines
java.util.List words
byte[][] wordArrays
java.util.Comparator comparator
byte[] headerBytes
int entryCount
int capacity
java.nio.ByteBuffer buffer
int wordOffsetTable
int nextEntry
int nextOffset
int size
byte[] b
com.google.common.io.ByteSink sink
private java.lang.String dumpEntry (int)
int offset
static int compare (byte[], int, byte, java.lang.CharSequence, int, int)
char c
int max
byte b
char c
byte cb
int delta
byte[] data
int offset
byte terminator
CharSequence s
int begin
int end
int i
int j
static int compare (byte[], int, byte, byte[], int, int)
byte cb
int max
byte b
byte cb
int delta
byte[] data
int offset
byte terminator
byte[] s
int begin
int end
int i
int j
public java.util.List getTypos (java.lang.CharSequence, int, int)
char c
int i
int globEnd
byte b
char c
byte cb
int i
String glob
int middle
int offset
int compare
CharSequence text
int begin
int end
int low
int high
public java.util.List getTypos (byte[], int, int)
int globEnd
byte b
byte cb
int i
String glob
int middle
int offset
int compare
byte[] utf8Text
int begin
int end
int low
int high
private java.util.List computeSuggestions (int, int, java.lang.String)
String s
int begin
int offset
String glob
String typo
int replacementEnd
String replacements
java.util.List words
static boolean isUpperCase (byte)
byte b
static byte toLowerCase (byte)
byte b
static boolean isSpace (byte)
byte b
static boolean isLetter (byte)
byte b
static void ()
}
com/android/tools/lint/checks/CommentDetector$CommentChecker.classCommentDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.CommentDetector$CommentChecker extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitComment (com.intellij.psi.PsiComment)
com.intellij.psi.PsiComment comment
String contents
}
com/android/tools/lint/checks/RtlDetector.classRtlDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.RtlDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue USE_START
public static final com.android.tools.lint.detector.api.Issue COMPAT
public static final com.android.tools.lint.detector.api.Issue SYMMETRY
public static final com.android.tools.lint.detector.api.Issue ENABLED
private static final String RIGHT_FIELD
private static final String LEFT_FIELD
private static final String FQCN_GRAVITY
private static final String ATTR_TEXT_ALIGNMENT
static final String ATTR_SUPPORTS_RTL
private static final int RTL_API
private static final String LEFT
private static final String START
private static final String RIGHT
private static final String END
private Boolean mEnabledRtlSupport
private boolean mUsesRtlAttributes
static final String[] ATTRIBUTES
static final boolean $assertionsDisabled
public void ()
private boolean rtlApplies (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Project project
int buildTarget
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location location
java.util.List manifestFile
com.android.tools.lint.detector.api.Context context
public static boolean isRtlAttributeName (java.lang.String)
int i
String attribute
static java.lang.String convertOldToNew (java.lang.String)
String attribute
static java.lang.String convertNewToOld (java.lang.String)
String attribute
static java.lang.String convertToOppositeDirection (java.lang.String)
String attribute
static java.lang.String getTextAlignmentToGravity (java.lang.String)
String attribute
public java.util.Collection getApplicableAttributes ()
int size
java.util.List attributes
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String message
int targetSdk
String gravity
org.w3c.dom.Attr gravityNode
String gravity
org.w3c.dom.Attr gravityNode
String message
String expectedGravity
int folderVersion
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
org.w3c.dom.Element element
String gravity
org.w3c.dom.Attr gravityNode
String expectedGravity
boolean isLeft
boolean isRight
String message
String oldValue
String message
String opposite
String message
String message
String message
String rtl
int folderVersion
String old
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
com.android.tools.lint.detector.api.Project project
String value
String name
int targetSdk
org.w3c.dom.Element element
boolean isPaddingAttribute
boolean isOld
private static boolean isOldAttribute (java.lang.String)
String name
private static boolean isMarginAttribute (java.lang.String)
String name
private static boolean isPaddingAttribute (java.lang.String)
String name
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
String replace
String with
int i
}
com/android/tools/lint/checks/AppIndexingApiDetector$MethodVisitor.classAppIndexingApiDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.AppIndexingApiDetector$MethodVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
private final com.intellij.psi.PsiClass mCls
private final java.util.List mStartMethods
private final java.util.List mEndMethods
private final java.util.List mConnectMethods
private final java.util.List mDisconnectMethods
private boolean mHasAddAppIndexApi
void (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass cls
public void visitClass (com.intellij.psi.PsiClass)
com.intellij.psi.PsiClass aClass
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression[] args
com.intellij.psi.PsiMethodCallExpression node
String methodName
com.android.tools.lint.client.api.JavaEvaluator evaluator
public void visitAnonymousClass (com.intellij.psi.PsiAnonymousClass)
com.intellij.psi.PsiAnonymousClass aClass
private void report ()
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethodCallExpression call
String message
String message
com.intellij.psi.PsiExpression[] expressions
com.intellij.psi.PsiExpression startClient
com.intellij.psi.PsiMethodCallExpression startNode
String message
String message
com.intellij.psi.PsiExpression[] expressions
com.intellij.psi.PsiExpression endClient
com.intellij.psi.PsiMethodCallExpression endNode
java.util.Set activitiesToCheck
boolean hasIntent
}
com/android/tools/lint/checks/UnsafeBroadcastReceiverDetector.classUnsafeBroadcastReceiverDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner com.android.tools.lint.detector.api.Detector$XmlScanner {
public static final com.android.tools.lint.detector.api.Issue ACTION_STRING
public static final com.android.tools.lint.detector.api.Issue BROADCAST_SMS
static final String[] PROTECTED_BROADCASTS
private static final java.util.Set PROTECTED_BROADCAST_SET
private final java.util.Set mReceiversWithProtectedBroadcastIntentFilter
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Element parent
String actionName
org.w3c.dom.Element child2
java.util.List children2
String tagName
org.w3c.dom.Element child
String name
String permission
java.util.List children
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.intellij.psi.PsiMethod method
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
String name
String qualifiedName
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static void checkOnReceive (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
String report
String report
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiParameter parameter
com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector$OnReceiveVisitor visitor
static void ()
}
com/android/tools/lint/checks/LabelForDetector.classLabelForDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LabelForDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.Set mLabels
private java.util.List mTextFields
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
String message
com.android.tools.lint.detector.api.XmlContext xmlContext
com.android.tools.lint.detector.api.Location location
String message
String id
boolean missing
org.w3c.dom.Element element
com.android.tools.lint.detector.api.Context context
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
static void ()
}
com/android/tools/lint/checks/TrustAllX509TrustManagerDetector.classTrustAllX509TrustManagerDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TrustAllX509TrustManagerDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner com.android.tools.lint.detector.api.Detector$ClassScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass cls
private static void checkMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass, java.lang.String)
com.intellij.psi.PsiStatement statement
com.android.tools.lint.detector.api.Location location
String message
boolean complex
com.intellij.psi.PsiCodeBlock body
com.intellij.psi.PsiMethod method
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass cls
String methodName
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static java.lang.String getErrorMessage (java.lang.String)
String methodName
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.AbstractInsnNode instruction
int type
int i
int n
com.android.tools.lint.detector.api.Location location
org.objectweb.asm.tree.InsnList nodes
boolean emptyMethod
org.objectweb.asm.tree.MethodNode method
Object m
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List methodList
static void ()
}
com/android/tools/lint/checks/WrongCaseDetector.classWrongCaseDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WrongCaseDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue WRONG_CASE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
String correct
public static java.lang.String getOldValue (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
public static java.lang.String getNewValue (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
static void ()
}
com/android/tools/lint/checks/AccessibilityDetector.classAccessibilityDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AccessibilityDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
org.w3c.dom.Element element
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr attributeNode
String attribute
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
static void ()
}
com/android/tools/lint/checks/UselessViewDetector.classUselessViewDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.UselessViewDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue USELESS_PARENT
public static final com.android.tools.lint.detector.api.Issue USELESS_LEAF
private static final java.util.List CONTAINERS
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int childCount
private static void checkUselessMiddleLayout (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String format
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node parentNode
org.w3c.dom.Element parent
String parentTag
int parentChildCount
boolean nodeHasBackground
boolean parentHasBackground
boolean hasId
com.android.tools.lint.detector.api.Location location
String tag
String format
String message
private static void checkUselessLeaf (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
com.android.tools.lint.detector.api.Location location
String tag
String message
static void ()
}
com/android/tools/lint/checks/SslCertificateSocketFactoryDetector.classSslCertificateSocketFactoryDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SslCertificateSocketFactoryDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_JAVA
public static final com.android.tools.lint.detector.api.Issue CREATE_SOCKET
public static final com.android.tools.lint.detector.api.Issue GET_INSECURE
private static final String INET_ADDRESS_CLASS
private static final String SSL_CERTIFICATE_SOCKET_FACTORY_CLASS
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiType type
com.intellij.psi.PsiExpression[] args
String methodName
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
static void ()
}
com/android/tools/lint/checks/SupportAnnotationDetector.classSupportAnnotationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SupportAnnotationDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue RANGE
public static final com.android.tools.lint.detector.api.Issue RESOURCE_TYPE
public static final com.android.tools.lint.detector.api.Issue COLOR_USAGE
public static final com.android.tools.lint.detector.api.Issue TYPE_DEF
public static final com.android.tools.lint.detector.api.Issue CHECK_RESULT
public static final com.android.tools.lint.detector.api.Issue CHECK_PERMISSION
public static final com.android.tools.lint.detector.api.Issue MISSING_PERMISSION
public static final com.android.tools.lint.detector.api.Issue THREAD
public static final String CHECK_RESULT_ANNOTATION
public static final String INT_RANGE_ANNOTATION
public static final String FLOAT_RANGE_ANNOTATION
public static final String SIZE_ANNOTATION
public static final String PERMISSION_ANNOTATION
public static final String UI_THREAD_ANNOTATION
public static final String MAIN_THREAD_ANNOTATION
public static final String WORKER_THREAD_ANNOTATION
public static final String BINDER_THREAD_ANNOTATION
public static final String ANY_THREAD_ANNOTATION
public static final String PERMISSION_ANNOTATION_READ
public static final String PERMISSION_ANNOTATION_WRITE
public static final String THREAD_SUFFIX
public static final String ATTR_SUGGEST
public static final String ATTR_TO
public static final String ATTR_FROM
public static final String ATTR_FROM_INCLUSIVE
public static final String ATTR_TO_INCLUSIVE
public static final String ATTR_MULTIPLE
public static final String ATTR_MIN
public static final String ATTR_MAX
public static final String ATTR_ALL_OF
public static final String ATTR_ANY_OF
public static final String ATTR_CONDITIONAL
private com.android.tools.lint.checks.PermissionHolder mPermissions
static final boolean $assertionsDisabled
public void ()
private void checkMethodAnnotation (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod, com.intellij.psi.PsiElement, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiAnnotation[], com.intellij.psi.PsiAnnotation[])
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiElement call
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] allMethodAnnotations
com.intellij.psi.PsiAnnotation[] allClassAnnotations
String signature
private void checkParameterAnnotations (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiExpression, com.intellij.psi.PsiCall, com.intellij.psi.PsiMethod, com.intellij.psi.PsiAnnotation[])
boolean flag
String typeString
com.android.resources.ResourceType type
String s
com.intellij.psi.PsiAnnotation a
java.util.EnumSet types
String signature
com.intellij.psi.PsiAnnotation annotation
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiExpression argument
com.intellij.psi.PsiCall call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiAnnotation[] annotations
boolean handledResourceTypes
private static java.util.EnumSet getAnyRes ()
java.util.EnumSet types
private void checkParameterPermission (com.android.tools.lint.detector.api.JavaContext, java.lang.String, com.intellij.psi.PsiElement, com.intellij.psi.PsiMethod, com.intellij.psi.PsiExpression)
com.intellij.psi.PsiType type
com.android.tools.lint.detector.api.JavaContext context
String signature
com.intellij.psi.PsiElement call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression argument
com.android.tools.lint.checks.PermissionFinder$Operation operation
com.android.tools.lint.checks.PermissionFinder$Result result
private static void checkColor (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
com.intellij.psi.PsiConditionalExpression expression
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement argument
java.util.EnumSet types
private static void checkPx (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
com.intellij.psi.PsiConditionalExpression expression
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement argument
java.util.EnumSet types
private static boolean isIgnoredInIde (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
com.android.tools.lint.detector.api.Issue synonym
private void checkPermission (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, com.intellij.psi.PsiMethod, com.android.tools.lint.checks.PermissionFinder$Result, com.android.tools.lint.checks.PermissionRequirement)
com.android.tools.lint.checks.PermissionFinder$Operation operation
String name
String name
com.intellij.psi.PsiClass containingClass
com.android.tools.lint.checks.PermissionFinder$Operation operation
String name
String message
com.android.tools.lint.checks.SupportAnnotationDetector$CheckPermissionVisitor visitor
com.intellij.psi.PsiMethod methodNode
String message
boolean handlesMissingPermission
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
com.intellij.psi.PsiMethod method
com.android.tools.lint.checks.PermissionFinder$Result result
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionHolder permissions
private static boolean handlesSecurityException (com.intellij.psi.PsiElement)
com.intellij.psi.PsiType type
com.intellij.psi.PsiCatchSection psiCatchSection
com.intellij.psi.PsiTryStatement tryCatch
com.intellij.psi.PsiClassType type
com.intellij.psi.PsiElement node
com.intellij.psi.PsiElement parent
com.intellij.psi.PsiMethod declaration
private static com.android.tools.lint.checks.PermissionHolder addLocalPermissions (com.android.tools.lint.detector.api.JavaContext, com.android.tools.lint.checks.PermissionHolder, com.intellij.psi.PsiElement)
com.intellij.psi.PsiModifierList modifierList
com.android.tools.lint.detector.api.JavaContext context
com.android.tools.lint.checks.PermissionHolder permissions
com.intellij.psi.PsiElement node
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiClass containingClass
private static com.android.tools.lint.checks.PermissionHolder mergeAnnotationPermissions (com.android.tools.lint.detector.api.JavaContext, com.android.tools.lint.checks.PermissionHolder, com.intellij.psi.PsiAnnotation)
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.detector.api.JavaContext context
com.android.tools.lint.checks.PermissionHolder permissions
com.intellij.psi.PsiAnnotation annotation
public static java.lang.String getMissingPermissionMessage (com.android.tools.lint.checks.PermissionRequirement, java.lang.String, com.android.tools.lint.checks.PermissionHolder, com.android.tools.lint.checks.PermissionFinder$Operation)
com.android.tools.lint.checks.PermissionRequirement requirement
String callName
com.android.tools.lint.checks.PermissionHolder permissions
com.android.tools.lint.checks.PermissionFinder$Operation operation
public static java.lang.String getUnhandledPermissionMessage ()
private static boolean isSecurityException (com.intellij.psi.PsiType)
com.intellij.psi.PsiClass cls
com.intellij.psi.PsiType disjunction
com.intellij.psi.PsiType type
private com.android.tools.lint.checks.PermissionHolder getPermissions (com.android.tools.lint.detector.api.JavaContext)
java.io.File manifest
java.io.File manifest
com.android.tools.lint.detector.api.Project library
java.util.Set permissions
java.util.Set revocable
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project mainProject
com.android.sdklib.AndroidVersion minSdkVersion
com.android.sdklib.AndroidVersion targetSdkVersion
com.android.tools.lint.detector.api.JavaContext context
private static void addPermissions (com.android.tools.lint.client.api.LintClient, java.util.Set, java.util.Set, java.io.File)
org.w3c.dom.Element element
String name
String name
org.w3c.dom.Element element
String protectionLevel
org.w3c.dom.Node item
String nodeName
int i
int n
com.android.tools.lint.client.api.LintClient client
java.util.Set permissions
java.util.Set revocable
java.io.File manifest
org.w3c.dom.Document document
org.w3c.dom.Element root
org.w3c.dom.NodeList children
private static void checkResult (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, com.intellij.psi.PsiMethod, com.intellij.psi.PsiAnnotation)
String methodName
String suggested
com.android.tools.lint.detector.api.Issue issue
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiAnnotation annotation
private static void checkThreading (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, com.intellij.psi.PsiMethod, java.lang.String, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiAnnotation[], com.intellij.psi.PsiAnnotation[])
String s
com.intellij.psi.PsiAnnotation other
Boolean isFirst
String name
java.util.List targetThreads
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
com.intellij.psi.PsiMethod method
String signature
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] allMethodAnnotations
com.intellij.psi.PsiAnnotation[] allClassAnnotations
java.util.List threadContext
public static boolean containsAnnotation (com.intellij.psi.PsiAnnotation[], com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiAnnotation a
com.intellij.psi.PsiAnnotation[] array
com.intellij.psi.PsiAnnotation annotation
public static boolean containsThreadingAnnotation (com.intellij.psi.PsiAnnotation[])
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] array
public static boolean isThreadingAnnotation (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiAnnotation annotation
String signature
public static java.lang.String describeThreads (java.util.List, boolean)
int i
java.util.List annotations
boolean any
StringBuilder sb
public static java.lang.String describeThread (java.lang.String)
String annotation
public static boolean isCompatibleThread (java.util.List, java.lang.String)
String caller
java.util.List callers
String callee
public static boolean isCompatibleThread (java.lang.String, java.lang.String)
String caller
String callee
private static java.util.List getThreadContext (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement methodCall
com.intellij.psi.PsiMethod method
private static java.util.List getThreads (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
String name
com.intellij.psi.PsiAnnotation annotation
String name
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiModifierList modifierList
java.util.List result
com.intellij.psi.PsiClass cls
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
private static boolean isNumber (com.intellij.psi.PsiElement)
Object value
com.intellij.psi.PsiPrefixExpression expression
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiElement argument
private static boolean isZero (com.intellij.psi.PsiElement)
Object value
com.intellij.psi.PsiElement argument
private static boolean isMinusOne (com.intellij.psi.PsiElement)
Object value
com.intellij.psi.PsiPrefixExpression expression
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiElement argument
private static void checkResourceType (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, java.util.EnumSet, com.intellij.psi.PsiCall, com.intellij.psi.PsiMethod)
String message
String message
String message
String message
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement argument
java.util.EnumSet expectedType
com.intellij.psi.PsiCall call
com.intellij.psi.PsiMethod calledMethod
java.util.EnumSet actual
String message
public static boolean typeArrayFromArrayLiteral (com.intellij.psi.PsiElement)
int arg
com.intellij.psi.PsiType type
int arg
int arg
int arg
com.intellij.psi.PsiExpressionList argumentList
com.intellij.psi.PsiExpression[] expressions
com.intellij.psi.PsiMethodCallExpression expression
String name
com.intellij.psi.PsiField field
com.intellij.psi.PsiElement element
com.intellij.psi.PsiReferenceExpression reference
com.intellij.psi.PsiAssignmentExpression assign
com.intellij.psi.PsiExpression lhs
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiStatement prev
String targetName
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiStatement statement
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiNewExpression creation
com.intellij.psi.PsiType type
com.intellij.psi.PsiParenthesizedExpression parenthesizedExpression
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiTypeCastExpression castExpression
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiElement node
private static void checkIntRange (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement, com.intellij.psi.PsiAnnotation[])
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
com.intellij.psi.PsiAnnotation[] allAnnotations
String message
private static java.lang.String getIntRangeError (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement)
String error
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiNewExpression newExpression
com.intellij.psi.PsiArrayInitializerExpression initializer
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
Object object
long value
long from
long to
private static java.lang.String getIntRangeError (long, long, long)
StringBuilder sb
long value
long from
long to
String message
private static void checkFloatRange (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
Object object
double value
double from
double to
boolean fromInclusive
boolean toInclusive
String message
private static java.lang.String getFloatRangeError (double, double, double, boolean, boolean, com.intellij.psi.PsiElement)
String str
StringBuilder sb
double value
double from
double to
boolean fromInclusive
boolean toInclusive
com.intellij.psi.PsiElement node
private static void checkSize (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement)
com.intellij.psi.PsiExpression[] initializers
int actual
com.intellij.psi.PsiNewExpression newExpression
com.intellij.psi.PsiArrayInitializerExpression initializer
int actual
int actual
Object object
String unit
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
int actual
boolean isString
long exact
long min
long max
long multiple
String unit
String message
private static java.lang.String getSizeError (long, long, long, long, long, java.lang.String)
StringBuilder sb
long actual
long exact
long min
long max
long multiple
String unit
String message
private static com.intellij.psi.PsiAnnotation findIntRange (com.intellij.psi.PsiAnnotation[])
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] annotations
static com.intellij.psi.PsiAnnotation findIntDef (com.intellij.psi.PsiAnnotation[])
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] annotations
private static void checkTypeDefConstant (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement, boolean, com.intellij.psi.PsiAnnotation[])
String string
long v
Object value
com.intellij.psi.tree.IElementType operator
com.intellij.psi.PsiPrefixExpression expression
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiConditionalExpression expression
com.intellij.psi.tree.IElementType operator
com.intellij.psi.PsiBinaryExpression expression
com.intellij.psi.PsiField field
com.intellij.psi.PsiElement element
com.intellij.psi.PsiReferenceExpression reference
com.intellij.psi.PsiAssignmentExpression assign
com.intellij.psi.PsiExpression lhs
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiStatement prev
String targetName
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiStatement statement
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiType type
com.intellij.psi.PsiNewExpression newExpression
com.intellij.psi.PsiArrayInitializerExpression initializer
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
com.intellij.psi.PsiElement errorNode
boolean flag
com.intellij.psi.PsiAnnotation[] allAnnotations
private static void checkTypeDefConstant (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement, boolean, java.lang.Object, com.intellij.psi.PsiAnnotation[])
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiAnnotationMemberValue expression
com.intellij.psi.PsiField astNode
com.intellij.psi.PsiExpression initializer
com.intellij.psi.PsiArrayInitializerMemberValue initializerExpression
com.intellij.psi.PsiAnnotationMemberValue[] initializers
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
com.intellij.psi.PsiElement errorNode
boolean flag
Object value
com.intellij.psi.PsiAnnotation[] allAnnotations
com.intellij.psi.PsiAnnotation rangeAnnotation
com.intellij.psi.PsiAnnotationMemberValue allowed
private static void reportTypeDef (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement, com.intellij.psi.PsiAnnotation[])
com.intellij.psi.PsiArrayInitializerMemberValue initializerExpression
com.intellij.psi.PsiAnnotationMemberValue[] initializers
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiElement argument
com.intellij.psi.PsiElement errorNode
com.intellij.psi.PsiAnnotation[] allAnnotations
com.intellij.psi.PsiAnnotationMemberValue allowed
private static void reportTypeDef (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement, com.intellij.psi.PsiElement, boolean, com.intellij.psi.PsiAnnotationMemberValue[], com.intellij.psi.PsiAnnotation[])
String message
String rangeError
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
com.intellij.psi.PsiElement errorNode
boolean flag
com.intellij.psi.PsiAnnotationMemberValue[] allowedValues
com.intellij.psi.PsiAnnotation[] allAnnotations
String values
String message
com.intellij.psi.PsiAnnotation rangeAnnotation
private static com.intellij.psi.PsiAnnotationMemberValue getAnnotationValue (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiNameValuePair pair
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiNameValuePair[] attributes
private static java.lang.String listAllowedValues (com.intellij.psi.PsiAnnotationMemberValue[])
com.intellij.psi.PsiField field
String containingClassName
com.intellij.psi.PsiElement resolved
String s
com.intellij.psi.PsiAnnotationMemberValue allowedValue
com.intellij.psi.PsiAnnotationMemberValue[] allowedValues
StringBuilder sb
static double getDoubleAttribute (com.intellij.psi.PsiAnnotation, java.lang.String, double)
com.intellij.psi.PsiAnnotation annotation
String name
double defaultValue
Double value
static long getLongAttribute (com.intellij.psi.PsiAnnotation, java.lang.String, long)
com.intellij.psi.PsiAnnotation annotation
String name
long defaultValue
Long value
static boolean getBoolean (com.intellij.psi.PsiAnnotation, java.lang.String, boolean)
com.intellij.psi.PsiAnnotation annotation
String name
boolean defaultValue
Boolean value
static com.intellij.psi.PsiAnnotation[] filterRelevantAnnotations (com.intellij.psi.PsiAnnotation[])
com.intellij.psi.PsiAnnotation inner
String a
int j
com.intellij.psi.PsiAnnotation[] innerAnnotations
String signature
com.intellij.psi.PsiJavaCodeReferenceElement ref
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiClass cls
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] annotations
java.util.List result
int length
public java.util.List getApplicablePsiTypes ()
java.util.List types
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void access$000 (com.android.tools.lint.checks.SupportAnnotationDetector, com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod, com.intellij.psi.PsiElement, com.intellij.psi.PsiAnnotation, com.intellij.psi.PsiAnnotation[], com.intellij.psi.PsiAnnotation[])
com.android.tools.lint.checks.SupportAnnotationDetector x0
com.android.tools.lint.detector.api.JavaContext x1
com.intellij.psi.PsiMethod x2
com.intellij.psi.PsiElement x3
com.intellij.psi.PsiAnnotation x4
com.intellij.psi.PsiAnnotation[] x5
com.intellij.psi.PsiAnnotation[] x6
static void access$100 (com.android.tools.lint.checks.SupportAnnotationDetector, com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiExpression, com.intellij.psi.PsiCall, com.intellij.psi.PsiMethod, com.intellij.psi.PsiAnnotation[])
com.android.tools.lint.checks.SupportAnnotationDetector x0
com.android.tools.lint.detector.api.JavaContext x1
com.intellij.psi.PsiExpression x2
com.intellij.psi.PsiCall x3
com.intellij.psi.PsiMethod x4
com.intellij.psi.PsiAnnotation[] x5
static void ()
}
com/android/tools/lint/checks/PermissionHolder$SetPermissionLookup$1.classPermissionHolder.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.PermissionHolder$SetPermissionLookup$1 extends java.lang.Object implements com.android.tools.lint.checks.PermissionHolder {
final com.android.tools.lint.checks.PermissionHolder val$lookup
final java.util.Set val$permissions
void (com.android.tools.lint.checks.PermissionHolder, java.util.Set)
public boolean hasPermission (java.lang.String)
String permission
public boolean isRevocable (java.lang.String)
String permission
public com.android.sdklib.AndroidVersion getMinSdkVersion ()
public com.android.sdklib.AndroidVersion getTargetSdkVersion ()
}
com/android/tools/lint/checks/RecyclerViewDetector.classRecyclerViewDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.RecyclerViewDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue FIXED_POSITION
public static final com.android.tools.lint.detector.api.Issue DATA_BINDER
private static final String VIEW_ADAPTER
private static final String ON_BIND_VIEW_HOLDER
static final boolean $assertionsDisabled
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
int size
com.intellij.psi.PsiMethod method
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static void checkMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod, com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod declaration
com.intellij.psi.PsiClass cls
com.intellij.psi.PsiParameter[] parameters
com.intellij.psi.PsiParameter viewHolder
com.intellij.psi.PsiParameter parameter
com.android.tools.lint.checks.RecyclerViewDetector$ParameterEscapesVisitor visitor
java.util.List dataBinderReferences
private static void reportError (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiParameter, com.intellij.psi.PsiParameter)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiParameter viewHolder
com.intellij.psi.PsiParameter parameter
String variablePrefix
String message
private static void checkDataBinders (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod, java.util.List)
com.intellij.psi.PsiMethodCallExpression ref
com.intellij.psi.PsiStatement statement
com.intellij.psi.PsiMethodCallExpression reference
com.intellij.psi.PsiMethodCallExpression target
String message
com.intellij.psi.PsiExpression sourceBinderReference
com.intellij.psi.PsiField sourceDataBinder
boolean reachesTarget
com.intellij.psi.PsiMethodCallExpression source
java.util.List targets
java.util.List sources
java.util.Map parentToChildren
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod declaration
java.util.List references
private static boolean isExecutePendingBindingsCall (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression call
private static com.intellij.psi.PsiField getDataBinderReference (com.intellij.psi.PsiElement)
com.intellij.psi.PsiField field
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiElement element
static com.intellij.psi.PsiField access$000 (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement x0
static void ()
}
com/android/tools/lint/checks/PermissionRequirement$Single.classPermissionRequirement.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.PermissionRequirement$Single extends com.android.tools.lint.checks.PermissionRequirement {
public final String name
public void (com.intellij.psi.PsiAnnotation, java.lang.String)
com.intellij.psi.PsiAnnotation annotation
String name
public boolean isRevocable (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder revocable
public com.intellij.psi.tree.IElementType getOperator ()
public java.lang.Iterable getChildren ()
public boolean isSingle ()
public java.lang.String toString ()
public boolean isSatisfied (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder available
public java.lang.String describeMissingPermissions (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder available
protected void addMissingPermissions (com.android.tools.lint.checks.PermissionHolder, java.util.Set)
com.android.tools.lint.checks.PermissionHolder available
java.util.Set missing
protected void addRevocablePermissions (java.util.Set, com.android.tools.lint.checks.PermissionHolder)
java.util.Set result
com.android.tools.lint.checks.PermissionHolder revocable
}
com/android/tools/lint/checks/ViewConstructorDetector.classViewConstructorDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ViewConstructorDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
private static boolean isXmlConstructor (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiMethod)
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiParameterList parameterList
int argumentCount
com.intellij.psi.PsiParameter[] parameters
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.intellij.psi.PsiMethod constructor
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
com.android.tools.lint.client.api.JavaEvaluator evaluator
boolean found
static void ()
}
com/android/tools/lint/checks/PermissionFinder$Operation.classPermissionFinder.java
package com.android.tools.lint.checks
public final com.android.tools.lint.checks.PermissionFinder$Operation extends java.lang.Enum {
public static final com.android.tools.lint.checks.PermissionFinder$Operation CALL
public static final com.android.tools.lint.checks.PermissionFinder$Operation ACTION
public static final com.android.tools.lint.checks.PermissionFinder$Operation READ
public static final com.android.tools.lint.checks.PermissionFinder$Operation WRITE
private static final com.android.tools.lint.checks.PermissionFinder$Operation[] $VALUES
public static com.android.tools.lint.checks.PermissionFinder$Operation[] values ()
public static com.android.tools.lint.checks.PermissionFinder$Operation valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public java.lang.String prefix ()
static void ()
}
com/android/tools/lint/checks/CommentDetector.classCommentDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CommentDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final String STOPSHIP_COMMENT
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue EASTER_EGG
public static final com.android.tools.lint.detector.api.Issue STOP_SHIP
private static final String ESCAPE_STRING
private static final boolean USE_AST
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
int start
int end
int start
int end
char next
char c
int i
int n
String source
com.android.tools.lint.detector.api.JavaContext context
private static void checkComment (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiComment, java.lang.String, int, int, int)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
char c
int i
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiComment node
String source
int offset
int start
int end
char prev
static void access$000 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiComment, java.lang.String, int, int, int)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiComment x1
String x2
int x3
int x4
int x5
static void ()
}
com/android/tools/lint/checks/LayoutInflationDetector.classLayoutInflationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LayoutInflationDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String ERROR_MESSAGE
private java.util.Set mLayoutsWithRootLayoutParams
private java.util.List mPendingErrors
static final boolean $assertionsDisabled
public void ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String inflatedLayout
com.android.tools.lint.detector.api.Location location
com.android.utils.Pair pair
com.android.tools.lint.detector.api.Context context
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
org.w3c.dom.Attr attribute
int i
int n
org.w3c.dom.NamedNodeMap attributes
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
org.w3c.dom.Element root
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.Location location
String layoutName
com.intellij.psi.PsiReferenceExpression rLayout
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiExpression first
com.intellij.psi.PsiExpression second
com.intellij.psi.PsiReferenceExpression select
com.intellij.psi.PsiElement operand
private static boolean hasLayoutParams (com.android.tools.lint.detector.api.JavaContext, java.lang.String)
String s
Exception e
com.android.ide.common.res2.ResourceFile source
java.io.File file
com.android.ide.common.res2.ResourceItem item
com.android.tools.lint.detector.api.JavaContext context
String name
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.ide.common.res2.AbstractResourceRepository resources
java.util.List items
static boolean hasLayoutParams (java.io.Reader) throws org.xmlpull.v1.XmlPullParserException java.io.IOException
String prefix
int i
int event
java.io.Reader reader
org.kxml2.io.KXmlParser parser
static void ()
}
com/android/tools/lint/checks/CustomViewDetector.classCustomViewDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CustomViewDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String OBTAIN_STYLED_ATTRIBUTES
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
int parameterIndex
String message
String message
com.intellij.psi.PsiClass outer
String layoutClassName
String expectedName
com.intellij.psi.PsiExpression[] arguments
int size
int parameterIndex
com.intellij.psi.PsiExpression expression
String s
String styleableName
com.intellij.psi.PsiClass cls
String className
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
static void ()
}
com/android/tools/lint/checks/TranslationDetector.classTranslationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TranslationDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
static boolean sCompleteRegions
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue MISSING
public static final com.android.tools.lint.detector.api.Issue EXTRA
private java.util.Set mNames
private java.util.Set mTranslatedArrays
private java.util.Set mNonTranslatable
private boolean mIgnoreFile
private java.util.Map mFileToNames
private java.util.Map mFileToLocale
private java.util.Map mMissingLocations
private java.util.Map mExtraLocations
private java.util.Map mDescriptions
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
String locale
org.w3c.dom.Element root
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private void reportMap (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, java.util.Map)
com.android.tools.lint.detector.api.Location location
String name
String message
java.util.Map$Entry entry
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Issue issue
java.util.Map map
private void checkTranslations (com.android.tools.lint.detector.api.Context)
java.io.File file
String name
String language
java.io.File parent
int index
String locale
String language
java.util.Set fileStrings
java.util.Set languageStrings
java.io.File file
String locale
int index
java.util.Map$Entry entry
String first
java.util.Set languageStrings
java.util.Set specifiedLocales
String l
String language
int index
String locale
java.util.List keys
String language
java.util.Set fallback
String languageRegion
int regionIndex
java.util.Set strings
java.util.Map$Entry entry
String l
java.util.Set strings
java.util.Map$Entry entry
boolean haveError
String message
String s
java.util.Set difference
String message
String s
java.util.Set difference
java.util.Set strings
String language
com.android.tools.lint.detector.api.Context context
java.util.Set files
java.util.Set parentFolders
boolean reportMissing
boolean reportExtra
String defaultLanguage
java.util.Map parentFolderToLanguage
int languageCount
java.util.Map languageToStrings
java.util.Set allStrings
java.util.Set defaultStrings
int stringCount
java.util.List resConfigLanguages
java.util.List languages
public static java.lang.String getLanguageDescription (java.lang.String)
String regionName
String locale
int index
String regionCode
String languageCode
String languageName
private static java.lang.String getLanguageTag (java.lang.String)
com.android.ide.common.resources.configuration.LocaleQualifier locale
String name
com.android.ide.common.resources.configuration.FolderConfiguration configuration
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.Location location
String language
com.android.tools.lint.detector.api.Location location
String language
String name
String l
String message
String name
org.w3c.dom.Attr translatable
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr attribute
public static boolean isServiceKey (java.lang.String)
String name
private static boolean allItemsAreReferences (org.w3c.dom.Element)
String value
org.w3c.dom.Node valueNode
int j
int m
org.w3c.dom.NodeList itemChildren
org.w3c.dom.Node item
int i
int n
org.w3c.dom.Element element
org.w3c.dom.NodeList childNodes
private static java.util.List getResConfigLanguages (com.android.tools.lint.detector.api.Project)
com.android.builder.model.ProductFlavorContainer container
java.util.ArrayList strings
java.util.Set relevantDensities
com.android.builder.model.Variant variant
java.util.List variantFlavors
com.android.builder.model.AndroidProject gradleProjectModel
com.android.tools.lint.detector.api.Project project
private static void addResConfigsFromFlavor (java.util.Set, java.util.List, com.android.builder.model.ProductFlavorContainer)
String resConfig
java.util.Set relevantLanguages
java.util.List variantFlavors
com.android.builder.model.ProductFlavorContainer container
com.android.builder.model.ProductFlavor flavor
static void ()
}
com/android/tools/lint/checks/PermissionRequirement.classPermissionRequirement.java
package com.android.tools.lint.checks
public abstract com.android.tools.lint.checks.PermissionRequirement extends java.lang.Object {
public static final String ATTR_PROTECTION_LEVEL
public static final String VALUE_DANGEROUS
protected final com.intellij.psi.PsiAnnotation annotation
private int firstApi
private int lastApi
public static final com.android.tools.lint.checks.PermissionRequirement NONE
static final String[] REVOCABLE_PERMISSION_NAMES
static final boolean $assertionsDisabled
private void (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiAnnotation annotation
public static com.android.tools.lint.checks.PermissionRequirement create (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiAnnotation)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiAnnotation annotation
String value
String[] anyOf
String[] allOf
public static java.lang.Boolean getAnnotationBooleanValue (com.intellij.psi.PsiAnnotation, java.lang.String)
Object o
com.intellij.psi.PsiAnnotationMemberValue attributeValue
com.intellij.psi.PsiAnnotation annotation
String name
public static java.lang.Long getAnnotationLongValue (com.intellij.psi.PsiAnnotation, java.lang.String)
Object o
com.intellij.psi.PsiAnnotationMemberValue attributeValue
com.intellij.psi.PsiAnnotation annotation
String name
public static java.lang.Double getAnnotationDoubleValue (com.intellij.psi.PsiAnnotation, java.lang.String)
Object o
com.intellij.psi.PsiAnnotationMemberValue attributeValue
com.intellij.psi.PsiAnnotation annotation
String name
public static java.lang.String getAnnotationStringValue (com.intellij.psi.PsiAnnotation, java.lang.String)
Object o
com.intellij.psi.PsiAnnotationMemberValue attributeValue
com.intellij.psi.PsiAnnotation annotation
String name
public static java.lang.String[] getAnnotationStringValues (com.intellij.psi.PsiAnnotation, java.lang.String)
Object o
com.intellij.psi.PsiAnnotationMemberValue element
com.intellij.psi.PsiAnnotationMemberValue[] initializers
java.util.List result
com.android.tools.lint.detector.api.ConstantEvaluator constantEvaluator
Object element
Object[] array
java.util.List strings
Object o
com.intellij.psi.PsiAnnotationMemberValue attributeValue
com.intellij.psi.PsiAnnotation annotation
String name
protected boolean appliesTo (com.android.tools.lint.checks.PermissionHolder)
int index
String range
com.android.sdklib.AndroidVersion minSdkVersion
com.android.sdklib.AndroidVersion targetSdkVersion
com.android.tools.lint.checks.PermissionHolder available
public boolean isConditional ()
Boolean o
public boolean isSingle ()
public abstract boolean isSatisfied (com.android.tools.lint.checks.PermissionHolder)
public java.lang.String describeMissingPermissions (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder available
public java.util.Set getMissingPermissions (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder available
java.util.Set result
protected abstract void addMissingPermissions (com.android.tools.lint.checks.PermissionHolder, java.util.Set)
public java.util.Set getRevocablePermissions (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder revocable
java.util.Set result
protected abstract void addRevocablePermissions (java.util.Set, com.android.tools.lint.checks.PermissionHolder)
public abstract boolean isRevocable (com.android.tools.lint.checks.PermissionHolder)
public abstract com.intellij.psi.tree.IElementType getOperator ()
public abstract java.lang.Iterable getChildren ()
protected static void appendOperator (java.lang.StringBuilder, com.intellij.psi.tree.IElementType)
StringBuilder sb
com.intellij.psi.tree.IElementType operator
public static boolean isRevocableSystemPermission (java.lang.String)
String name
void (com.intellij.psi.PsiAnnotation, com.android.tools.lint.checks.PermissionRequirement$1)
com.intellij.psi.PsiAnnotation x0
com.android.tools.lint.checks.PermissionRequirement$1 x1
static void ()
}
com/android/tools/lint/checks/SupportAnnotationDetector$CallVisitor.classSupportAnnotationDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SupportAnnotationDetector$CallVisitor extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
final com.android.tools.lint.checks.SupportAnnotationDetector this$0
public void (com.android.tools.lint.checks.SupportAnnotationDetector, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitCallExpression (com.intellij.psi.PsiCallExpression)
com.intellij.psi.PsiCallExpression call
com.intellij.psi.PsiMethod method
public void visitEnumConstant (com.intellij.psi.PsiEnumConstant)
com.intellij.psi.PsiEnumConstant call
com.intellij.psi.PsiMethod method
public void checkCall (com.intellij.psi.PsiMethod, com.intellij.psi.PsiCall)
com.intellij.psi.PsiAnnotation[] classAnnotations
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiExpression argument
com.intellij.psi.PsiParameter parameter
int i
int n
com.intellij.psi.PsiExpression argument
int i
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiParameterList parameterList
com.intellij.psi.PsiParameter[] parameters
com.intellij.psi.PsiAnnotation[] annotations
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiCall call
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiAnnotation[] methodAnnotations
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiAnnotation[] classAnnotations
com.intellij.psi.PsiExpressionList argumentList
}
com/android/tools/lint/checks/HardcodedDebugModeDetector.classHardcodedDebugModeDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.HardcodedDebugModeDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
static void ()
}
com/android/tools/lint/checks/CallSuperDetector$1.classCallSuperDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.CallSuperDetector$1 extends com.intellij.psi.JavaElementVisitor {
final com.android.tools.lint.detector.api.JavaContext val$context
final com.android.tools.lint.checks.CallSuperDetector this$0
void (com.android.tools.lint.checks.CallSuperDetector, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.checks.CallSuperDetector this$0
public void visitMethod (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
}
com/android/tools/lint/checks/SecurityDetector.classSecurityDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SecurityDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_MANIFEST
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_JAVA
public static final com.android.tools.lint.detector.api.Issue EXPORTED_SERVICE
public static final com.android.tools.lint.detector.api.Issue EXPORTED_PROVIDER
public static final com.android.tools.lint.detector.api.Issue EXPORTED_RECEIVER
public static final com.android.tools.lint.detector.api.Issue OPEN_PROVIDER
public static final com.android.tools.lint.detector.api.Issue SET_READABLE
public static final com.android.tools.lint.detector.api.Issue SET_WRITABLE
public static final com.android.tools.lint.detector.api.Issue WORLD_WRITEABLE
public static final com.android.tools.lint.detector.api.Issue WORLD_READABLE
private static final String FILE_CLASS
static final boolean $assertionsDisabled
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
public static boolean getExported (org.w3c.dom.Element)
org.w3c.dom.Element child
org.w3c.dom.Element element
String exportValue
private static boolean isUnprotectedByPermission (org.w3c.dom.Element)
org.w3c.dom.Element application
org.w3c.dom.Node parent
org.w3c.dom.Element element
String permission
private static boolean isWearableBindListener (org.w3c.dom.Element)
String name
org.w3c.dom.Element innerChild
org.w3c.dom.Element child
org.w3c.dom.Element element
private static boolean isStandardReceiver (org.w3c.dom.Element)
String categoryString
org.w3c.dom.Element innerChild
org.w3c.dom.Element child
org.w3c.dom.Element element
String name
private static void checkReceiver (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private static void checkService (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private static void checkGrantPermission (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr path
org.w3c.dom.Attr prefix
org.w3c.dom.Attr pattern
String msg
private static void checkProvider (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String tag
org.w3c.dom.Element child
boolean hasPermission
String permission
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String exportValue
boolean exported
public java.util.List getApplicableMethodNames ()
java.util.List values
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiExpression arg
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] args
String methodName
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/SecurityDetector$IdentifierVisitor.classSecurityDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SecurityDetector$IdentifierVisitor extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
com.intellij.psi.PsiReferenceExpression node
String name
}
com/android/tools/lint/checks/RestrictionsDetector.classRestrictionsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.RestrictionsDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
static final int MAX_NESTING_DEPTH
static final int MAX_NUMBER_OF_NESTED_RESTRICTIONS
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final String TAG_RESTRICTIONS
static final String TAG_RESTRICTION
static final String ATTR_RESTRICTION_TYPE
static final String ATTR_KEY
static final String ATTR_DESCRIPTION
static final String VALUE_BUNDLE
static final String VALUE_BUNDLE_ARRAY
static final String VALUE_CHOICE
static final String VALUE_MULTI_SELECT
static final String VALUE_ENTRIES
static final String VALUE_ENTRY_VALUES
static final String VALUE_HIDDEN
static final String VALUE_DEFAULT_VALUE
static final String VALUE_INTEGER
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
org.w3c.dom.Element root
java.util.Map keys
private static void validateNestedRestrictions (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String, java.util.Map, int)
org.w3c.dom.Element child
org.w3c.dom.Attr defaultValue
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String restrictionType
java.util.Map keys
int depth
java.util.List children
private static void validateRestriction (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, int, java.util.Map)
org.w3c.dom.Attr attribute
com.android.tools.lint.detector.api.Location valueLocation
org.w3c.dom.Attr thisAttribute
com.android.tools.lint.detector.api.Location location
org.w3c.dom.Element prev
org.w3c.dom.Attr prevAttribute
com.android.tools.lint.detector.api.Location previousLocation
NumberFormatException e
org.w3c.dom.Attr defaultValue
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
int depth
java.util.Map keys
org.w3c.dom.Element element
String restrictionType
String key
String title
private static boolean verifyRestrictionTagName (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tagName
private static java.lang.String checkRequiredAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String)
org.w3c.dom.Attr a
int i
int n
org.w3c.dom.Element root
org.w3c.dom.NamedNodeMap attributes
String prefix
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String attribute
static void ()
}
com/android/tools/lint/checks/AnnotationDetector$AnnotationChecker.classAnnotationDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.AnnotationDetector$AnnotationChecker extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
final com.android.tools.lint.checks.AnnotationDetector this$0
public void (com.android.tools.lint.checks.AnnotationDetector, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitAnnotation (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiElement parent
String id
Object v
String id
Object v
com.intellij.psi.PsiAnnotationMemberValue expression
com.intellij.psi.PsiArrayInitializerMemberValue initializer
com.intellij.psi.PsiNameValuePair attribute
com.intellij.psi.PsiAnnotationMemberValue value
com.intellij.psi.PsiAnnotationOwner owner
com.intellij.psi.PsiNameValuePair[] attributes
com.intellij.psi.PsiMethod method
long from
long to
boolean invalid
double from
double to
boolean invalid
int unset
long exact
long min
long max
long multiple
String value
String[] anyOf
String[] allOf
int set
String name
com.intellij.psi.PsiAnnotation a
com.intellij.psi.PsiClass cls
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiJavaCodeReferenceElement referenceElement
com.intellij.psi.PsiAnnotation annotation
String type
private void checkTargetType (com.intellij.psi.PsiAnnotation, java.lang.String, java.lang.String, boolean)
com.intellij.psi.PsiType type
com.intellij.psi.PsiElement element
com.intellij.psi.PsiType type
com.intellij.psi.PsiElement[] elements
com.intellij.psi.PsiType type
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiType type
com.intellij.psi.PsiType type
com.intellij.psi.PsiClass resolved
com.intellij.psi.PsiClassType classType
String expectedTypes
String message
com.android.tools.lint.detector.api.Location location
com.intellij.psi.PsiElement parent
com.intellij.psi.PsiType type
String typeName
com.intellij.psi.PsiAnnotation node
String type1
String type2
boolean allowCollection
com.intellij.psi.PsiAnnotationOwner owner
public void visitSwitchStatement (com.intellij.psi.PsiSwitchStatement)
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiSwitchStatement statement
com.intellij.psi.PsiExpression condition
private com.intellij.psi.PsiAnnotation findIntDef (com.intellij.psi.PsiElement)
com.intellij.psi.PsiAnnotation[] annotations
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiExpression initializer
com.intellij.psi.PsiElement element
com.intellij.psi.PsiExpression rExpression
com.intellij.psi.PsiReferenceExpression reference
com.intellij.psi.PsiAssignmentExpression assign
com.intellij.psi.PsiExpression lhs
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiStatement prev
String targetName
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiStatement statement
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiAnnotation[] annotations
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiAnnotation result
com.intellij.psi.PsiAnnotation result
com.intellij.psi.PsiConditionalExpression expression
com.intellij.psi.PsiTypeCastExpression cast
com.intellij.psi.PsiParenthesizedExpression expression
com.intellij.psi.PsiElement node
private void checkSwitch (com.intellij.psi.PsiSwitchStatement, com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiAnnotationMemberValue allowedValue
java.util.List list
String message
com.intellij.psi.PsiElement field
com.intellij.psi.PsiElement field
com.intellij.psi.PsiExpression initializer
java.util.List list
String message
com.android.tools.lint.detector.api.Location location
boolean found
java.util.ListIterator iterator
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiSwitchLabelStatement caseStatement
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiStatement statement
java.util.List list
String message
com.android.tools.lint.detector.api.Location location
com.intellij.psi.PsiSwitchStatement node
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiCodeBlock block
com.intellij.psi.PsiAnnotationMemberValue value
com.intellij.psi.PsiArrayInitializerMemberValue array
com.intellij.psi.PsiAnnotationMemberValue[] allowedValues
java.util.List fields
private void ensureUniqueValues (com.intellij.psi.PsiAnnotation)
Number repeatedValue
com.android.tools.lint.detector.api.Location location
String message
int prevIndex
com.intellij.psi.PsiElement prevConstant
com.android.tools.lint.detector.api.Location secondary
com.intellij.psi.PsiElement scope
Number number
com.intellij.psi.PsiAnnotationMemberValue expression
Object o
int index
com.intellij.psi.PsiAnnotation node
com.intellij.psi.PsiAnnotationMemberValue value
com.intellij.psi.PsiArrayInitializerMemberValue array
com.intellij.psi.PsiAnnotationMemberValue[] initializers
java.util.Map valueToIndex
boolean flag
com.android.tools.lint.detector.api.ConstantEvaluator constantEvaluator
private void ensureUsingFlagStyle (com.intellij.psi.PsiAnnotationMemberValue[])
com.intellij.psi.PsiLiteral literal
Object o
long value
int shift
String message
com.android.tools.lint.detector.api.Location location
com.intellij.psi.PsiExpression initializer
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiAnnotationMemberValue constant
com.intellij.psi.PsiAnnotationMemberValue[] constants
private boolean checkSuppressLint (com.intellij.psi.PsiAnnotation, java.lang.String)
com.intellij.psi.PsiElement scope
com.intellij.psi.PsiAnnotation node
String id
com.android.tools.lint.client.api.IssueRegistry registry
com.android.tools.lint.detector.api.Issue issue
}
com/android/tools/lint/checks/RelativeOverlapDetector.classRelativeOverlapDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.RelativeOverlapDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode ln
org.w3c.dom.Node node
int i
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode ln
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode nodeToBlame
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode otherNode
java.util.Set canGrowRight
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode left
java.util.Set canGrowLeft
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode right
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NodeList childNodes
int count
java.util.Map nodes
static void ()
}
com/android/tools/lint/checks/PermissionRequirement$Many.classPermissionRequirement.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.PermissionRequirement$Many extends com.android.tools.lint.checks.PermissionRequirement {
public final com.intellij.psi.tree.IElementType operator
public final java.util.List permissions
static final boolean $assertionsDisabled
public void (com.intellij.psi.PsiAnnotation, com.intellij.psi.tree.IElementType, java.lang.String[])
String name
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.tree.IElementType operator
String[] names
public boolean isSingle ()
public java.lang.String toString ()
int i
StringBuilder sb
public boolean isSatisfied (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionHolder available
public java.lang.String describeMissingPermissions (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionHolder available
StringBuilder sb
boolean first
protected void addMissingPermissions (com.android.tools.lint.checks.PermissionHolder, java.util.Set)
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionHolder available
java.util.Set missing
protected void addRevocablePermissions (java.util.Set, com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionRequirement requirement
java.util.Set result
com.android.tools.lint.checks.PermissionHolder revocable
public boolean isRevocable (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionHolder revocable
public com.intellij.psi.tree.IElementType getOperator ()
public java.lang.Iterable getChildren ()
static void ()
}
com/android/tools/lint/checks/VectorDrawableCompatDetector.classVectorDrawableCompatDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.VectorDrawableCompatDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private boolean mSkipChecks
private java.util.Set mVectors
private boolean mUseSupportLibrary
public void ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
com.android.builder.model.AndroidProject model
com.android.ide.common.repository.GradleVersion version
com.android.builder.model.Variant currentVariant
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String resourceName
public java.util.Collection getApplicableElements ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String name
String namespace
com.android.ide.common.resources.ResourceUrl resourceUrl
static void ()
}
com/android/tools/lint/checks/FieldGetterDetector$Entry.classFieldGetterDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.FieldGetterDetector$Entry extends java.lang.Object {
public final String name
public final org.objectweb.asm.tree.MethodNode method
public final org.objectweb.asm.tree.MethodInsnNode call
public void (java.lang.String, org.objectweb.asm.tree.MethodInsnNode, org.objectweb.asm.tree.MethodNode)
String name
org.objectweb.asm.tree.MethodInsnNode call
org.objectweb.asm.tree.MethodNode method
}
com/android/tools/lint/checks/ReadParcelableDetector.classReadParcelableDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ReadParcelableDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiElement name
String message
com.android.tools.lint.detector.api.Location location
String message
com.intellij.psi.PsiElement name
com.android.tools.lint.detector.api.Location location
com.intellij.psi.PsiExpression parameter
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiExpressionList argumentList
com.intellij.psi.PsiExpression[] expressions
int argumentCount
static void ()
}
com/android/tools/lint/checks/AppLinksAutoVerifyDetector$HttpResult.classAppLinksAutoVerifyDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.AppLinksAutoVerifyDetector$HttpResult extends java.lang.Object {
private final int mStatus
private final com.google.gson.JsonElement mJsonFile
void (int, com.google.gson.JsonElement)
int status
com.google.gson.JsonElement jsonFile
static int access$000 (com.android.tools.lint.checks.AppLinksAutoVerifyDetector$HttpResult)
com.android.tools.lint.checks.AppLinksAutoVerifyDetector$HttpResult x0
static com.google.gson.JsonElement access$100 (com.android.tools.lint.checks.AppLinksAutoVerifyDetector$HttpResult)
com.android.tools.lint.checks.AppLinksAutoVerifyDetector$HttpResult x0
}
com/android/tools/lint/checks/NonInternationalizedSmsDetector.classNonInternationalizedSmsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.NonInternationalizedSmsDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
java.util.List methodNames
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] args
com.intellij.psi.PsiExpression destinationAddress
Object literal
String number
static void ()
}
com/android/tools/lint/checks/WebViewDetector.classWebViewDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WebViewDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
org.w3c.dom.Element parent
org.w3c.dom.Attr width
org.w3c.dom.Attr height
org.w3c.dom.Attr attr
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node parentNode
static void ()
}
com/android/tools/lint/checks/ApiDetector$ApiCheckGraph.classApiDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ApiDetector$ApiCheckGraph extends com.android.tools.lint.checks.ControlFlowGraph {
private final int mRequiredApi
public void (int)
int requiredApi
protected void add (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.AbstractInsnNode)
boolean includeEdge
boolean includeEdge
boolean includeEdge
boolean includeEdge
boolean includeEdge
org.objectweb.asm.tree.JumpInsnNode jumpNode
int api
boolean isJumpEdge
boolean includeEdge
org.objectweb.asm.tree.IntInsnNode intNode
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
}
com/android/tools/lint/checks/MergeRootFrameLayoutDetector.classMergeRootFrameLayoutDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.MergeRootFrameLayoutDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private java.util.Set mWhitelistedLayouts
private java.util.List mPending
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location$Handle handle
Object clientData
com.android.tools.lint.detector.api.Location location
String layout
com.android.utils.Pair pair
com.android.tools.lint.detector.api.Context context
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String layout
String layout
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
private void whiteListLayout (java.lang.String)
String layout
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String layoutName
com.intellij.psi.PsiReferenceExpression inner
com.intellij.psi.PsiReferenceExpression expression
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] expressions
static void ()
}
com/android/tools/lint/checks/JavaPerformanceDetector$AssignmentTracker.classJavaPerformanceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.JavaPerformanceDetector$AssignmentTracker extends com.intellij.psi.JavaRecursiveElementVisitor {
private final java.util.Collection mVariables
public void (java.util.Collection)
java.util.Collection variables
public void visitAssignmentExpression (com.intellij.psi.PsiAssignmentExpression)
com.intellij.psi.PsiReferenceExpression ref
com.intellij.psi.PsiAssignmentExpression node
com.intellij.psi.PsiExpression left
}
com/android/tools/lint/checks/AndroidAutoDetector.classAndroidAutoDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AndroidAutoDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$XmlScanner com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Implementation IMPL
public static final com.android.tools.lint.detector.api.Issue INVALID_USES_TAG_ISSUE
public static final com.android.tools.lint.detector.api.Issue MISSING_MEDIA_BROWSER_SERVICE_ACTION_ISSUE
public static final com.android.tools.lint.detector.api.Issue MISSING_INTENT_FILTER_FOR_MEDIA_SEARCH
public static final com.android.tools.lint.detector.api.Issue MISSING_ON_PLAY_FROM_SEARCH
private static final String CAR_APPLICATION_METADATA_NAME
private static final String VAL_NAME_MEDIA
private static final String VAL_NAME_NOTIFICATION
private static final String TAG_AUTOMOTIVE_APP
private static final String ATTR_RESOURCE
private static final String TAG_USES
private static final String ACTION_MEDIA_BROWSER_SERVICE
private static final String ACTION_MEDIA_PLAY_FROM_SEARCH
private static final String CLASS_MEDIA_SESSION_CALLBACK
private static final String CLASS_V4MEDIA_SESSION_COMPAT_CALLBACK
private static final String METHOD_MEDIA_SESSION_PLAY_FROM_SEARCH
private static final String BUNDLE_ARG
private boolean mDoAutomotiveAppCheck
private boolean mMediaIntentFilterFound
private boolean mMediaSearchIntentFilterFound
private String mAutomotiveResourceFileName
private boolean mIsAutomotiveMediaApp
private com.android.tools.lint.detector.api.Location$Handle mMainApplicationHandle
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tagName
private void checkAutoMetadataTag (org.w3c.dom.Element)
String autoFileName
org.w3c.dom.Element element
String name
private void checkAutomotiveAppElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr node
String attrValue
org.w3c.dom.Element child
org.w3c.dom.Element node
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
boolean isMetadataResource
private void checkServiceForBrowserServiceIntentFilter (org.w3c.dom.Element)
String actionValue
org.w3c.dom.Element filterChild
String tagName
org.w3c.dom.Element child
org.w3c.dom.Element element
private void checkForMediaSearchIntentFilter (org.w3c.dom.Element)
String actionValue
org.w3c.dom.Element filterChild
org.w3c.dom.Element element
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.checks.AndroidAutoDetector$MediaSessionCallbackVisitor visitor
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
public static java.lang.String[] getAllowedAutomotiveAppTypes ()
static void ()
}
com/android/tools/lint/checks/CleanupDetector$FinishVisitor.classCleanupDetector.java
package com.android.tools.lint.checks
abstract com.android.tools.lint.checks.CleanupDetector$FinishVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
protected final com.android.tools.lint.detector.api.JavaContext mContext
protected final java.util.List mVariables
private final com.intellij.psi.PsiVariable mOriginalVariableNode
private boolean mContainsCleanup
private boolean mEscapes
public void (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiVariable)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiVariable variableNode
public boolean isCleanedUp ()
public boolean variableEscapes ()
public void visitElement (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement element
protected abstract boolean isCleanupCall (com.intellij.psi.PsiMethodCallExpression)
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethod method
boolean wasEscaped
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiMethodCallExpression call
public void visitLocalVariable (com.intellij.psi.PsiLocalVariable)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiLocalVariable variable
com.intellij.psi.PsiExpression initializer
public void visitAssignmentExpression (com.intellij.psi.PsiAssignmentExpression)
com.intellij.psi.PsiElement lhs
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiElement lhs
com.intellij.psi.PsiAssignmentExpression expression
boolean clearLhs
com.intellij.psi.PsiExpression rhs
public void visitReturnStatement (com.intellij.psi.PsiReturnStatement)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiReturnStatement statement
com.intellij.psi.PsiExpression returnValue
}
com/android/tools/lint/checks/TypoDetector$TypoSuggestionInfo.classTypoDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TypoDetector$TypoSuggestionInfo extends java.lang.Object {
private final String mOriginal
private final java.util.List mReplacements
public void (java.lang.String, java.util.List)
String original
java.util.List replacements
public java.lang.String getOriginal ()
public java.util.List getReplacements ()
}
com/android/tools/lint/checks/PxUsageDetector.classPxUsageDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PxUsageDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue PX_ISSUE
public static final com.android.tools.lint.detector.api.Issue IN_MM_ISSUE
public static final com.android.tools.lint.detector.api.Issue DP_ISSUE
public static final com.android.tools.lint.detector.api.Issue SMALL_SP_ISSUE
private java.util.HashMap mTextSizeUsage
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
org.w3c.dom.Node child
int i
int n
org.w3c.dom.NodeList children
org.w3c.dom.Element element
String name
String unit
int size
com.android.ide.common.res2.ResourceFile sourceFile
String message
String dimenValue
com.android.ide.common.rendering.api.ResourceValue resourceValue
com.android.ide.common.res2.ResourceItem item
java.util.List items
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.ide.common.res2.AbstractResourceRepository resources
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.detector.api.Location$Handle handle
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
private static boolean isDpUnit (java.lang.String)
String value
private static int getSize (java.lang.String)
String text
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Element itemElement
org.w3c.dom.NodeList childNodes
org.w3c.dom.Node item
int j
int nodeCount
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NodeList itemNodes
private static void checkStyleItem (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, org.w3c.dom.Node)
String unit
String name
int size
String unit
String name
char c
int j
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element item
org.w3c.dom.Node textNode
String text
static void ()
}
com/android/tools/lint/checks/AppIndexingApiDetector.classAppIndexingApiDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AppIndexingApiDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation URL_IMPLEMENTATION
private static final com.android.tools.lint.detector.api.Implementation APP_INDEXING_API_IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE_URL_ERROR
public static final com.android.tools.lint.detector.api.Issue ISSUE_APP_INDEXING
public static final com.android.tools.lint.detector.api.Issue ISSUE_APP_INDEXING_API
private static final String[] PATH_ATTR_LIST
private static final String SCHEME_MISSING
private static final String HOST_MISSING
private static final String DATA_MISSING
private static final String URL_MISSING
private static final String NOT_BROWSABLE
private static final String ILLEGAL_NUMBER
private static final String APP_INDEX_START
private static final String APP_INDEX_END
private static final String APP_INDEX_VIEW
private static final String APP_INDEX_VIEW_END
private static final String CLIENT_CONNECT
private static final String CLIENT_DISCONNECT
private static final String ADD_API
private static final String APP_INDEXING_API_CLASS
private static final String GOOGLE_API_CLIENT_CLASS
private static final String GOOGLE_API_CLIENT_BUILDER_CLASS
private static final String API_CLASS
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
boolean actionView
org.w3c.dom.Element intent
org.w3c.dom.Attr exported
java.util.List intents
boolean activityHasActionView
org.w3c.dom.Element activity
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element application
java.util.List activities
boolean applicationHasActionView
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
private static java.util.Set getActivitiesToCheck (com.android.tools.lint.detector.api.Context)
String pkg
org.w3c.dom.Attr attr
String activityName
int dotIndex
java.util.List data
org.w3c.dom.Element intent
java.util.List intents
org.w3c.dom.Element act
java.util.List acts
org.w3c.dom.Element app
java.util.List apps
org.w3c.dom.Element child
java.util.List children
com.android.tools.lint.detector.api.XmlContext xmlContext
org.w3c.dom.Document doc
java.io.File manifest
com.android.tools.lint.detector.api.Context context
java.util.Set activitiesToCheck
java.util.List manifestFiles
com.android.tools.lint.client.api.XmlParser xmlParser
private static void visitIntent (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
org.w3c.dom.Element data
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element intent
boolean actionView
boolean browsable
boolean isHttp
boolean hasScheme
boolean hasHost
boolean hasPort
boolean hasPath
boolean hasMimeType
org.w3c.dom.Element firstData
java.util.List children
private static boolean hasActionView (org.w3c.dom.Element)
org.w3c.dom.Attr attr
org.w3c.dom.Element action
org.w3c.dom.Element intent
java.util.List children
private static boolean isBrowsable (org.w3c.dom.Element)
org.w3c.dom.Attr attr
org.w3c.dom.Element e
org.w3c.dom.Element intent
java.util.List children
private static boolean isHttpSchema (org.w3c.dom.Element)
String value
org.w3c.dom.Element data
private static void checkSingleData (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr attr
String path
String name
String port
NumberFormatException e
org.w3c.dom.Attr attr
org.w3c.dom.Attr attr
org.w3c.dom.Node item
int i
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element data
org.w3c.dom.NamedNodeMap attrs
private static java.lang.String replaceUrlWithValue (com.android.tools.lint.detector.api.XmlContext, java.lang.String)
com.android.tools.lint.detector.api.XmlContext context
String str
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.LintClient client
com.android.ide.common.resources.ResourceUrl style
com.android.ide.common.res2.AbstractResourceRepository resources
java.util.List items
com.android.ide.common.rendering.api.ResourceValue resourceValue
private static boolean hasFirstArgument (com.intellij.psi.PsiExpression, java.util.List)
com.intellij.psi.PsiExpression argument2
com.intellij.psi.PsiExpression[] expressions
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiExpression argument
java.util.List list
private static boolean hasOperand (com.intellij.psi.PsiExpression, java.util.List)
com.intellij.psi.PsiElement operand2
com.intellij.psi.PsiMethodCallExpression method
com.intellij.psi.PsiExpression operand
java.util.List list
private static java.util.List extractChildrenByName (org.w3c.dom.Element, java.lang.String)
org.w3c.dom.Element child
org.w3c.dom.Element node
String name
java.util.List result
java.util.List children
static java.util.Set access$000 (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context x0
static boolean access$100 (com.intellij.psi.PsiExpression, java.util.List)
com.intellij.psi.PsiExpression x0
java.util.List x1
static boolean access$200 (com.intellij.psi.PsiExpression, java.util.List)
com.intellij.psi.PsiExpression x0
java.util.List x1
static void ()
}
com/android/tools/lint/checks/VectorDetector.classVectorDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.VectorDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public static boolean isVectorGenerationSupported (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
com.android.ide.common.repository.GradleVersion modelVersion
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
com.android.tools.lint.detector.api.Project project
org.w3c.dom.Element root
private static boolean usingSupportLibVectors (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
com.android.ide.common.repository.GradleVersion version
com.android.builder.model.Variant currentVariant
private static void checkSupported (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String message
com.android.builder.model.AndroidProject model
String message
String message
org.w3c.dom.Attr attr
String name
String value
int i
int n
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.NodeList children
static void ()
}
com/android/tools/lint/checks/DateFormatDetector.classDateFormatDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.DateFormatDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue DATE_FORMAT
public static final String LOCALE_CLS
public static final String SIMPLE_DATE_FORMAT_CLS
public void ()
public java.util.List getApplicableConstructorTypes ()
public void visitConstructor (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiNewExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiNewExpression node
com.intellij.psi.PsiMethod constructor
private static boolean specifiesLocale (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiType type
com.intellij.psi.PsiParameter parameter
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiParameterList parameterList
com.intellij.psi.PsiParameter[] parameters
static void ()
}
com/android/tools/lint/checks/DuplicateIdDetector$IncludeGraph.classDuplicateIdDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.DuplicateIdDetector$IncludeGraph extends java.lang.Object {
private final com.android.tools.lint.detector.api.Context mContext
private final java.util.Map mFileToLayout
static final boolean $assertionsDisabled
final com.android.tools.lint.checks.DuplicateIdDetector this$0
public void (com.android.tools.lint.checks.DuplicateIdDetector, com.android.tools.lint.detector.api.Context)
java.io.File file
java.util.Set ids
java.io.File file
String name
java.io.File file
com.android.tools.lint.checks.DuplicateIdDetector$Layout to
java.io.File folder
java.io.File candidate
com.android.tools.lint.checks.DuplicateIdDetector$Layout candidateLayout
java.util.Collection layouts
String name
com.android.tools.lint.checks.DuplicateIdDetector$Layout from
java.util.List includedLayouts
java.io.File file
com.android.tools.lint.detector.api.Context context
com.google.common.collect.Multimap nameToLayout
boolean isCompatible (com.android.tools.lint.checks.DuplicateIdDetector$Layout, com.android.tools.lint.checks.DuplicateIdDetector$Layout)
com.android.tools.lint.checks.DuplicateIdDetector$Layout from
com.android.tools.lint.checks.DuplicateIdDetector$Layout to
java.io.File fromFolder
java.io.File toFolder
Iterable fromQualifiers
Iterable toQualifiers
private boolean isPortrait (java.lang.Iterable)
String qualifier
Iterable qualifiers
public void check ()
java.util.Deque stack
com.android.tools.lint.checks.DuplicateIdDetector$Layout layout
private java.util.Set getIds (com.android.tools.lint.checks.DuplicateIdDetector$Layout, java.util.Deque, java.util.Set)
java.util.Set siblingIds
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence occurrence
java.util.Collection idSets
java.util.Map occurrences
java.util.Collection values
java.util.List sorted
String msg
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence primary
com.google.common.collect.Multimap m
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence prev
String id
String layoutName
java.util.Set includedIds
com.android.tools.lint.checks.DuplicateIdDetector$Layout included
java.util.Set ids
com.google.common.collect.Multimap nameToIds
com.android.tools.lint.checks.DuplicateIdDetector$Layout visited
com.android.tools.lint.checks.DuplicateIdDetector$Layout layout
java.util.Deque stack
java.util.Set seen
java.util.Set layoutIds
java.util.List includes
private void findId (com.android.tools.lint.checks.DuplicateIdDetector$Layout, java.lang.String, java.util.Deque, java.util.Map, java.util.Set)
java.util.Iterator iterator
StringBuilder path
com.android.tools.lint.checks.DuplicateIdDetector$Layout included
com.android.tools.lint.checks.DuplicateIdDetector$Layout visited
com.android.tools.lint.checks.DuplicateIdDetector$Layout layout
String id
java.util.Deque stack
java.util.Map occurrences
java.util.Set seen
java.util.Set layoutIds
java.util.List includes
static void ()
}
com/android/tools/lint/checks/ObsoleteLayoutParamsDetector.classObsoleteLayoutParamsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ObsoleteLayoutParamsDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final java.util.Set VALID
private static final java.util.Map PARAM_TO_VIEW
private java.util.Map mIncludes
private final java.util.List mPending
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.Location$Handle handle
org.w3c.dom.Element viewElement
org.w3c.dom.Node layoutNode
String parentTag
String parent
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String name
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
java.util.List includes
String tag
org.w3c.dom.Node parent
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String layout
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String parentTag
com.android.utils.Pair include
java.io.File from
String parentTag
com.android.utils.Pair include
Object clientData
StringBuilder sb
String message
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.Location location
java.io.File file
String layout
java.util.List includes
String name
String parent
boolean isValid
com.android.utils.Pair pending
com.android.tools.lint.detector.api.Context context
private static boolean isValidParamForParent (com.android.tools.lint.detector.api.Context, java.lang.String, java.lang.String, java.lang.String)
String tag
com.android.tools.lint.detector.api.Context context
String name
String parent
String parentTag
com.android.tools.lint.client.api.SdkInfo sdk
static void ()
}
com/android/tools/lint/checks/GridLayoutDetector.classGridLayoutDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.GridLayoutDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
private static int getInt (org.w3c.dom.Element, java.lang.String, int)
org.w3c.dom.Element element
String attribute
int defaultValue
String valueString
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr node
int column
org.w3c.dom.Attr node
int row
org.w3c.dom.Element child
org.w3c.dom.Element child
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int declaredRowCount
int declaredColumnCount
private static void ensureAppNamespace (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String)
String prefix
boolean haveNamespace
StringBuilder sb
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String name
org.w3c.dom.Attr attribute
private static java.lang.String getNamespacePrefix (org.w3c.dom.Document, java.lang.String)
org.w3c.dom.Node attribute
int i
int n
org.w3c.dom.Document document
String uri
org.w3c.dom.Element root
org.w3c.dom.NamedNodeMap attributes
public static java.lang.String getOldValue (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
int index
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
String attribute
public static java.lang.String getNewValue (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
String attribute
static void ()
}
com/android/tools/lint/checks/PrivateKeyDetector.classPrivateKeyDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PrivateKeyDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$OtherFileScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
private static boolean isPrivateKeyFile (java.io.File)
String firstLine
java.io.File file
public java.util.EnumSet getApplicableFiles ()
public void run (com.android.tools.lint.detector.api.Context)
String fileName
String message
com.android.tools.lint.detector.api.Context context
java.io.File file
public com.android.tools.lint.detector.api.Speed getSpeed ()
static void ()
}
com/android/tools/lint/checks/ServiceCastDetector.classServiceCastDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ServiceCastDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static java.util.Map sServiceMap
static final boolean $assertionsDisabled
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String message
String castType
String name
String expectedClass
com.intellij.psi.PsiTypeCastExpression cast
com.intellij.psi.PsiExpression[] args
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiElement parent
private static boolean isClipboard (java.lang.String)
String cls
private static java.lang.String stripPackage (java.lang.String)
String fqcn
int index
private static java.lang.String getExpectedType (java.lang.String)
String value
private static java.util.Map getServiceMap ()
int EXPECTED_SIZE
static void ()
}
com/android/tools/lint/checks/TypoDetector.classTypoDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TypoDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
private com.android.tools.lint.checks.TypoLookup mLookup
private String mLastLanguage
private String mLastRegion
private String mLanguage
private String mRegion
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
private void initLocale (java.lang.String)
String parent
com.android.ide.common.resources.configuration.LocaleQualifier locale
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
String locale
org.w3c.dom.Element root
com.android.tools.lint.detector.api.Context context
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private void visit (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, org.w3c.dom.Node)
int i
int n
org.w3c.dom.NodeList children
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element parent
org.w3c.dom.Node node
private void check (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, org.w3c.dom.Node, java.lang.String)
char c
char c
byte[] utf8Text
byte[] utf8Text
char c
int begin
int end
java.util.List replacements
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node node
String text
int max
int index
int lastWordBegin
int lastWordEnd
boolean checkedTypos
private static void checkRepeatedWords (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, org.w3c.dom.Node, java.lang.String, int, int, int, int)
int i
int j
boolean different
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node node
String text
int lastWordBegin
int lastWordEnd
int begin
int end
private static boolean onlySpace (java.lang.String, int, int)
int i
String text
int fromInclusive
int toExclusive
private void check (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, org.w3c.dom.Node, byte[], int, int, java.lang.String, int)
byte b
byte b
int charEnd
int begin
int end
java.util.List replacements
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node node
byte[] utf8Text
int byteStart
int byteEnd
String text
int charStart
int lastWordBegin
int lastWordEnd
int index
private static boolean isTranslatable (org.w3c.dom.Element)
org.w3c.dom.Element element
org.w3c.dom.Attr translatable
private static void reportTypo (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, java.lang.String, int, java.util.List)
String replacement
int i
int n
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
String text
int begin
java.util.List replacements
String typo
String word
String first
String message
boolean isCapitalized
StringBuilder sb
int end
private static void reportRepeatedWord (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, java.lang.String, int, int, int)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
String text
int lastWordBegin
int begin
int end
String message
com.android.tools.lint.detector.api.Location location
public static com.android.tools.lint.checks.TypoDetector$TypoSuggestionInfo getSuggestions (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
int start
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
java.util.List replacements
int index
int originalEndIndex
String original
public static java.lang.String getTypo (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
int index
int start
static void ()
}
com/android/tools/lint/checks/BuiltinIssueRegistry.classBuiltinIssueRegistry.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.BuiltinIssueRegistry extends com.android.tools.lint.client.api.IssueRegistry {
private static final java.util.List sIssues
static final int INITIAL_CAPACITY
public void ()
public java.util.List getIssues ()
protected int getIssueCapacity (java.util.EnumSet)
int initialSize
java.util.EnumSet scope
public static void reset ()
static void ()
java.util.List issues
}
com/android/tools/lint/checks/TypographyDetector$ReplaceEdit.classTypographyDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TypographyDetector$ReplaceEdit extends java.lang.Object {
public final int offset
public final int length
public final String replaceWith
public void (int, int, java.lang.String)
int offset
int length
String replaceWith
}
com/android/tools/lint/checks/ControlFlowGraph$Node.classControlFlowGraph.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ControlFlowGraph$Node extends java.lang.Object {
public final org.objectweb.asm.tree.AbstractInsnNode instruction
public final java.util.List successors
public final java.util.List exceptions
public int visit
public void (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode instruction
void addSuccessor (com.android.tools.lint.checks.ControlFlowGraph$Node)
com.android.tools.lint.checks.ControlFlowGraph$Node node
void addExceptionPath (com.android.tools.lint.checks.ControlFlowGraph$Node)
com.android.tools.lint.checks.ControlFlowGraph$Node node
public java.lang.String toString (boolean)
int opcode
String opcodeName
com.android.tools.lint.checks.ControlFlowGraph$Node successor
com.android.tools.lint.checks.ControlFlowGraph$Node exception
boolean includeAdjacent
StringBuilder sb
}
com/android/tools/lint/checks/ApiLookup.classApiLookup.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ApiLookup extends java.lang.Object {
private static final String XML_FILE_PATH
private static final String FILE_HEADER
private static final int BINARY_FORMAT_VERSION
private static final boolean DEBUG_SEARCH
private static final boolean WRITE_STATS
private static final int CLASS_HEADER_MEMBER_OFFSETS
private static final int CLASS_HEADER_API
private static final int CLASS_HEADER_DEPRECATED
private static final int CLASS_HEADER_INTERFACES
private static final int HAS_DEPRECATION_BYTE_FLAG
private static final int API_MASK
static final boolean DEBUG_FORCE_REGENERATE_BINARY
private final com.android.tools.lint.checks.Api mInfo
private byte[] mData
private int[] mIndices
private static java.lang.ref.WeakReference sInstance
private int mPackageCount
static final boolean $assertionsDisabled
public static com.android.tools.lint.checks.ApiLookup get (com.android.tools.lint.client.api.LintClient)
String build
java.io.File file
com.android.tools.lint.checks.ApiLookup db
com.android.tools.lint.client.api.LintClient client
static java.lang.String getPlatformVersion (com.android.tools.lint.client.api.LintClient)
com.android.repository.api.LocalPackage pkgInfo
com.android.tools.lint.client.api.LintClient client
com.android.sdklib.repository.AndroidSdkHandler sdk
static java.lang.String getCacheFileName (java.lang.String, java.lang.String)
String xmlFileName
String platformVersion
StringBuilder sb
private static com.android.tools.lint.checks.ApiLookup get (com.android.tools.lint.client.api.LintClient, java.io.File)
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File cacheDir
String platformVersion
java.io.File binaryData
private static boolean createCache (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File)
java.io.IOException ioe
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File binaryData
long begin
com.android.tools.lint.checks.Api info
private void (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File, com.android.tools.lint.checks.Api)
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File binaryFile
com.android.tools.lint.checks.Api info
private void readData (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File)
byte anExpectedHeader
int i
byte[] b
int offset
byte[] expectedHeader
int indexCount
Throwable e
com.android.tools.lint.client.api.LintClient client
java.io.File xmlFile
java.io.File binaryFile
long start
private static void writeDatabase (java.io.File, com.android.tools.lint.checks.Api) throws java.io.IOException
String member
String member
String member
java.util.Set allMethods
java.util.Set allFields
int clsSince
java.util.List members
com.android.tools.lint.checks.ApiClass apiClass
com.android.tools.lint.checks.ApiPackage pkg
com.android.tools.lint.checks.ApiPackage pkg
com.android.tools.lint.checks.ApiClass cls
com.android.tools.lint.checks.ApiPackage pkg
String ignored
com.android.tools.lint.checks.ApiClass cls
com.android.tools.lint.checks.ApiPackage pkg
int since
byte b
int start
int since
int deprecatedIn
byte[] signature
int api
boolean isDeprecated
String member
String clz
int index
com.android.tools.lint.checks.ApiClass apiClass
com.android.tools.lint.checks.ApiPackage pkg
int api
com.android.utils.Pair pair
int api
com.android.utils.Pair pair
com.android.tools.lint.checks.ApiClass superClass
int api
com.android.utils.Pair pair
com.android.tools.lint.checks.ApiClass interfaceClass
int api
com.android.utils.Pair pair
int index
String name
byte[] nameBytes
com.android.tools.lint.checks.ApiClass apiClass
int since
int deprecatedIn
boolean isDeprecated
java.util.List interfaces
int count
java.util.List supers
com.android.tools.lint.checks.ApiClass cls
java.util.List classes
com.android.tools.lint.checks.ApiPackage pkg
int firstClassIndex
int classCount
int index
byte[] bytes
java.util.List classes
com.android.tools.lint.checks.ApiPackage pkg
boolean deleted
java.io.File file
com.android.tools.lint.checks.Api info
java.util.Map classMap
java.util.List packages
int estimatedSize
java.nio.ByteBuffer buffer
int indexCountOffset
int indexCount
int newIndex
int size
byte[] b
com.google.common.io.ByteSink sink
private java.lang.String dumpEntry (int)
int offset
private static int compare (byte[], int, byte, java.lang.String, int, int)
byte b
char c
byte cb
int delta
byte[] data
int offset
byte terminator
String s
int sOffset
int max
int i
int j
public int getClassVersion (java.lang.String)
int since
com.android.tools.lint.checks.ApiClass clz
String className
public boolean isKnownClass (java.lang.String)
String className
private int getClassVersion (int)
int offset
int api
int classNumber
public int getValidCastVersion (java.lang.String, java.lang.String)
int clsNumber
int api
int i
int offset
int interfaceCount
int interfaceNumber
int classNumber
String interfaceName
com.android.utils.Pair pair
java.util.List interfaces
com.android.tools.lint.checks.ApiClass clz
String sourceClass
String destinationClass
public int getClassDeprecatedIn (java.lang.String)
int offset
int deprecatedIn
int classNumber
int deprecatedIn
com.android.tools.lint.checks.ApiClass clz
String className
public int getCallVersion (java.lang.String, java.lang.String, java.lang.String)
int api
int classNumber
String signature
int since
com.android.tools.lint.checks.ApiClass clz
String owner
String name
String desc
public int getCallDeprecatedIn (java.lang.String, java.lang.String, java.lang.String)
int deprecatedIn
int classNumber
String signature
int deprecatedIn
com.android.tools.lint.checks.ApiClass clz
String owner
String name
String desc
public int getFieldVersion (java.lang.String, java.lang.String)
int api
int classNumber
int since
com.android.tools.lint.checks.ApiClass clz
String owner
String name
public int getFieldDeprecatedIn (java.lang.String, java.lang.String)
int deprecatedIn
int classNumber
int deprecatedIn
com.android.tools.lint.checks.ApiClass clz
String owner
String name
public static boolean isRelevantOwner (java.lang.String)
String owner
public boolean isValidJavaPackage (java.lang.String)
String owner
private int findPackage (java.lang.String)
int middle
int offset
int compare
String owner
int low
int high
int classNameLength
private static int get4ByteInt (byte[], int)
byte[] data
int offset
byte b1
byte b2
byte b3
byte b4
private static void put3ByteInt (java.nio.ByteBuffer, int)
java.nio.ByteBuffer buffer
int value
byte b3
byte b2
byte b1
private static void put2ByteInt (java.nio.ByteBuffer, int)
java.nio.ByteBuffer buffer
int value
byte b2
byte b1
private static int get3ByteInt (byte[], int)
byte[] mData
int offset
byte b1
byte b2
byte b3
private static int get2ByteInt (byte[], int)
byte[] data
int offset
byte b1
byte b2
private int findClass (java.lang.String)
int middle
int offset
int compare
String owner
int packageNumber
int curr
int low
int length
int high
int index
int classNameLength
private int findMember (int, java.lang.String, java.lang.String)
int classNumber
String name
String desc
private int findMemberDeprecatedIn (int, java.lang.String, java.lang.String)
int classNumber
String name
String desc
private int seekClassData (int, int)
int classNumber
int field
int offset
boolean hasDeprecation
private int findMember (int, java.lang.String, java.lang.String, boolean)
int api
int argsEnd
int nameLength
int compare
int api
int nameLength
int middle
int offset
int compare
int classNumber
String name
String desc
boolean deprecation
int curr
int low
int length
int high
static void dispose ()
static void ()
}
com/android/tools/lint/checks/PreferenceActivityDetector.classPreferenceActivityDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PreferenceActivityDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String PREFERENCE_ACTIVITY
private static final String IS_VALID_FRAGMENT
private final java.util.Map mExportedActivities
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String fqcn
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private static java.lang.String getFqcn (org.w3c.dom.Element)
String pkg
org.w3c.dom.Element activityElement
String activityClassName
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
com.android.tools.lint.client.api.JavaEvaluator evaluator
String className
private static boolean overridesIsValidFragment (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiClass)
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiClass resolvedClass
static void ()
}
com/android/tools/lint/checks/AssertDetector.classAssertDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AssertDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
private static boolean isNullCheck (com.intellij.psi.PsiExpression)
com.intellij.psi.PsiBinaryExpression binExp
com.intellij.psi.PsiExpression lOperand
com.intellij.psi.PsiExpression rOperand
com.intellij.psi.PsiExpression expression
static boolean access$000 (com.intellij.psi.PsiExpression)
com.intellij.psi.PsiExpression x0
static void ()
}
com/android/tools/lint/checks/DetectMissingPrefix.classDetectMissingPrefix.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.DetectMissingPrefix extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue MISSING_NAMESPACE
private static final java.util.Set NO_PREFIX_ATTRS
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
org.w3c.dom.Element root
String name
org.w3c.dom.Element element
org.w3c.dom.Element root
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String uri
private static boolean isFragment (org.w3c.dom.Element)
org.w3c.dom.Element element
private static boolean isCustomView (org.w3c.dom.Element)
org.w3c.dom.Element element
String tag
static void ()
}
com/android/tools/lint/checks/ResourcePrefixDetector.classResourcePrefixDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ResourcePrefixDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$BinaryResourceScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private String mPrefix
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public java.util.Collection getApplicableElements ()
private static java.lang.String computeResourcePrefix (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void beforeCheckLibraryProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckLibraryProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
org.w3c.dom.Element root
String name
com.android.tools.lint.detector.api.XmlContext xmlContext
com.android.resources.ResourceFolderType folderType
com.android.tools.lint.detector.api.Context context
private java.lang.String getErrorMessage (java.lang.String)
String name
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String name
org.w3c.dom.Attr nameAttribute
org.w3c.dom.Element item
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
public void checkBinaryResource (com.android.tools.lint.detector.api.ResourceContext)
String path
com.android.tools.lint.detector.api.Location location
String name
com.android.resources.ResourceFolderType folderType
com.android.tools.lint.detector.api.ResourceContext context
static void ()
}
com/android/tools/lint/checks/AllowAllHostnameVerifierDetector.classAllowAllHostnameVerifierDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AllowAllHostnameVerifierDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableConstructorTypes ()
public void visitConstructor (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiNewExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiNewExpression node
com.intellij.psi.PsiMethod constructor
com.android.tools.lint.detector.api.Location location
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.Location location
String message
com.intellij.psi.PsiField field
com.intellij.psi.PsiExpression argument
com.intellij.psi.PsiElement resolvedArgument
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
static void ()
}
com/android/tools/lint/checks/ResourceUsageModel.classResourceUsageModel.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ResourceUsageModel extends java.lang.Object {
private static final int TYPICAL_RESOURCE_COUNT
private final java.util.List mResources
private final java.util.Map mTypeToName
private final java.util.Map mValueToResource
private static final String ANDROID_RES
private static final int RESOURCE_DECLARED
private static final int RESOURCE_PUBLIC
private static final int RESOURCE_KEEP
private static final int RESOURCE_DISCARD
private static final int RESOURCE_REACHABLE
private java.util.List mKeepAttributes
private java.util.List mDiscardAttributes
private boolean mSafeMode
private static final String ANALYTICS_FILE
private static byte[] sAndroidResBytes
static final boolean $assertionsDisabled
public void ()
public static java.lang.String getFieldName (org.w3c.dom.Element)
org.w3c.dom.Element element
public static com.android.resources.ResourceType getResourceType (org.w3c.dom.Element)
String typeName
org.w3c.dom.Element element
String tagName
public com.android.tools.lint.checks.ResourceUsageModel$Resource getResource (org.w3c.dom.Element)
org.w3c.dom.Element element
public com.android.tools.lint.checks.ResourceUsageModel$Resource getResource (org.w3c.dom.Element, boolean)
String name
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
org.w3c.dom.Element element
boolean declare
com.android.resources.ResourceType type
public com.android.tools.lint.checks.ResourceUsageModel$Resource getResource (java.lang.Integer)
Integer value
public com.android.tools.lint.checks.ResourceUsageModel$Resource getResource (com.android.resources.ResourceType, java.lang.String)
com.android.resources.ResourceType type
String name
java.util.Map nameMap
com.android.tools.lint.checks.ResourceUsageModel$Resource getResourceFromUrl (java.lang.String)
String possibleUrlReference
com.android.ide.common.resources.ResourceUrl url
public com.android.tools.lint.checks.ResourceUsageModel$Resource getResourceFromFilePath (java.lang.String)
com.android.resources.ResourceType type
int nameBegin
int dot
String name
java.util.List types
String folderName
com.android.resources.ResourceFolderType folderType
int slash
int nameBegin
int dot
String name
String url
int nameSlash
int androidRes
int typeSlash
com.android.resources.ResourceType type
public static boolean markReachable (com.android.tools.lint.checks.ResourceUsageModel$Resource)
boolean wasReachable
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
private static void markUnreachable (com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
public void recordManifestUsages (org.w3c.dom.Node)
org.w3c.dom.Attr attr
int i
int n
org.w3c.dom.Element element
org.w3c.dom.NamedNodeMap attributes
String text
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Node node
short nodeType
org.w3c.dom.NodeList children
public java.util.List findUnused ()
public java.lang.String dumpReferences ()
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
StringBuilder sb
public java.lang.String dumpResourceModel ()
com.android.tools.lint.checks.ResourceUsageModel$Resource referenced
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
StringBuilder sb
public java.util.List findUnused (java.util.List)
com.android.tools.lint.checks.ResourceUsageModel$Resource root
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
java.util.List resources
java.util.List roots
java.util.Map seen
java.util.List unused
protected java.util.List findRoots (java.util.List)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
java.util.List resources
java.util.List roots
private static void visit (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.util.Map)
com.android.tools.lint.checks.ResourceUsageModel$Resource referenced
com.android.tools.lint.checks.ResourceUsageModel$Resource root
java.util.Map seen
public com.android.tools.lint.checks.ResourceUsageModel$Resource addDeclaredResource (com.android.resources.ResourceType, java.lang.String, java.lang.String, boolean)
com.android.resources.ResourceType type
String name
String value
boolean declared
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
public com.android.tools.lint.checks.ResourceUsageModel$Resource addResource (com.android.resources.ResourceType, java.lang.String, java.lang.String)
com.android.resources.ResourceType type
String name
String value
int realValue
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
java.util.Map nameMap
private void processKeepAttributes (java.lang.String)
String portion
com.android.tools.lint.checks.ResourceUsageModel$Resource r
java.util.regex.Pattern pattern
java.util.Map nameMap
String regexp
String value
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
private void processDiscardAttributes (java.lang.String)
String portion
com.android.tools.lint.checks.ResourceUsageModel$Resource r
java.util.regex.Pattern pattern
java.util.Map nameMap
String regexp
String value
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
public boolean isSafeMode ()
public void processToolsAttributes ()
String keep
String discard
public void recordToolsAttributes (org.w3c.dom.Attr)
org.w3c.dom.Attr attr
String localName
String value
protected com.android.tools.lint.checks.ResourceUsageModel$Resource declareResource (com.android.resources.ResourceType, java.lang.String, org.w3c.dom.Node)
com.android.resources.ResourceType type
String name
org.w3c.dom.Node node
protected java.lang.String readText (java.io.File)
java.io.IOException ignore
java.io.File file
public void visitBinaryResource (com.android.resources.ResourceFolderType, java.io.File)
java.util.List types
com.android.resources.ResourceType type
String name
String path
com.android.resources.ResourceFolderType folderType
java.io.File file
com.android.tools.lint.checks.ResourceUsageModel$Resource from
public void visitXmlDocument (java.io.File, com.android.resources.ResourceFolderType, org.w3c.dom.Document)
java.util.List types
com.android.resources.ResourceType type
String name
java.io.File file
com.android.resources.ResourceFolderType folderType
org.w3c.dom.Document document
com.android.tools.lint.checks.ResourceUsageModel$Resource from
public static boolean isAnalyticsFile (java.io.File)
java.io.File file
public void recordResourceReferences (com.android.resources.ResourceFolderType, org.w3c.dom.Node, com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
boolean isId
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
char c
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
int end
int length
int index
org.w3c.dom.Attr attr
String value
com.android.ide.common.resources.ResourceUrl url
int i
int n
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
StringBuilder sb
org.w3c.dom.NodeList children
org.w3c.dom.NamedNodeMap attributes
String typeName
String name
String parentStyle
com.android.tools.lint.checks.ResourceUsageModel$Resource ps
String parent
com.android.tools.lint.checks.ResourceUsageModel$Resource ps
int index
String name
org.w3c.dom.Element style
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
String name
com.android.tools.lint.checks.ResourceUsageModel$Resource definition
com.android.resources.ResourceType type
String tagName
org.w3c.dom.Element element
String text
com.android.tools.lint.checks.ResourceUsageModel$Resource textResource
org.w3c.dom.Node child
int i
int n
com.android.resources.ResourceFolderType folderType
org.w3c.dom.Node node
com.android.tools.lint.checks.ResourceUsageModel$Resource from
short nodeType
org.w3c.dom.NodeList children
public void tokenizeHtml (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String)
int end
int end
int end
char c
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String html
int length
int STATE_TEXT
int STATE_SLASH
int STATE_ATTRIBUTE_NAME
int STATE_BEFORE_TAG
int STATE_IN_TAG
int STATE_BEFORE_ATTRIBUTE
int STATE_ATTRIBUTE_BEFORE_EQUALS
int STATE_ATTRIBUTE_AFTER_EQUALS
int STATE_ATTRIBUTE_VALUE_NONE
int STATE_ATTRIBUTE_VALUE_SINGLE
int STATE_ATTRIBUTE_VALUE_DOUBLE
int STATE_CLOSE_TAG
int state
int offset
int valueStart
int tagStart
String tag
String attribute
int attributeStart
int prev
private void endHtmlTag (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String, int, java.lang.String)
String js
int end
String css
int end
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String html
int offset
String tag
public void tokenizeJs (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String)
int end
int end
char c
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String js
int length
int STATE_INIT
int STATE_SLASH
int STATE_STRING_DOUBLE
int STATE_STRING_DOUBLE_QUOTED
int STATE_STRING_SINGLE
int STATE_STRING_SINGLE_QUOTED
int state
int offset
int stringStart
int prev
public void tokenizeCss (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String)
int end
char prevChar
int end
char c
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String css
int length
int STATE_INIT
int STATE_SLASH
int state
int offset
int prev
public void tokenizeUnknownBinary (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.io.File)
String url
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
byte c
int begin
int end
byte[] bytes
int index
com.android.tools.lint.checks.ResourceUsageModel$Resource from
java.io.File file
private static int indexOf (byte[], byte[], int)
int j
int i
byte[] array
byte[] target
int fromIndex
private void tokenizeUnknownText (java.lang.String)
char c
int begin
int end
int length
String text
int index
public void tokenizeJavaCode (java.lang.String)
char t
String name
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
String typeName
com.android.resources.ResourceType type
char t
int begin
char c
char next
String s
int index
int length
protected void referencedString (java.lang.String)
String string
private void recordCssUrl (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String)
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String value
private boolean referencedUrl (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String)
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String url
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
private void recordHtmlAttributeValue (com.android.tools.lint.checks.ResourceUsageModel$Resource, java.lang.String, java.lang.String, java.lang.String)
com.android.tools.lint.checks.ResourceUsageModel$Resource from
String tagName
String attribute
String value
private void recordJsString (java.lang.String)
String string
public java.util.List getResources ()
public java.util.Collection getResourceMaps ()
static void ()
}
com/android/tools/lint/checks/ExtraTextDetector.classExtraTextDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ExtraTextDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
private boolean mFoundText
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
private void visitNode (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node)
int j
int line
int column
int offset
com.android.tools.lint.detector.api.Position start
String snippet
int maxLength
com.android.tools.lint.detector.api.Location location
char c
int i
int n
String text
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
short nodeType
org.w3c.dom.NodeList childNodes
static void ()
}
com/android/tools/lint/checks/JavaPerformanceDetector$PerformanceVisitor.classJavaPerformanceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.JavaPerformanceDetector$PerformanceVisitor extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
private final boolean mCheckMaps
private final boolean mCheckAllocations
private final boolean mCheckValueOf
private boolean mFlagAllocations
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitMethod (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod node
public void visitNewExpression (com.intellij.psi.PsiNewExpression)
String argument
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiNewExpression node
String typeName
com.intellij.psi.PsiJavaCodeReferenceElement classReference
private void reportAllocation (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement node
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiReferenceExpression expression
com.intellij.psi.PsiElement qualifier
String methodName
private static boolean isLazilyInitialized (com.intellij.psi.PsiElement)
com.google.common.collect.Sets$SetView intersection
java.util.List references
com.intellij.psi.PsiIfStatement ifNode
java.util.List assignments
com.android.tools.lint.checks.JavaPerformanceDetector$AssignmentTracker visitor
com.intellij.psi.PsiElement node
com.intellij.psi.PsiElement curr
private static void addReferencedVariables (java.util.Collection, com.intellij.psi.PsiExpression)
com.intellij.psi.PsiBinaryExpression binary
com.intellij.psi.PsiPrefixExpression unary
com.intellij.psi.PsiParenthesizedExpression exp
com.intellij.psi.PsiIdentifier reference
com.intellij.psi.PsiReferenceExpression ref
com.intellij.psi.PsiElement qualifier
java.util.Collection variables
com.intellij.psi.PsiExpression expression
private boolean isBlockedAllocationMethod (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod node
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static boolean isOnDrawMethod (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiMethod)
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod node
private static boolean isOnLayoutMethod (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiMethod)
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod node
private static boolean isOnMeasureMethod (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiMethod)
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod node
private static boolean isLayoutMethod (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiMethod)
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod node
private void checkHashMap (com.intellij.psi.PsiNewExpression, com.intellij.psi.PsiJavaCodeReferenceElement)
String valueType
boolean useBuiltin
String message
com.intellij.psi.PsiType first
String typeName
int minSdk
com.intellij.psi.PsiNewExpression node
com.intellij.psi.PsiJavaCodeReferenceElement reference
com.intellij.psi.PsiType[] types
private void checkSparseArray (com.intellij.psi.PsiNewExpression, com.intellij.psi.PsiJavaCodeReferenceElement)
String valueType
com.intellij.psi.PsiNewExpression node
com.intellij.psi.PsiJavaCodeReferenceElement reference
com.intellij.psi.PsiType[] types
}
com/android/tools/lint/checks/MissingIdDetector.classMissingIdDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.MissingIdDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
static void ()
}
com/android/tools/lint/checks/WakelockDetector$1.classWakelockDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.WakelockDetector$1 extends java.lang.Object {
}
com/android/tools/lint/checks/ButtonDetector.classButtonDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ButtonDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
private static final String CANCEL_LABEL
private static final String OK_LABEL
private static final String BACK_LABEL
private static final String YES_LABEL
private static final String NO_LABEL
private static final String ANDROID_OK_RESOURCE
private static final String ANDROID_CANCEL_RESOURCE
private static final String ANDROID_YES_RESOURCE
private static final String ANDROID_NO_RESOURCE
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ORDER
public static final com.android.tools.lint.detector.api.Issue STYLE
public static final com.android.tools.lint.detector.api.Issue BACK_BUTTON
public static final com.android.tools.lint.detector.api.Issue CASE
private java.util.Set mApplicableResources
private java.util.Map mKeyToLabel
private java.util.Set mIgnore
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
int phase
private static java.lang.String stripLabel (java.lang.String)
String text
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String label
String name
String label
String name
char c
int j
int len
String text
org.w3c.dom.Node child
int i
int n
org.w3c.dom.NodeList childNodes
com.android.tools.lint.detector.api.Location location
String key
String label
boolean isCancel
org.w3c.dom.Attr attribute
com.android.tools.lint.detector.api.Location location
String message
boolean isYes
String text
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int phase
String tagName
private static boolean parentDefinesSelectableItem (org.w3c.dom.Element)
org.w3c.dom.Element element
String background
org.w3c.dom.Node parent
private void reportOkPosition (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private void reportCancelPosition (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private void foundResource (com.android.tools.lint.detector.api.XmlContext, java.lang.String, org.w3c.dom.Element)
String text
org.w3c.dom.Node child
int i
int n
String itemName
org.w3c.dom.NodeList childNodes
org.w3c.dom.Element item
com.android.tools.lint.detector.api.XmlContext context
String name
org.w3c.dom.Element element
org.w3c.dom.Node parentNode
java.util.List items
private void report (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, boolean)
java.io.File layout
String folderName
java.io.File folder
java.io.File res
java.io.File[] resFolders
String fileName
boolean isIcsLayout
org.w3c.dom.Element button
String message
java.util.List labelList
String wrong
String right
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
boolean isCancel
int target
boolean mustCreateIcsLayout
java.util.List buttons
String message
String layout
com.android.tools.lint.detector.api.Location location
private static void sortButtons (java.util.List)
String label
int i
int n
java.util.List labelList
private static void swap (java.util.List, int, int)
String temp
java.util.List strings
int i
int j
private static java.lang.String describeButtons (java.util.List)
String label
java.util.List labelList
StringBuilder sb
private java.util.List getLabelList (java.util.List)
String text
String label
org.w3c.dom.Element view
java.util.List views
java.util.List labels
private java.lang.String getLabel (java.lang.String)
String key
String label
private static boolean isWrongCancelPosition (org.w3c.dom.Element)
org.w3c.dom.Element element
private static boolean isWrongOkPosition (org.w3c.dom.Element)
org.w3c.dom.Element element
private static boolean isInButtonBar (org.w3c.dom.Element)
String orientation
org.w3c.dom.Element element
org.w3c.dom.Node parentNode
org.w3c.dom.Element parent
String style
String layout
org.w3c.dom.Node n
private static boolean isWrongPosition (org.w3c.dom.Element, boolean)
org.w3c.dom.Node n
org.w3c.dom.Node n
String orientation
org.w3c.dom.Element element
boolean isCancel
org.w3c.dom.Node parentNode
org.w3c.dom.Element parent
String layout
private static boolean isTrue (org.w3c.dom.Element, java.lang.String)
org.w3c.dom.Element element
String attribute
private static boolean isButtonId (org.w3c.dom.Element, java.lang.String)
String id
org.w3c.dom.Element child
org.w3c.dom.Element parent
String targetId
static void ()
}
com/android/tools/lint/checks/InvalidPackageDetector.classInvalidPackageDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.InvalidPackageDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String JAVA_PKG_PREFIX
private static final String JAVAX_PKG_PREFIX
private com.android.tools.lint.checks.ApiLookup mApiDatabase
private java.util.List mCandidates
private final java.util.Set mJavaxLibraryClasses
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.AbstractInsnNode first
String type
int args
org.objectweb.asm.tree.MethodInsnNode node
String owner
org.objectweb.asm.tree.FieldInsnNode node
String owner
org.objectweb.asm.Type t
String className
org.objectweb.asm.tree.LdcInsnNode node
org.objectweb.asm.tree.AbstractInsnNode instruction
int type
int i
int n
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.InsnList nodes
String signature
Object m
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List methodList
private boolean isInvalidPackage (java.lang.String)
String owner
private void record (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.AbstractInsnNode, java.lang.String)
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.AbstractInsnNode instruction
String owner
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String name
String type
java.io.File jarFile
String referencedIn
com.android.tools.lint.detector.api.Location location
String pkg
String message
com.android.tools.lint.checks.InvalidPackageDetector$Candidate candidate
com.android.tools.lint.detector.api.Context context
java.util.Set seen
private static java.lang.String getPackageName (java.lang.String)
String owner
String pkg
int index
private static boolean shouldSkip (java.io.File)
java.io.File file
static void ()
}
com/android/tools/lint/checks/SecureRandomDetector.classSecureRandomDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SecureRandomDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String SET_SEED
public static final String JAVA_SECURITY_SECURE_RANDOM
public static final String JAVA_UTIL_RANDOM
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod seedMethod
String methodName
com.intellij.psi.PsiElement resolvedArgument
Object seed
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiExpression seedArgument
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static boolean isSecureRandomReceiver (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiElement operand
private static boolean isSecureRandomType (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
com.intellij.psi.PsiType type
static void ()
}
com/android/tools/lint/checks/PermissionRequirement$1.classPermissionRequirement.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.PermissionRequirement$1 extends com.android.tools.lint.checks.PermissionRequirement {
void (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiAnnotation annotation
public boolean isSatisfied (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder available
public boolean appliesTo (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder available
public boolean isConditional ()
public boolean isRevocable (com.android.tools.lint.checks.PermissionHolder)
com.android.tools.lint.checks.PermissionHolder revocable
public java.lang.String toString ()
protected void addMissingPermissions (com.android.tools.lint.checks.PermissionHolder, java.util.Set)
com.android.tools.lint.checks.PermissionHolder available
java.util.Set result
protected void addRevocablePermissions (java.util.Set, com.android.tools.lint.checks.PermissionHolder)
java.util.Set result
com.android.tools.lint.checks.PermissionHolder revocable
public com.intellij.psi.tree.IElementType getOperator ()
public java.lang.Iterable getChildren ()
}
com/android/tools/lint/checks/UnusedResourceDetector$UnusedResourceDetectorUsageModel.classUnusedResourceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceDetectorUsageModel extends com.android.tools.lint.checks.ResourceUsageModel {
public com.android.tools.lint.detector.api.XmlContext xmlContext
public com.android.tools.lint.detector.api.Context context
public java.util.Set unused
private void ()
protected java.lang.String readText (java.io.File)
java.io.IOException e
java.io.File file
protected com.android.tools.lint.checks.ResourceUsageModel$Resource declareResource (com.android.resources.ResourceType, java.lang.String, org.w3c.dom.Node)
org.w3c.dom.Node attribute
com.android.resources.ResourceType type
String name
org.w3c.dom.Node node
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
void (com.android.tools.lint.checks.UnusedResourceDetector$1)
com.android.tools.lint.checks.UnusedResourceDetector$1 x0
}
com/android/tools/lint/checks/PluralsDatabase$Quantity.classPluralsDatabase.java
package com.android.tools.lint.checks
public final com.android.tools.lint.checks.PluralsDatabase$Quantity extends java.lang.Enum {
public static final com.android.tools.lint.checks.PluralsDatabase$Quantity few
public static final com.android.tools.lint.checks.PluralsDatabase$Quantity many
public static final com.android.tools.lint.checks.PluralsDatabase$Quantity one
public static final com.android.tools.lint.checks.PluralsDatabase$Quantity two
public static final com.android.tools.lint.checks.PluralsDatabase$Quantity zero
public static final com.android.tools.lint.checks.PluralsDatabase$Quantity other
private static final com.android.tools.lint.checks.PluralsDatabase$Quantity[] $VALUES
public static com.android.tools.lint.checks.PluralsDatabase$Quantity[] values ()
public static com.android.tools.lint.checks.PluralsDatabase$Quantity valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public static com.android.tools.lint.checks.PluralsDatabase$Quantity get (java.lang.String)
com.android.tools.lint.checks.PluralsDatabase$Quantity quantity
String name
public static java.lang.String formatSet (java.util.EnumSet)
com.android.tools.lint.checks.PluralsDatabase$Quantity quantity
java.util.EnumSet set
java.util.List list
static void ()
}
com/android/tools/lint/checks/SQLiteDetector.classSQLiteDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SQLiteDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
int parameterCount
com.intellij.psi.PsiExpression argument
String sql
static void ()
}
com/android/tools/lint/checks/JavaPerformanceDetector.classJavaPerformanceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.JavaPerformanceDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue PAINT_ALLOC
public static final com.android.tools.lint.detector.api.Issue USE_SPARSE_ARRAY
public static final com.android.tools.lint.detector.api.Issue USE_VALUE_OF
static final String ON_MEASURE
static final String ON_DRAW
static final String ON_LAYOUT
private static final String LAYOUT
private static final String HASH_MAP
private static final String SPARSE_ARRAY
public static final String CLASS_CANVAS
public void ()
public java.util.List getApplicablePsiTypes ()
java.util.List types
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
private static java.lang.String getUseValueOfErrorMessage (java.lang.String, java.lang.String)
String typeName
String argument
public static java.lang.String getReplacedType (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String message
com.android.tools.lint.detector.api.TextFormat format
int index
static java.lang.String access$000 (java.lang.String, java.lang.String)
String x0
String x1
static void ()
}
com/android/tools/lint/checks/SetTextDetector.classSetTextDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SetTextDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue SET_TEXT_I18N
private static final String METHOD_NAME
private static final String TO_STRING_NAME
private static final String CHAR_SEQUENCE_CLS
private static final String NUMBER_CLS
private static final String TEXT_VIEW_CLS
private static final String WORD_PATTERN
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
private static void checkNode (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiElement)
Object value
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiClass superClass
com.intellij.psi.PsiMethod calledMethod
com.intellij.psi.PsiBinaryExpression expression
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiElement node
static void ()
}
com/android/tools/lint/checks/SupportAnnotationDetector$CheckPermissionVisitor.classSupportAnnotationDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SupportAnnotationDetector$CheckPermissionVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private boolean mChecksPermission
private boolean mDone
private final com.intellij.psi.PsiElement mTarget
public void (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement target
public void visitElement (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement element
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression node
String name
public boolean checksPermission ()
}
com/android/tools/lint/checks/MathDetector.classMathDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.MathDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String message
com.intellij.psi.PsiReferenceExpression expression
com.intellij.psi.PsiElement operand
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
static void ()
}
com/android/tools/lint/checks/CordovaVersionDetector.classCordovaVersionDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CordovaVersionDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPL
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final com.android.ide.common.repository.GradleVersion VALID_CORDOVA_VERSION
private static final java.util.regex.Pattern VERSION_STR
private static final String FQN_CORDOVA_DEVICE
private static final String FIELD_NAME_CORDOVA_VERSION
private static final String FQN_CORDOVA_WEBVIEW
private static final String FIELD_NAME_CORDOVA_VERSION_WEBVIEW
private static final String CORDOVA_DOT_JS
private static final java.io.FilenameFilter CORDOVA_JS_FILTER
private com.android.ide.common.repository.GradleVersion mCordovaVersion
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private void checkAssetsFolder (com.android.tools.lint.detector.api.Context)
java.io.File file
java.io.File[] filtered
java.io.File current
java.io.File assetFolder
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Project project
java.util.List assetFolders
java.util.Deque files
private void checkFile (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
private static void validateCordovaVersion (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleVersion, com.android.tools.lint.detector.api.Location)
String message
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleVersion cordovaVersion
com.android.tools.lint.detector.api.Location location
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.AbstractInsnNode instruction
int type
int i
int n
org.objectweb.asm.tree.InsnList nodes
org.objectweb.asm.tree.MethodNode method
java.util.List methods
org.objectweb.asm.tree.FieldNode node
java.util.List fields
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
private void checkInstructionInternal (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode prevInstruction
org.objectweb.asm.tree.LdcInsnNode ldcInsnNode
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.AbstractInsnNode instruction
org.objectweb.asm.tree.FieldInsnNode node
private static com.android.ide.common.repository.GradleVersion createVersion (java.lang.String)
String version
java.util.regex.Matcher matcher
static void ()
}
com/android/tools/lint/checks/OverdrawDetector$OverdrawVisitor.classOverdrawDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.OverdrawDetector$OverdrawVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final String mName
private final com.intellij.psi.PsiClass mCls
final com.android.tools.lint.checks.OverdrawDetector this$0
public void (com.android.tools.lint.checks.OverdrawDetector, java.lang.String, com.intellij.psi.PsiClass)
String name
com.intellij.psi.PsiClass cls
public void visitAnonymousClass (com.intellij.psi.PsiAnonymousClass)
com.intellij.psi.PsiAnonymousClass aClass
public void visitClass (com.intellij.psi.PsiClass)
com.intellij.psi.PsiClass aClass
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
String layout
com.intellij.psi.PsiReferenceExpression rClass
com.intellij.psi.PsiReferenceExpression type
com.intellij.psi.PsiReferenceExpression expression
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
String style
com.intellij.psi.PsiReferenceExpression rClass
com.intellij.psi.PsiReferenceExpression type
com.intellij.psi.PsiReferenceExpression resource
com.intellij.psi.PsiExpression arg
com.intellij.psi.PsiExpression[] args
com.intellij.psi.PsiMethodCallExpression expression
}
com/android/tools/lint/checks/LocaleDetector.classLocaleDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LocaleDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue STRING_LOCALE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.Location location
String message
String name
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
private static boolean isLoggingParameter (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethod method
String name
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethodCallExpression parentCall
private static void checkFormat (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod, com.intellij.psi.PsiMethodCallExpression)
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiExpression[] expressions
com.intellij.psi.PsiExpression first
Object value
String format
static void ()
}
com/android/tools/lint/checks/FieldGetterDetector.classFieldGetterDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.FieldGetterDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.ArrayList mPendingCalls
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public int[] getApplicableAsmNodeTypes ()
public void checkInstruction (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.AbstractInsnNode)
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.AbstractInsnNode instruction
org.objectweb.asm.tree.MethodInsnNode node
String name
String owner
org.objectweb.asm.tree.AbstractInsnNode prev
org.objectweb.asm.tree.VarInsnNode prevVar
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.checks.FieldGetterDetector$Entry entry
com.android.tools.lint.detector.api.Location location
String fieldName
String name
com.android.tools.lint.checks.FieldGetterDetector$Entry entry
String getter
java.util.Set names
java.util.Map getters
com.android.tools.lint.detector.api.Context c
com.android.tools.lint.detector.api.ClassContext context
private static java.util.Map checkMethods (org.objectweb.asm.tree.ClassNode, java.util.Set)
org.objectweb.asm.tree.FieldInsnNode field
org.objectweb.asm.tree.AbstractInsnNode curr
org.objectweb.asm.tree.InsnList instructions
int mState
org.objectweb.asm.tree.MethodNode method
Object methodObject
org.objectweb.asm.tree.ClassNode classNode
java.util.Set names
java.util.Map validGetters
java.util.List methods
String fieldName
static void ()
}
com/android/tools/lint/checks/AppCompatCallDetector.classAppCompatCallDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AppCompatCallDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String GET_ACTION_BAR
private static final String START_ACTION_MODE
private static final String SET_PROGRESS_BAR_VIS
private static final String SET_PROGRESS_BAR_IN_VIS
private static final String SET_PROGRESS_BAR_INDETERMINATE
private static final String REQUEST_WINDOW_FEATURE
private static final String ERROR_MESSAGE_FORMAT
private boolean mDependsOnAppCompat
public void ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
Boolean dependsOnAppCompat
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String message
String name
String replace
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
private static boolean isAppBarActivityCall (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiClass cls
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
public static java.lang.String getOldCall (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
public static java.lang.String getNewCall (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
private static java.lang.String getMessagePart (java.lang.String, int, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
int group
com.android.tools.lint.detector.api.TextFormat format
java.util.List parameters
static void ()
}
com/android/tools/lint/checks/PluralsDatabase.classPluralsDatabase.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PluralsDatabase extends java.lang.Object {
private static final java.util.EnumSet NONE
private static final com.android.tools.lint.checks.PluralsDatabase sInstance
private final java.util.Map mPlurals
static final int FLAG_ZERO
static final int FLAG_ONE
static final int FLAG_TWO
static final int FLAG_FEW
static final int FLAG_MANY
static final int FLAG_MULTIPLE_ZERO
static final int FLAG_MULTIPLE_ONE
static final int FLAG_MULTIPLE_TWO
private static final String[] LANGUAGE_CODES
private static final int[] FLAGS
static final boolean $assertionsDisabled
public void ()
public static com.android.tools.lint.checks.PluralsDatabase get ()
private static int getFlags (java.lang.String)
String language
int index
private static int getLanguageIndex (java.lang.String)
String language
int index
public java.util.EnumSet getRelevant (java.lang.String)
int index
int flag
String language
java.util.EnumSet set
public boolean hasMultipleValuesForQuantity (java.lang.String, com.android.tools.lint.checks.PluralsDatabase$Quantity)
String language
com.android.tools.lint.checks.PluralsDatabase$Quantity quantity
public java.lang.String findIntegerExamples (java.lang.String, com.android.tools.lint.checks.PluralsDatabase$Quantity)
String language
com.android.tools.lint.checks.PluralsDatabase$Quantity quantity
private static java.lang.String getExampleForQuantityZero (java.lang.String)
String language
int index
private static java.lang.String getExampleForQuantityOne (java.lang.String)
String language
int index
private static java.lang.String getExampleForQuantityTwo (java.lang.String)
String language
int index
static void ()
}
com/android/tools/lint/checks/PermissionFinder$Result.classPermissionFinder.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PermissionFinder$Result extends java.lang.Object {
public final com.android.tools.lint.checks.PermissionRequirement requirement
public final String name
public final com.android.tools.lint.checks.PermissionFinder$Operation operation
public void (com.android.tools.lint.checks.PermissionFinder$Operation, com.android.tools.lint.checks.PermissionRequirement, java.lang.String)
com.android.tools.lint.checks.PermissionFinder$Operation operation
com.android.tools.lint.checks.PermissionRequirement requirement
String name
}
com/android/tools/lint/checks/Utf8Detector.classUtf8Detector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.Utf8Detector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final java.util.regex.Pattern ENCODING_PATTERN
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
char c
int i
String encoding
com.android.tools.lint.detector.api.Location location
java.util.regex.Matcher matcher
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
String xml
int lineEnd
int max
int encodingIndex
static void ()
}
com/android/tools/lint/checks/DuplicateIdDetector$Occurrence.classDuplicateIdDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence extends java.lang.Object implements java.lang.Comparable {
public final java.io.File file
public final String includePath
public com.android.tools.lint.checks.DuplicateIdDetector$Occurrence next
public com.android.tools.lint.detector.api.Location location
public String message
public void (java.io.File, java.lang.String, java.lang.String)
java.io.File file
String message
String includePath
public java.lang.String toString ()
public int compareTo (com.android.tools.lint.checks.DuplicateIdDetector$Occurrence)
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence other
int delta
public volatile int compareTo (java.lang.Object)
}
com/android/tools/lint/checks/WrongImportDetector.classWrongImportDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WrongImportDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/ConstraintLayoutDetector.classConstraintLayoutDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ConstraintLayoutDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String LAYOUT_CONSTRAINT_PREFIX
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Node attribute
String name
int i
String message
String message
String message
org.w3c.dom.Element element
boolean isConstrainedHorizontally
boolean isConstrainedVertically
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.Node child
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element layout
static void ()
}
com/android/tools/lint/checks/StringAuthLeakDetector.classStringAuthLeakDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.StringAuthLeakDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue AUTH_LEAK
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/UnusedResourceDetector$UnusedResourceVisitor.classUnusedResourceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceVisitor extends com.intellij.psi.JavaElementVisitor {
private boolean mScannedForStaticImports
final com.android.tools.lint.checks.UnusedResourceDetector this$0
public void (com.android.tools.lint.checks.UnusedResourceDetector)
public void visitImportStaticStatement (com.intellij.psi.PsiImportStaticStatement)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
com.android.ide.common.resources.ResourceUrl url
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiImportStaticStatement statement
}
com/android/tools/lint/checks/GetSignaturesDetector.classGetSignaturesDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.GetSignaturesDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String PACKAGE_MANAGER_CLASS
private static final String GET_PACKAGE_INFO
private static final int GET_SIGNATURES_FLAG
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
int flagValue
com.intellij.psi.PsiExpression second
Object number
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiExpression[] arguments
private static void maybeReportIssue (int, com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiExpression)
int flagValue
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiExpression last
static void ()
}
com/android/tools/lint/checks/GradleDetector.classGradleDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.GradleDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$GradleScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue DEPENDENCY
public static final com.android.tools.lint.detector.api.Issue DEPRECATED
public static final com.android.tools.lint.detector.api.Issue GRADLE_PLUGIN_COMPATIBILITY
public static final com.android.tools.lint.detector.api.Issue PATH
public static final com.android.tools.lint.detector.api.Issue IDE_SUPPORT
public static final com.android.tools.lint.detector.api.Issue PLUS
public static final com.android.tools.lint.detector.api.Issue GRADLE_GETTER
public static final com.android.tools.lint.detector.api.Issue COMPATIBILITY
public static final com.android.tools.lint.detector.api.Issue STRING_INTEGER
public static final com.android.tools.lint.detector.api.Issue NOT_INTERPOLATED
public static final com.android.tools.lint.detector.api.Issue REMOTE_VERSION
public static final com.android.tools.lint.detector.api.Issue ACCIDENTAL_OCTAL
public static final String APP_PLUGIN_ID
public static final String LIB_PLUGIN_ID
public static final String OLD_APP_PLUGIN_ID
public static final String OLD_LIB_PLUGIN_ID
public static final String GMS_GROUP_ID
public static final String GOOGLE_SUPPORT_GROUP_ID
public static final String ANDROID_WEAR_GROUP_ID
private int mMinSdkVersion
private int mCompileSdkVersion
private int mTargetSdkVersion
private static int sMajorBuildTools
private static com.android.repository.Revision sLatestBuildTools
static java.util.Map sMockData
private boolean mCheckedGms
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public com.android.tools.lint.detector.api.Speed getSpeed (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue issue
public void visitBuildScript (com.android.tools.lint.detector.api.Context, java.util.Map)
com.android.tools.lint.detector.api.Context context
java.util.Map sharedData
protected static boolean isInterestingBlock (java.lang.String, java.lang.String)
String parent
String parentParent
protected static boolean isInterestingStatement (java.lang.String, java.lang.String)
String statement
String parent
protected static boolean isInterestingProperty (java.lang.String, java.lang.String, java.lang.String)
String property
String parent
String parentParent
protected void checkOctal (com.android.tools.lint.detector.api.Context, java.lang.String, java.lang.Object)
long numericValue
NumberFormatException nufe
String message
com.android.tools.lint.detector.api.Context context
String value
Object cookie
protected void checkDslPropertyAssignment (com.android.tools.lint.detector.api.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object, java.lang.Object)
String message
int version
int version
String message
String message
int version
String message
com.android.repository.Revision recommended
com.android.repository.Revision version
String versionString
String message
String message
String path
String message
String message
com.android.ide.common.repository.GradleCoordinate gc
String dependency
String message
String message
String suffix
com.android.tools.lint.detector.api.Context context
String property
String value
String parent
String parentParent
Object valueCookie
Object statementCookie
private static com.android.ide.common.repository.GradleCoordinate resolveCoordinate (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleCoordinate)
java.util.List revisions
com.android.builder.model.MavenCoordinates mc
com.android.builder.model.AndroidLibrary library
com.android.builder.model.Dependencies dependencies
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleCoordinate gc
com.android.tools.lint.detector.api.Project project
com.android.builder.model.Variant variant
static java.lang.String getNamedDependency (java.lang.String)
int colon
char quote
int valueStart
int valueEnd
String value
String property
String artifact
String group
String version
com.google.common.base.Splitter splitter
String expression
private void checkIntegerAsString (com.android.tools.lint.detector.api.Context, java.lang.String, java.lang.Object)
String quote
String message
com.android.tools.lint.detector.api.Context context
String value
Object valueCookie
String string
public static java.lang.String getOldValue (com.android.tools.lint.detector.api.Issue, java.lang.String, com.android.tools.lint.detector.api.TextFormat)
com.android.tools.lint.detector.api.Issue issue
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
public static java.lang.String getNewValue (com.android.tools.lint.detector.api.Issue, java.lang.String, com.android.tools.lint.detector.api.TextFormat)
com.android.tools.lint.detector.api.Issue issue
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
private static boolean isNumberString (java.lang.String)
int i
int n
String s
protected void checkMethodCall (com.android.tools.lint.detector.api.Context, java.lang.String, java.lang.String, java.util.Map, java.util.List, java.lang.Object)
String replaceWith
String message
boolean isOldAppPlugin
com.android.tools.lint.detector.api.Context context
String statement
String parent
java.util.Map namedArguments
java.util.List unnamedArguments
Object cookie
String plugin
private static com.android.repository.Revision parseRevisionSilently (java.lang.String)
Throwable t
String versionString
private static boolean isModelOlderThan011 (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private static com.android.repository.Revision getLatestBuildTools (com.android.tools.lint.client.api.LintClient, int)
String name
com.android.repository.Revision v
java.io.File dir
java.io.File[] dirs
java.util.List revisions
java.io.File sdkHome
com.android.tools.lint.client.api.LintClient client
int major
private void checkTargetCompatibility (com.android.tools.lint.detector.api.Context, java.lang.Object)
String message
com.android.tools.lint.detector.api.Context context
Object cookie
private static java.lang.String getStringLiteralValue (java.lang.String)
String value
private static int getIntLiteralValue (java.lang.String, int)
NumberFormatException e
String value
int defaultValue
private static boolean isInteger (java.lang.String)
String token
private static boolean isStringLiteral (java.lang.String)
String token
private void checkDependency (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleCoordinate, java.lang.Object)
com.android.ide.common.repository.GradleCoordinate max
String version
java.io.File sdkHome
java.io.File repository
String message
com.android.repository.Revision v
NumberFormatException e
com.android.repository.Revision latest
String message
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleCoordinate dependency
Object cookie
com.android.repository.Revision version
com.android.tools.lint.detector.api.Issue issue
private static java.lang.String getNewerVersionAvailableMessage (com.android.ide.common.repository.GradleCoordinate, com.android.repository.Revision)
com.android.ide.common.repository.GradleCoordinate dependency
com.android.repository.Revision version
private static java.lang.String getNewerVersionAvailableMessage (com.android.ide.common.repository.GradleCoordinate, java.lang.String)
com.android.ide.common.repository.GradleCoordinate dependency
String version
public static com.android.repository.Revision getLatestVersionFromRemoteRepo (com.android.tools.lint.client.api.LintClient, com.android.ide.common.repository.GradleCoordinate, boolean)
com.android.tools.lint.client.api.LintClient client
com.android.ide.common.repository.GradleCoordinate dependency
boolean allowPreview
private static com.android.repository.Revision getLatestVersionFromRemoteRepo (com.android.tools.lint.client.api.LintClient, com.android.ide.common.repository.GradleCoordinate, boolean, boolean)
java.io.UnsupportedEncodingException ee
com.android.repository.Revision revision
int start
int end
com.android.tools.lint.client.api.LintClient client
com.android.ide.common.repository.GradleCoordinate dependency
boolean firstRowOnly
boolean allowPreview
String groupId
String artifactId
StringBuilder query
String encoding
String response
boolean foundPreview
int index
private static java.lang.String readUrlData (com.android.tools.lint.client.api.LintClient, com.android.ide.common.repository.GradleCoordinate, java.lang.String)
String value
StringBuilder sb
String line
java.io.InputStream is
java.io.BufferedReader reader
java.net.URL url
java.net.URLConnection connection
java.io.IOException ioe
com.android.tools.lint.client.api.LintClient client
com.android.ide.common.repository.GradleCoordinate dependency
String query
private boolean checkGradlePluginDependency (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleCoordinate, java.lang.Object)
String message
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleCoordinate dependency
Object cookie
com.android.ide.common.repository.GradleCoordinate latestPlugin
private void checkSupportLibraries (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleCoordinate, java.lang.Object)
String message
String message
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleCoordinate dependency
Object cookie
String groupId
String artifactId
java.io.File sdkHome
java.io.File repository
private void checkPlayServices (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleCoordinate, java.lang.Object)
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleCoordinate dependency
Object cookie
String groupId
String artifactId
java.io.File sdkHome
java.io.File repository
private void checkConsistentPlayServices (com.android.tools.lint.detector.api.Context, java.lang.Object)
com.android.builder.model.AndroidLibrary library
java.util.List sortedVersions
com.android.builder.model.MavenCoordinates c1
com.android.builder.model.MavenCoordinates c2
String example1
String example2
String message
com.android.tools.lint.detector.api.Context context
Object cookie
com.android.tools.lint.detector.api.Project project
com.android.builder.model.Variant variant
com.android.builder.model.AndroidArtifact artifact
com.android.ide.common.repository.GradleVersion version
java.util.Collection libraries
com.android.builder.model.Dependencies compileDependencies
com.google.common.collect.Multimap versionToCoordinate
java.util.Set versions
private static void addGmsLibraryVersions (com.google.common.collect.Multimap, com.android.builder.model.AndroidLibrary)
com.android.builder.model.AndroidLibrary dependency
com.google.common.collect.Multimap versions
com.android.builder.model.AndroidLibrary library
com.android.builder.model.MavenCoordinates coordinates
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private void checkLocalMavenVersions (com.android.tools.lint.detector.api.Context, com.android.ide.common.repository.GradleCoordinate, java.lang.Object, java.lang.String, java.lang.String, java.io.File)
String message
com.android.tools.lint.detector.api.Context context
com.android.ide.common.repository.GradleCoordinate dependency
Object cookie
String groupId
String artifactId
java.io.File repository
com.android.ide.common.repository.GradleCoordinate max
private static com.android.repository.Revision getNewerRevision (com.android.ide.common.repository.GradleCoordinate, com.android.repository.Revision)
String coordinateString
com.android.ide.common.repository.GradleCoordinate coordinate
com.android.ide.common.repository.GradleCoordinate dependency
com.android.repository.Revision revision
com.android.ide.common.repository.GradleCoordinate coordinate
private static boolean isOlderThan (com.android.ide.common.repository.GradleCoordinate, int, int, int)
com.android.ide.common.repository.GradleCoordinate dependency
int major
int minor
int micro
private void report (com.android.tools.lint.detector.api.Context, java.lang.Object, com.android.tools.lint.detector.api.Issue, java.lang.String)
int startOffset
boolean checkComments
com.android.tools.lint.detector.api.Context context
Object cookie
com.android.tools.lint.detector.api.Issue issue
String message
protected java.lang.Object getPropertyKeyCookie (java.lang.Object)
Object cookie
protected java.lang.Object getPropertyPairCookie (java.lang.Object)
Object cookie
protected int getStartOffset (com.android.tools.lint.detector.api.Context, java.lang.Object)
com.android.tools.lint.detector.api.Context context
Object cookie
protected com.android.tools.lint.detector.api.Location createLocation (com.android.tools.lint.detector.api.Context, java.lang.Object)
com.android.tools.lint.detector.api.Context context
Object cookie
public static com.android.builder.model.Dependencies getCompileDependencies (com.android.builder.model.AndroidArtifact, com.android.ide.common.repository.GradleVersion)
com.android.builder.model.Dependencies compileDependencies
com.android.builder.model.AndroidArtifact artifact
com.android.ide.common.repository.GradleVersion version
com.android.builder.model.Dependencies compileDependencies
static void ()
}
com/android/tools/lint/checks/SetJavaScriptEnabledDetector.classSetJavaScriptEnabledDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SetJavaScriptEnabledDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
Object constant
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] arguments
public java.util.List getApplicableMethodNames ()
static void ()
}
com/android/tools/lint/checks/ManifestDetector.classManifestDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ManifestDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ORDER
public static final com.android.tools.lint.detector.api.Issue USES_SDK
public static final com.android.tools.lint.detector.api.Issue TARGET_NEWER
public static final com.android.tools.lint.detector.api.Issue MULTIPLE_USES_SDK
public static final com.android.tools.lint.detector.api.Issue WRONG_PARENT
public static final com.android.tools.lint.detector.api.Issue DUPLICATE_ACTIVITY
private static final String BACKUP_DOCUMENTATION_URL
public static final com.android.tools.lint.detector.api.Issue ALLOW_BACKUP
public static final com.android.tools.lint.detector.api.Issue UNIQUE_PERMISSION
public static final com.android.tools.lint.detector.api.Issue SET_VERSION
public static final com.android.tools.lint.detector.api.Issue ILLEGAL_REFERENCE
public static final com.android.tools.lint.detector.api.Issue DUPLICATE_USES_FEATURE
public static final com.android.tools.lint.detector.api.Issue APPLICATION_ICON
public static final com.android.tools.lint.detector.api.Issue DEVICE_ADMIN
public static final com.android.tools.lint.detector.api.Issue MOCK_LOCATION
public static final com.android.tools.lint.detector.api.Issue GRADLE_OVERRIDES
public static final com.android.tools.lint.detector.api.Issue MIPMAP
public static final com.android.tools.lint.detector.api.Issue WEARABLE_BIND_LISTENER
public static final String MOCK_LOCATION_PERMISSION
public static final String MISSING_FULL_BACKUP_CONTENT_RESOURCE
private static final com.android.ide.common.repository.GradleCoordinate MIN_WEARABLE_GMS_VERSION
private boolean mSeenApplication
private int mSeenUsesSdk
private java.util.Set mActivities
private java.util.Set mUsesFeatures
private java.util.Map mPermissionNames
private com.android.tools.lint.detector.api.Location$Handle mApplicationTagHandle
private boolean mSeenAppIcon
private boolean mSeenAllowBackup
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.XmlContext xmlContext
org.w3c.dom.Element element
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Context context
private com.android.tools.lint.detector.api.Location getMainApplicationTagLocation (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
java.util.List manifestFiles
private static void checkDocumentElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String pkg
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr codeNode
org.w3c.dom.Attr nameNode
org.w3c.dom.Attr pkgNode
private static void checkOverride (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String)
com.android.builder.model.ApiVersion minSdkVersion
com.android.builder.model.ApiVersion targetSdkVersion
Integer versionCode
String manifestValue
String message
com.android.builder.model.ProductFlavor flavor
String gradleValue
com.android.builder.model.Variant variant
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String attributeName
com.android.tools.lint.detector.api.Project project
org.w3c.dom.Attr attribute
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String pkg
String name
org.w3c.dom.Attr nameNode
org.w3c.dom.Attr nodeNS
org.w3c.dom.Element innerChild
org.w3c.dom.Element child
com.android.builder.model.AndroidLibrary library
com.android.builder.model.Dependencies dependencies
com.android.ide.common.repository.GradleCoordinate max
java.io.File sdkHome
java.io.File repository
String message
org.w3c.dom.Attr bindListenerAttr
com.android.builder.model.Variant variant
com.android.tools.lint.detector.api.Location l
org.w3c.dom.Element e
int i
com.android.tools.lint.detector.api.Location location
org.w3c.dom.NodeList elements
com.android.tools.lint.detector.api.Location secondary
org.w3c.dom.Attr codeNode
int api
String target
org.w3c.dom.Attr targetSdkVersionNode
org.w3c.dom.Attr nameNode
com.android.tools.lint.detector.api.Location prevLocation
String b
org.w3c.dom.Element sibling
String suffix
org.w3c.dom.Node node
int i
int n
String prevName
com.android.tools.lint.detector.api.Location location
org.w3c.dom.NodeList siblings
String message
String name
String base
org.w3c.dom.Attr nameNode
String message
com.android.tools.lint.detector.api.Location location
org.w3c.dom.Attr name
com.android.tools.lint.detector.api.Location location
com.android.ide.common.res2.AbstractResourceRepository resources
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
boolean recordLocation
String allowBackup
org.w3c.dom.Attr fullBackupNode
String message
String name
org.w3c.dom.Attr nameNode
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
org.w3c.dom.Node parentNode
boolean isReceiver
private boolean hasWearableGmsDependency (com.android.builder.model.AndroidLibrary)
com.android.ide.common.repository.GradleCoordinate gc
com.android.builder.model.AndroidLibrary dependency
com.android.builder.model.AndroidLibrary library
com.android.builder.model.MavenCoordinates mc
private static boolean hasGcmReceiver (org.w3c.dom.Element)
org.w3c.dom.Element action
String name
org.w3c.dom.Node filterChild
int i3
int n3
org.w3c.dom.NodeList filterChildren
org.w3c.dom.Node receiverChild
int i2
int n2
org.w3c.dom.NodeList receiverChildren
org.w3c.dom.Node applicationChild
int i1
int n1
org.w3c.dom.Element application
org.w3c.dom.NodeList applicationChildren
private static void checkMipmapIcon (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr attribute
String icon
private static boolean isLaunchableActivity (org.w3c.dom.Element)
String categoryString
org.w3c.dom.Element innerChild
org.w3c.dom.Element child
org.w3c.dom.Element element
private static boolean isMainManifest (com.android.tools.lint.detector.api.XmlContext, java.io.File)
com.android.tools.lint.detector.api.XmlContext context
java.io.File manifestFile
com.android.builder.model.AndroidProject model
private static boolean isDebugOrTestManifest (com.android.tools.lint.detector.api.XmlContext, java.io.File)
com.android.builder.model.BuildTypeContainer container
String artifactName
com.android.builder.model.SourceProviderContainer extra
String artifactName
com.android.builder.model.SourceProviderContainer extra
com.android.builder.model.ProductFlavorContainer container
com.android.tools.lint.detector.api.XmlContext context
java.io.File manifestFile
com.android.builder.model.AndroidProject model
private static void checkDeviceAdmin (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String filterTag
org.w3c.dom.Element filterChild
boolean dataFound
boolean actionFound
String name
org.w3c.dom.Attr valueNode
String tagName
org.w3c.dom.Element child
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
java.util.List children
boolean requiredIntentFilterFound
boolean deviceAdmin
org.w3c.dom.Attr locationNode
static void ()
}
com/android/tools/lint/checks/AnnotationDetector.classAnnotationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AnnotationDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue INSIDE_METHOD
public static final com.android.tools.lint.detector.api.Issue ANNOTATION_USAGE
public static final com.android.tools.lint.detector.api.Issue UNIQUE
public static final com.android.tools.lint.detector.api.Issue FLAG_STYLE
public static final com.android.tools.lint.detector.api.Issue SWITCH_TYPE_DEF
private java.util.Set mWarnedFlags
public void ()
public java.util.List getApplicablePsiTypes ()
java.util.List types
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
private static java.util.List computeFieldNames (com.intellij.psi.PsiSwitchStatement, java.lang.Iterable)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiField field
String name
com.intellij.psi.PsiClass clz
Object o
com.intellij.psi.PsiSwitchStatement node
Iterable allowedValues
java.util.List list
public static java.util.List getMissingCases (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
String substring
private static com.intellij.psi.PsiElement getAnnotationScope (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiAnnotation node
com.intellij.psi.PsiElement scope
static java.util.List access$000 (com.intellij.psi.PsiSwitchStatement, java.lang.Iterable)
com.intellij.psi.PsiSwitchStatement x0
Iterable x1
static com.intellij.psi.PsiElement access$100 (com.intellij.psi.PsiAnnotation)
com.intellij.psi.PsiAnnotation x0
static java.util.Set access$200 (com.android.tools.lint.checks.AnnotationDetector)
com.android.tools.lint.checks.AnnotationDetector x0
static java.util.Set access$202 (com.android.tools.lint.checks.AnnotationDetector, java.util.Set)
com.android.tools.lint.checks.AnnotationDetector x0
java.util.Set x1
static void ()
}
com/android/tools/lint/checks/BadHostnameVerifierDetector$ComplexVisitor.classBadHostnameVerifierDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.BadHostnameVerifierDetector$ComplexVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
private boolean mComplex
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitThrowStatement (com.intellij.psi.PsiThrowStatement)
com.intellij.psi.PsiThrowStatement statement
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression expression
public void visitReturnStatement (com.intellij.psi.PsiReturnStatement)
com.intellij.psi.PsiReturnStatement node
com.intellij.psi.PsiExpression argument
public boolean isComplex ()
}
com/android/tools/lint/checks/ScrollViewChildDetector.classScrollViewChildDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ScrollViewChildDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String msg
org.w3c.dom.Attr sizeNode
String value
org.w3c.dom.Element child
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
java.util.List children
boolean isHorizontal
String attributeName
static void ()
}
com/android/tools/lint/checks/LayoutConsistencyDetector$1.classLayoutConsistencyDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.LayoutConsistencyDetector$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (com.android.tools.lint.detector.api.Location, com.android.tools.lint.detector.api.Location)
com.android.tools.lint.detector.api.Location location1
com.android.tools.lint.detector.api.Location location2
java.io.File file1
java.io.File file2
String folder1
String folder2
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/ClickableViewAccessibilityDetector.classClickableViewAccessibilityDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ClickableViewAccessibilityDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String ON_TOUCH_EVENT
private static final String ON_TOUCH_EVENT_SIG
private static final String PERFORM_CLICK
private static final String PERFORM_CLICK_SIG
private static final String SET_ON_TOUCH_LISTENER
private static final String SET_ON_TOUCH_LISTENER_SIG
private static final String ON_TOUCH
private static final String ON_TOUCH_SIG
private static final String ON_TOUCH_LISTENER
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
public static void scanForAndCheckSetOnTouchListenerCalls (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.MethodInsnNode methodInsnNode
org.objectweb.asm.tree.AbstractInsnNode abstractInsnNode
java.util.ListIterator iterator
org.objectweb.asm.tree.MethodNode methodNode
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List methods
public static void checkSetOnTouchListenerCall (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode)
String message
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode call
String owner
org.objectweb.asm.tree.ClassNode ownerClass
org.objectweb.asm.tree.MethodNode performClick
private static void checkOnTouchListener (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
String message
org.objectweb.asm.tree.AbstractInsnNode performClickInsnNode
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode onTouchNode
private static void checkView (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
String message
String message
org.objectweb.asm.tree.AbstractInsnNode performClickInOnTouchEventInsnNode
String message
org.objectweb.asm.tree.AbstractInsnNode superPerformClickInPerformClickInsnNode
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode onTouchEvent
org.objectweb.asm.tree.MethodNode performClick
private static org.objectweb.asm.tree.MethodNode findMethod (java.util.List, java.lang.String, java.lang.String)
org.objectweb.asm.tree.MethodNode method
java.util.List methods
String name
String desc
private static org.objectweb.asm.tree.AbstractInsnNode findMethodCallInstruction (org.objectweb.asm.tree.InsnList, java.lang.String, java.lang.String, java.lang.String)
org.objectweb.asm.tree.MethodInsnNode methodInsnNode
org.objectweb.asm.tree.AbstractInsnNode insnNode
org.objectweb.asm.tree.InsnList instructions
String owner
String name
String desc
java.util.ListIterator iterator
private static boolean implementsOnTouchListener (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.ClassNode classNode
static void ()
}
com/android/tools/lint/checks/ApiParser.classApiParser.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ApiParser extends org.xml.sax.helpers.DefaultHandler {
private static final String NODE_API
private static final String NODE_CLASS
private static final String NODE_FIELD
private static final String NODE_METHOD
private static final String NODE_EXTENDS
private static final String NODE_IMPLEMENTS
private static final String ATTR_NAME
private static final String ATTR_SINCE
private static final String ATTR_DEPRECATED
private final java.util.Map mClasses
private final java.util.Map mPackages
private com.android.tools.lint.checks.ApiClass mCurrentClass
static final boolean $assertionsDisabled
void ()
java.util.Map getClasses ()
java.util.Map getPackages ()
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
int deprecatedIn
String name
int since
String deprecatedAttr
int deprecatedIn
String name
int since
String name
int since
String name
int since
int deprecatedIn
String name
int since
int deprecatedIn
String uri
String localName
String qName
org.xml.sax.Attributes attributes
private com.android.tools.lint.checks.ApiClass addClass (java.lang.String, int, int)
com.android.tools.lint.checks.ApiPackage apiPackage
String name
int apiLevel
int deprecatedIn
com.android.tools.lint.checks.ApiClass theClass
String pkg
private int getSince (org.xml.sax.Attributes)
org.xml.sax.Attributes attributes
int since
String sinceAttr
private int getDeprecatedIn (org.xml.sax.Attributes)
org.xml.sax.Attributes attributes
int deprecatedIn
String deprecatedAttr
static void ()
}
com/android/tools/lint/checks/HandlerDetector.classHandlerDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.HandlerDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String LOOPER_CLS
private static final String HANDLER_CLS
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.intellij.psi.PsiType type
com.intellij.psi.PsiExpression expression
com.intellij.psi.PsiExpressionList argumentList
String name
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
boolean isAnonymous
com.intellij.psi.PsiNewExpression invocation
com.intellij.psi.PsiElement locationNode
com.android.tools.lint.detector.api.Location location
String name
private static boolean hasLooperConstructorParameter (com.intellij.psi.PsiClass)
com.intellij.psi.PsiType type
com.intellij.psi.PsiParameter parameter
com.intellij.psi.PsiMethod constructor
com.intellij.psi.PsiClass cls
static void ()
}
com/android/tools/lint/checks/InvalidPackageDetector$Candidate.classInvalidPackageDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.InvalidPackageDetector$Candidate extends java.lang.Object {
private final String mReferencedIn
private final java.io.File mJarFile
private final String mClass
public void (java.lang.String, java.lang.String, java.io.File)
String className
String referencedIn
java.io.File jarFile
static java.lang.String access$000 (com.android.tools.lint.checks.InvalidPackageDetector$Candidate)
com.android.tools.lint.checks.InvalidPackageDetector$Candidate x0
static java.io.File access$100 (com.android.tools.lint.checks.InvalidPackageDetector$Candidate)
com.android.tools.lint.checks.InvalidPackageDetector$Candidate x0
static java.lang.String access$200 (com.android.tools.lint.checks.InvalidPackageDetector$Candidate)
com.android.tools.lint.checks.InvalidPackageDetector$Candidate x0
}
com/android/tools/lint/checks/SignatureOrSystemDetector.classSignatureOrSystemDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SignatureOrSystemDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String SIGNATURE_OR_SYSTEM
public void ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String protectionLevel
static void ()
}
com/android/tools/lint/checks/MissingClassDetector.classMissingClassDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.MissingClassDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue MISSING
public static final com.android.tools.lint.detector.api.Issue INSTANTIATABLE
public static final com.android.tools.lint.detector.api.Issue INNERCLASS
private java.util.Map mReferencedClasses
private java.util.Set mCustomViews
private boolean mHaveClasses
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr attr
org.w3c.dom.Node classNameNode
String className
org.w3c.dom.Node classNameNode
String className
org.w3c.dom.Attr attr
org.w3c.dom.Node classNameNode
String className
org.w3c.dom.Attr attr
org.w3c.dom.Node classNameNode
String className
org.w3c.dom.Attr attr
org.w3c.dom.Node classNameNode
String className
String fqcn
String fqcn
int index
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String pkg
org.w3c.dom.Node classNameNode
String className
String tag
com.android.resources.ResourceFolderType folderType
String fqcn
int dotIndex
String signature
com.android.tools.lint.detector.api.Location$Handle handle
private static void checkInnerClass (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String, org.w3c.dom.Node, java.lang.String)
int i
int n
String fixed
String message
com.android.tools.lint.detector.api.Location location
boolean haveUpperCase
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String pkg
org.w3c.dom.Node classNameNode
String className
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String parent
com.android.resources.ResourceFolderType type
com.android.tools.lint.detector.api.Location$Handle handle
String fqcn
String signature
String message
com.android.tools.lint.detector.api.Location location
java.io.File parentFile
String owner
java.util.List classes
com.android.tools.lint.detector.api.Context context
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.MethodNode method
Object m
boolean isCustomView
boolean hasDefaultConstructor
java.util.List methodList
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
String curr
private void removeReferences (java.lang.String)
char c
int i
String curr
int index
boolean hasCapitalizedPackageName
public static java.lang.String getOldValue (com.android.tools.lint.detector.api.Issue, java.lang.String, com.android.tools.lint.detector.api.TextFormat)
com.android.tools.lint.detector.api.Issue issue
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
public static java.lang.String getNewValue (com.android.tools.lint.detector.api.Issue, java.lang.String, com.android.tools.lint.detector.api.TextFormat)
com.android.tools.lint.detector.api.Issue issue
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
static void ()
}
com/android/tools/lint/checks/PermissionHolder$SetPermissionLookup.classPermissionHolder.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PermissionHolder$SetPermissionLookup extends java.lang.Object implements com.android.tools.lint.checks.PermissionHolder {
private final java.util.Set mGrantedPermissions
private final java.util.Set mRevocablePermissions
private final com.android.sdklib.AndroidVersion mMinSdkVersion
private final com.android.sdklib.AndroidVersion mTargetSdkVersion
public void (java.util.Set, java.util.Set, com.android.sdklib.AndroidVersion, com.android.sdklib.AndroidVersion)
java.util.Set grantedPermissions
java.util.Set revocablePermissions
com.android.sdklib.AndroidVersion minSdkVersion
com.android.sdklib.AndroidVersion targetSdkVersion
public void (java.util.Set, java.util.Set)
java.util.Set grantedPermissions
java.util.Set revocablePermissions
public void (java.util.Set)
java.util.Set grantedPermissions
public boolean hasPermission (java.lang.String)
String permission
public boolean isRevocable (java.lang.String)
String permission
public com.android.sdklib.AndroidVersion getMinSdkVersion ()
public com.android.sdklib.AndroidVersion getTargetSdkVersion ()
public static com.android.tools.lint.checks.PermissionHolder join (com.android.tools.lint.checks.PermissionHolder, com.android.tools.lint.checks.PermissionRequirement)
com.android.tools.lint.checks.PermissionHolder lookup
com.android.tools.lint.checks.PermissionRequirement requirement
com.android.tools.lint.checks.PermissionHolder$SetPermissionLookup empty
public static com.android.tools.lint.checks.PermissionHolder join (com.android.tools.lint.checks.PermissionHolder, java.util.Set)
com.android.tools.lint.checks.PermissionHolder lookup
java.util.Set permissions
}
com/android/tools/lint/checks/LeakDetector.classLeakDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LeakDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
private static boolean isLeakCandidate (com.intellij.psi.PsiClass, com.android.tools.lint.client.api.JavaEvaluator)
com.intellij.psi.PsiClass cls
com.android.tools.lint.client.api.JavaEvaluator evaluator
static boolean access$000 (com.intellij.psi.PsiClass, com.android.tools.lint.client.api.JavaEvaluator)
com.intellij.psi.PsiClass x0
com.android.tools.lint.client.api.JavaEvaluator x1
static void ()
}
com/android/tools/lint/checks/AppIndexingApiDetector$IssueType.classAppIndexingApiDetector.java
package com.android.tools.lint.checks
public final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType extends java.lang.Enum {
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType SCHEME_MISSING
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType HOST_MISSING
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType DATA_MISSING
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType URL_MISSING
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType NOT_BROWSABLE
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType ILLEGAL_NUMBER
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType EMPTY_FIELD
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType MISSING_SLASH
public static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType UNKNOWN
private final String message
private static final com.android.tools.lint.checks.AppIndexingApiDetector$IssueType[] $VALUES
public static com.android.tools.lint.checks.AppIndexingApiDetector$IssueType[] values ()
public static com.android.tools.lint.checks.AppIndexingApiDetector$IssueType valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String str
public static com.android.tools.lint.checks.AppIndexingApiDetector$IssueType parse (java.lang.String)
com.android.tools.lint.checks.AppIndexingApiDetector$IssueType type
String str
static void ()
}
com/android/tools/lint/checks/DuplicateIdDetector$Layout.classDuplicateIdDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.DuplicateIdDetector$Layout extends java.lang.Object {
private final java.io.File mFile
private final java.util.Set mIds
private java.util.List mIncludes
private java.util.List mIncludedBy
void (java.io.File, java.util.Set)
java.io.File file
java.util.Set ids
java.util.Set getIds ()
java.lang.String getLayoutName ()
java.lang.String getDisplayName ()
void include (com.android.tools.lint.checks.DuplicateIdDetector$Layout)
com.android.tools.lint.checks.DuplicateIdDetector$Layout target
boolean isIncluded ()
java.io.File getFile ()
java.util.List getIncludes ()
public java.lang.String toString ()
static java.io.File access$200 (com.android.tools.lint.checks.DuplicateIdDetector$Layout)
com.android.tools.lint.checks.DuplicateIdDetector$Layout x0
}
com/android/tools/lint/checks/DuplicateIdDetector.classDuplicateIdDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.DuplicateIdDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private java.util.Set mIds
private java.util.Map mFileToIds
private java.util.Map mIncludes
private com.google.common.collect.Multimap mLocations
private java.util.List mErrors
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue WITHIN_LAYOUT
public static final com.android.tools.lint.detector.api.Issue CROSS_LAYOUT
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.checks.DuplicateIdDetector$IncludeGraph graph
org.w3c.dom.Node node
Object clientData
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence o
com.android.tools.lint.detector.api.Location location
java.util.List sorted
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence curr
com.android.tools.lint.detector.api.Location prev
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence occurrence
com.android.tools.lint.detector.api.Context context
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
java.util.List to
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence occurrence
java.util.Collection occurrences
com.google.common.collect.Multimap map
java.util.Collection maps
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String layout
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.Location secondLocation
com.android.tools.lint.detector.api.Location location
org.w3c.dom.Attr first
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence occurrence
java.util.Collection occurrences
com.google.common.collect.Multimap map
java.util.Collection maps
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String id
private static org.w3c.dom.Attr findIdAttribute (org.w3c.dom.Node, java.lang.String)
org.w3c.dom.Attr attribute
org.w3c.dom.Node child
org.w3c.dom.Attr result
int i
int n
org.w3c.dom.Node node
String targetValue
org.w3c.dom.NodeList children
static java.util.Map access$000 (com.android.tools.lint.checks.DuplicateIdDetector)
com.android.tools.lint.checks.DuplicateIdDetector x0
static java.util.Map access$100 (com.android.tools.lint.checks.DuplicateIdDetector)
com.android.tools.lint.checks.DuplicateIdDetector x0
static com.google.common.collect.Multimap access$300 (com.android.tools.lint.checks.DuplicateIdDetector)
com.android.tools.lint.checks.DuplicateIdDetector x0
static java.util.List access$402 (com.android.tools.lint.checks.DuplicateIdDetector, java.util.List)
com.android.tools.lint.checks.DuplicateIdDetector x0
java.util.List x1
static com.google.common.collect.Multimap access$302 (com.android.tools.lint.checks.DuplicateIdDetector, com.google.common.collect.Multimap)
com.android.tools.lint.checks.DuplicateIdDetector x0
com.google.common.collect.Multimap x1
static java.util.List access$400 (com.android.tools.lint.checks.DuplicateIdDetector)
com.android.tools.lint.checks.DuplicateIdDetector x0
static void ()
}
com/android/tools/lint/checks/ViewHolderDetector$ViewAdapterVisitor.classViewHolderDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ViewHolderDetector$ViewAdapterVisitor extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitMethod (com.intellij.psi.PsiMethod)
com.android.tools.lint.checks.ViewHolderDetector$InflationVisitor visitor
com.intellij.psi.PsiMethod method
private static boolean isViewAdapterMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod node
com.android.tools.lint.client.api.JavaEvaluator evaluator
}
com/android/tools/lint/checks/BadHostnameVerifierDetector.classBadHostnameVerifierDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.BadHostnameVerifierDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.checks.BadHostnameVerifierDetector$ComplexVisitor visitor
com.android.tools.lint.detector.api.Location location
String message
com.intellij.psi.PsiMethod method
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
com.android.tools.lint.client.api.JavaEvaluator evaluator
static void ()
}
com/android/tools/lint/checks/UnusedResourceDetector.classUnusedResourceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.UnusedResourceDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner com.android.tools.lint.detector.api.Detector$BinaryResourceScanner com.android.tools.lint.detector.api.Detector$XmlScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public static final com.android.tools.lint.detector.api.Issue ISSUE_IDS
private final com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceDetectorUsageModel mModel
public static boolean sIncludeInactiveReferences
static final boolean $assertionsDisabled
public void ()
private void addDynamicResources (com.android.tools.lint.detector.api.Context)
com.android.builder.model.BuildTypeContainer container
com.android.builder.model.Variant selectedVariant
com.android.builder.model.ProductFlavor flavor
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Project project
com.android.builder.model.AndroidProject model
private void addDynamicResources (com.android.tools.lint.detector.api.Project, java.util.Map)
com.android.builder.model.ClassField field
com.android.resources.ResourceType type
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
String name
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Project project
java.util.Map resValues
java.util.Set keys
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.builder.model.AndroidProject model
com.android.builder.model.Variant variant
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
java.util.List ids
com.android.tools.lint.detector.api.Project project
java.util.List unusedResources
java.util.Set unused
java.io.File[] f
java.io.File res
String fileName
java.io.File file
java.io.File[] files
java.io.File folder
String name
java.util.List folders
java.util.List resourceFolders
com.android.tools.lint.detector.api.Location location
com.android.resources.ResourceType type
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
java.util.List sorted
Boolean skippedLibraries
java.util.Collection unused
com.android.tools.lint.detector.api.Context context
private static java.util.List getInactiveSourceProviders (com.android.builder.model.AndroidProject, com.android.builder.model.Variant)
com.android.builder.model.ProductFlavorContainer pfc
com.android.builder.model.SourceProvider provider
com.android.builder.model.Variant v
com.android.builder.model.BuildTypeContainer btc
com.android.builder.model.SourceProvider provider
com.android.builder.model.Variant v
com.android.builder.model.AndroidProject project
com.android.builder.model.Variant variant
java.util.Collection variants
java.util.List providers
java.util.Collection flavors
java.util.Collection buildTypes
private void recordInactiveJavaReferences (java.io.File)
String java
java.io.File file
java.io.File resDir
java.io.File[] files
private void recordInactiveXmlResources (java.io.File)
com.android.resources.ResourceFolderType folderType
java.io.File folder
java.io.File resDir
java.io.File[] resourceFolders
private void recordInactiveXmlResources (com.android.resources.ResourceFolderType, java.io.File)
String xml
org.w3c.dom.Document document
String path
boolean isXml
java.io.File file
com.android.resources.ResourceFolderType folderType
java.io.File folder
java.io.File[] files
private void addInactiveReferences (com.android.builder.model.AndroidProject, com.android.builder.model.Variant)
java.io.File res
java.io.File file
com.android.builder.model.SourceProvider provider
com.android.builder.model.AndroidProject model
com.android.builder.model.Variant variant
public static java.lang.String getUnusedResource (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
private static com.android.tools.lint.detector.api.Issue getIssue (com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void checkBinaryResource (com.android.tools.lint.detector.api.ResourceContext)
com.android.tools.lint.detector.api.ResourceContext context
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public boolean appliesToResourceRefs ()
public void visitResourceReference (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiElement, com.android.resources.ResourceType, java.lang.String, boolean)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiElement node
com.android.resources.ResourceType type
String name
boolean isFramework
static com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceDetectorUsageModel access$100 (com.android.tools.lint.checks.UnusedResourceDetector)
com.android.tools.lint.checks.UnusedResourceDetector x0
static com.android.tools.lint.detector.api.Issue access$200 (com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource x0
static void ()
}
com/android/tools/lint/checks/LocaleFolderDetector$1.classLocaleFolderDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.LocaleFolderDetector$1 extends java.lang.Object implements java.util.Comparator {
final String val$primary
final String val$secondary
final String val$language
void (java.lang.String, java.lang.String, java.lang.String)
public int compare (java.lang.String, java.lang.String)
String r1
String r2
int rank1
int rank2
int delta
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/ViewTagDetector.classViewTagDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ViewTagDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
String objectType
String objectType
String objectType
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiExpression tagArgument
com.intellij.psi.PsiType type
com.intellij.psi.PsiClass typeClass
String objectType
String message
static void ()
}
com/android/tools/lint/checks/CallSuperDetector.classCallSuperDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.CallSuperDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final String CALL_SUPER_ANNOTATION
private static final String ON_DETACHED_FROM_WINDOW
private static final String ON_VISIBILITY_CHANGED
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
private static void checkCallSuper (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
String methodName
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiMethod superMethod
private static com.intellij.psi.PsiMethod getRequiredSuperMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
String signature
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiAnnotation[] annotations
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiMethod method
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiMethod directSuper
String name
com.intellij.psi.PsiMethod superMethod
static void access$000 (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiMethod)
com.android.tools.lint.detector.api.JavaContext x0
com.intellij.psi.PsiMethod x1
static void ()
}
com/android/tools/lint/checks/AndroidTvDetector.classAndroidTvDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AndroidTvDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue UNSUPPORTED_TV_HARDWARE
public static final com.android.tools.lint.detector.api.Issue MISSING_LEANBACK_LAUNCHER
public static final com.android.tools.lint.detector.api.Issue MISSING_LEANBACK_SUPPORT
public static final com.android.tools.lint.detector.api.Issue PERMISSION_IMPLIES_UNSUPPORTED_HARDWARE
public static final com.android.tools.lint.detector.api.Issue MISSING_BANNER
public static final String SOFTWARE_FEATURE_LEANBACK
private static final String LEANBACK_LIB_ARTIFACT
private static final String CATEGORY_LEANBACK_LAUNCHER
private static final String HARDWARE_FEATURE_CAMERA
private static final String HARDWARE_FEATURE_LOCATION_GPS
private static final String ANDROID_HARDWARE_TELEPHONY
private static final String ANDROID_HARDWARE_BLUETOOTH
private static final String ATTR_BANNER
private static final String ANDROID_HARDWARE_MICROPHONE
private static final java.util.Set UNSUPPORTED_HARDWARE_FEATURES
private static final java.util.Map PERMISSIONS_TO_IMPLIED_UNSUPPORTED_HARDWARE
private static final String USES_HARDWARE_ERROR_MESSAGE_FORMAT
private boolean mHasLeanbackLauncherActivity
private boolean mHasLeanbackSupport
private boolean mHasLeanbackDependency
private boolean mHasApplicationBanner
private int mLeanbackActivitiesWithoutBanners
private java.util.List mUnsupportedHardwareImpliedPermissions
private java.util.Set mAllUnsupportedTvUsesFeatures
private java.util.Set mUnsupportedTvUsesFeatures
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Project mainProject
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
org.w3c.dom.Node manifestNode
org.w3c.dom.Node manifestNode
org.w3c.dom.Node applicationElement
org.w3c.dom.Attr attrRequired
org.w3c.dom.Node location
org.w3c.dom.Element element
java.util.List usesFeatureElements
String message
String name
String unsupportedHardwareName
org.w3c.dom.Element permissionElement
java.util.Collection filteredPermissions
java.util.List permissionsWithoutUsesFeatures
com.android.tools.lint.detector.api.XmlContext xmlContext
com.android.tools.lint.detector.api.Context context
boolean isTvApp
private static java.util.List findPermissionElements (java.util.Collection, org.w3c.dom.Document)
org.w3c.dom.Element child
java.util.Collection permissions
org.w3c.dom.Document document
org.w3c.dom.Node manifestElement
java.util.List nodes
private static java.util.List findUsesFeatureElements (java.util.Set, org.w3c.dom.Document)
org.w3c.dom.Element child
java.util.Set featureNames
org.w3c.dom.Document document
org.w3c.dom.Node manifestElement
java.util.List nodes
private static org.w3c.dom.Node getApplicationElement (org.w3c.dom.Document)
org.w3c.dom.Document document
org.w3c.dom.Node manifestNode
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr required
String featureName
org.w3c.dom.Attr name
String permissionName
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String elementName
private static boolean hasLeanbackSupport (org.w3c.dom.Element)
org.w3c.dom.Element element
private static boolean isUnsupportedHardwareFeature (java.lang.String)
String prefix
String featureName
private static boolean hasLeanbackIntentFilter (org.w3c.dom.Node)
String attrName
org.w3c.dom.Element intentFilterChild
org.w3c.dom.Element activityChild
org.w3c.dom.Node activityNode
private static org.w3c.dom.Node getElementWithTagName (java.lang.String, org.w3c.dom.Node)
org.w3c.dom.Element child
String tagName
org.w3c.dom.Node node
public static java.lang.String getHardwareFeature (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
java.util.List parameters
static java.util.Map access$000 ()
static java.util.Set access$100 (com.android.tools.lint.checks.AndroidTvDetector)
com.android.tools.lint.checks.AndroidTvDetector x0
static void ()
}
com/android/tools/lint/checks/ViewHolderDetector$InflationVisitor.classViewHolderDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ViewHolderDetector$InflationVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
private java.util.List mNodes
private boolean mHaveConditional
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
boolean insideIf
String methodName
com.intellij.psi.PsiMethodCallExpression node
com.intellij.psi.PsiReferenceExpression expression
public void finish ()
String message
com.intellij.psi.PsiElement node
}
com/android/tools/lint/checks/ToastDetector$1.classToastDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ToastDetector$1 extends java.lang.Object {
}
com/android/tools/lint/checks/OverrideConcreteDetector.classOverrideConcreteDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.OverrideConcreteDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String NOTIFICATION_LISTENER_SERVICE_FQN
public static final String STATUS_BAR_NOTIFICATION_FQN
private static final String ON_NOTIFICATION_POSTED
private static final String ON_NOTIFICATION_REMOVED
private static final int CONCRETE_IN
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.intellij.psi.PsiClass containingClass
com.intellij.psi.PsiMethod method
String message
boolean found
String methodName
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
com.android.tools.lint.client.api.JavaEvaluator evaluator
int minSdk
String[] methodNames
private static int getTargetApi (com.intellij.psi.PsiClass)
int targetApi
com.intellij.psi.PsiClass node
static void ()
}
com/android/tools/lint/checks/PermissionHolder.classPermissionHolder.java
package com.android.tools.lint.checks
public abstract com.android.tools.lint.checks.PermissionHolder extends java.lang.Object {
public abstract boolean hasPermission (java.lang.String)
public abstract boolean isRevocable (java.lang.String)
public abstract com.android.sdklib.AndroidVersion getMinSdkVersion ()
public abstract com.android.sdklib.AndroidVersion getTargetSdkVersion ()
}
com/android/tools/lint/checks/NestedScrollingWidgetDetector.classNestedScrollingWidgetDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.NestedScrollingWidgetDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private int mVisitingHorizontalScroll
private int mVisitingVerticalScroll
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
private org.w3c.dom.Element findOuterScrollingWidget (org.w3c.dom.Node, boolean)
org.w3c.dom.Element element
String tagName
org.w3c.dom.Node node
boolean vertical
java.util.Collection applicableElements
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String format
String format
String msg
org.w3c.dom.Element parent
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
boolean vertical
public void visitElementAfter (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private static boolean isVerticalScroll (org.w3c.dom.Element)
org.w3c.dom.Element element
String view
static void ()
}
com/android/tools/lint/checks/ResourceUsageModel$1.classResourceUsageModel.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ResourceUsageModel$1 extends java.lang.Object implements java.util.Comparator {
final com.android.tools.lint.checks.ResourceUsageModel this$0
void (com.android.tools.lint.checks.ResourceUsageModel)
com.android.tools.lint.checks.ResourceUsageModel this$0
public int compare (com.android.tools.lint.checks.ResourceUsageModel$Resource, com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource1
com.android.tools.lint.checks.ResourceUsageModel$Resource resource2
int delta
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/AppCompatResourceDetector.classAppCompatResourceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AppCompatResourceDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
Boolean appCompat
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
com.android.tools.lint.detector.api.Project mainProject
static void ()
}
com/android/tools/lint/checks/PluralsDetector.classPluralsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PluralsDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue MISSING
public static final com.android.tools.lint.detector.api.Issue EXTRA
public static final com.android.tools.lint.detector.api.Issue IMPLIED_QUANTITY
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String append
String example
String append
String message
org.w3c.dom.Node noe
org.w3c.dom.Element child
String quantityString
com.android.tools.lint.checks.PluralsDatabase$Quantity quantity
int i
int n
String message
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int count
com.android.ide.common.resources.configuration.LocaleQualifier locale
String language
com.android.tools.lint.checks.PluralsDatabase plurals
java.util.EnumSet relevant
java.util.EnumSet defined
org.w3c.dom.NodeList children
java.util.EnumSet missing
java.util.EnumSet extra
private static boolean haveFormattingParameter (org.w3c.dom.Element)
String text
org.w3c.dom.Node child
short nodeType
int i
int n
org.w3c.dom.Element element
org.w3c.dom.NodeList children
static void ()
}
com/android/tools/lint/checks/CordovaVersionDetector$1.classCordovaVersionDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.CordovaVersionDetector$1 extends java.lang.Object implements java.io.FilenameFilter {
void ()
public boolean accept (java.io.File, java.lang.String)
java.io.File dir
String filename
}
com/android/tools/lint/checks/ToastDetector$ShowFinder.classToastDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ToastDetector$ShowFinder extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.intellij.psi.PsiMethodCallExpression mTarget
private boolean mFound
private boolean mSeenTarget
private void (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethodCallExpression target
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiReferenceExpression methodExpression
com.intellij.psi.PsiMethodCallExpression node
public void visitReturnStatement (com.intellij.psi.PsiReturnStatement)
com.intellij.psi.PsiReturnStatement node
boolean isShowCalled ()
void (com.intellij.psi.PsiMethodCallExpression, com.android.tools.lint.checks.ToastDetector$1)
com.intellij.psi.PsiMethodCallExpression x0
com.android.tools.lint.checks.ToastDetector$1 x1
}
com/android/tools/lint/checks/UnsafeBroadcastReceiverDetector$OnReceiveVisitor.classUnsafeBroadcastReceiverDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector$OnReceiveVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.android.tools.lint.client.api.JavaEvaluator mEvaluator
private final com.intellij.psi.PsiParameter mParameter
private boolean mCallsGetAction
private boolean mUsesIntent
public void (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiParameter)
com.android.tools.lint.client.api.JavaEvaluator context
com.intellij.psi.PsiParameter parameter
public boolean getCallsGetAction ()
public boolean getUsesIntent ()
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiMethodCallExpression node
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiReferenceExpression expression
}
com/android/tools/lint/checks/AssertDetector$1.classAssertDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.AssertDetector$1 extends com.intellij.psi.JavaElementVisitor {
final com.android.tools.lint.detector.api.JavaContext val$context
final com.android.tools.lint.checks.AssertDetector this$0
void (com.android.tools.lint.checks.AssertDetector, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.checks.AssertDetector this$0
public void visitAssertStatement (com.intellij.psi.PsiAssertStatement)
Object value
com.intellij.psi.PsiAssertStatement node
com.intellij.psi.PsiExpression assertion
String message
}
com/android/tools/lint/checks/StateListDetector.classStateListDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.StateListDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String STATE_PREFIX
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
String namespaceUri
org.w3c.dom.Attr attribute
String name
int j
org.w3c.dom.NamedNodeMap attributes
java.util.Set stateNames
org.w3c.dom.Element child
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
org.w3c.dom.Element current
java.util.Set currentStates
int j
org.w3c.dom.Element prev
java.util.Set prevStates
int i
java.util.List children
java.util.Map states
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
org.w3c.dom.Element root
static void ()
}
com/android/tools/lint/checks/TooManyViewsDetector.classTooManyViewsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TooManyViewsDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue TOO_MANY
public static final com.android.tools.lint.detector.api.Issue TOO_DEEP
private static final int MAX_VIEW_COUNT
private static final int MAX_DEPTH
private int mViewCount
private int mDepth
private boolean mWarnedAboutDepth
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String msg
String msg
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
public void visitElementAfter (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
static void ()
int maxViewCount
int maxDepth
String countValue
String depthValue
}
com/android/tools/lint/checks/OverrideDetector.classOverrideDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.OverrideDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private final java.util.Map mPackagePrivateMethods
private java.util.Map mErrors
private java.util.Map mLocations
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
java.util.Map locations
java.util.Map errors
String signature
com.google.common.collect.Sets$SetView intersection
java.util.Set superMethods
int superPackageIndex
java.util.Set methods
String superClass
int packageIndex
String owner
java.util.Set classes
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Location superLocation
java.util.Map superLocations
String methodName
int index
String message
com.android.tools.lint.detector.api.Location location
String signature
String superClass
java.util.Map ownerLocations
java.util.Map$Entry entry
String owner
java.util.Map methodToSuper
java.util.Map$Entry ownerEntry
com.android.tools.lint.detector.api.Context context
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.MethodNode method
int access
String owner
java.util.Set methods
Object m
java.util.Map errors
com.android.tools.lint.detector.api.Location location
String description
org.objectweb.asm.tree.MethodNode method
String signature
Object m
java.util.Map methods
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List methodList
static void ()
}
com/android/tools/lint/checks/IconDetector$MenuFinder.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$MenuFinder extends com.intellij.psi.JavaRecursiveElementVisitor {
final com.android.tools.lint.checks.IconDetector this$0
private void (com.android.tools.lint.checks.IconDetector)
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
java.util.Collection icons
com.intellij.psi.PsiReferenceExpression node
com.android.ide.common.resources.ResourceUrl url
public void visitAnonymousClass (com.intellij.psi.PsiAnonymousClass)
com.intellij.psi.PsiAnonymousClass aClass
void (com.android.tools.lint.checks.IconDetector, com.android.tools.lint.checks.IconDetector$1)
com.android.tools.lint.checks.IconDetector x0
com.android.tools.lint.checks.IconDetector$1 x1
}
com/android/tools/lint/checks/IconDetector$SetIconFinder.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$SetIconFinder extends com.intellij.psi.JavaRecursiveElementVisitor {
final com.android.tools.lint.checks.IconDetector this$0
private void (com.android.tools.lint.checks.IconDetector)
public void visitMethodCallExpression (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiMethodCallExpression expression
public void visitAnonymousClass (com.intellij.psi.PsiAnonymousClass)
com.intellij.psi.PsiAnonymousClass aClass
void (com.android.tools.lint.checks.IconDetector, com.android.tools.lint.checks.IconDetector$1)
com.android.tools.lint.checks.IconDetector x0
com.android.tools.lint.checks.IconDetector$1 x1
}
com/android/tools/lint/checks/ToastDetector.classToastDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ToastDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiExpression duration
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] args
com.intellij.psi.PsiMethod surroundingMethod
com.android.tools.lint.checks.ToastDetector$ShowFinder finder
static void ()
}
com/android/tools/lint/checks/AndroidAutoDetector$MediaSessionCallbackVisitor.classAndroidAutoDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.AndroidAutoDetector$MediaSessionCallbackVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
private boolean mOnPlayFromSearchFound
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public boolean isPlayFromSearchMethodFound ()
public void visitMethod (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
}
com/android/tools/lint/checks/AndroidTvDetector$1.classAndroidTvDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.AndroidTvDetector$1 extends java.lang.Object implements com.google.common.base.Predicate {
final com.android.tools.lint.checks.AndroidTvDetector this$0
void (com.android.tools.lint.checks.AndroidTvDetector)
com.android.tools.lint.checks.AndroidTvDetector this$0
public boolean apply (java.lang.String)
String input
String usesFeature
public volatile boolean apply (java.lang.Object)
}
com/android/tools/lint/checks/ProguardDetector.classProguardDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ProguardDetector extends com.android.tools.lint.detector.api.Detector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue WRONG_KEEP
public static final com.android.tools.lint.detector.api.Issue SPLIT_CONFIG
public void ()
public void run (com.android.tools.lint.detector.api.Context)
int index
char c
java.io.File propertyFile
String properties
int i
int index
com.android.tools.lint.detector.api.Context context
String contents
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public com.android.tools.lint.detector.api.Speed getSpeed ()
static void ()
}
com/android/tools/lint/checks/ManifestTypoDetector.classManifestTypoDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ManifestTypoDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final java.util.Set sValidTags
private static final int MAX_EDIT_DISTANCE
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String suggestion
String suggestionString
String suggestionString
String suggestionString
String message
int tagLength
java.util.List suggestions
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
static void ()
int expectedSize
}
com/android/tools/lint/checks/IncludeDetector.classIncludeDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.IncludeDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr attribute
String name
int i
String condition
String message
org.w3c.dom.Attr attribute
String name
int i
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NamedNodeMap attributes
int length
boolean hasWidth
boolean hasHeight
boolean hasOtherLayoutParam
boolean flagWidth
boolean flagHeight
public static boolean requestsWidth (java.lang.String)
String errorMessage
int index
public static boolean requestsHeight (java.lang.String)
String errorMessage
int index
static void ()
}
com/android/tools/lint/checks/AppLinksAutoVerifyDetector.class
com/android/tools/lint/checks/TypoLookup$1.classTypoLookup.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.TypoLookup$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (byte[], byte[])
byte[] o1
byte[] o2
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/UseCompoundDrawableDetector.classUseCompoundDrawableDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.UseCompoundDrawableDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String scaleType
java.util.List children
org.w3c.dom.Element first
org.w3c.dom.Element second
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int childCount
static void ()
}
com/android/tools/lint/checks/UnsafeNativeCodeDetector.classUnsafeNativeCodeDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.UnsafeNativeCodeDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue LOAD
public static final com.android.tools.lint.detector.api.Issue UNSAFE_NATIVE_CODE_LOCATION
private static final String RUNTIME_CLASS
private static final String SYSTEM_CLASS
private static final byte[] ELF_MAGIC_VALUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
public void afterCheckLibraryProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private static boolean isNativeCode (java.io.File)
byte[] bytes
int length
java.io.FileInputStream fis
java.io.IOException ex
java.io.File file
private static void checkResourceFolders (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Project)
java.io.File rawFile
java.io.File[] rawFiles
java.io.File typeFolder
java.io.File[] folders
java.io.File res
java.io.File asset
java.io.File[] assets
java.io.File assetFolder
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Project project
java.util.List resourceFolders
java.util.List assetFolders
private static void checkFile (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
static void ()
}
com/android/tools/lint/checks/ResourceUsageModel$Resource.classResourceUsageModel.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ResourceUsageModel$Resource extends java.lang.Object implements java.lang.Comparable {
private int mFlags
public final com.android.resources.ResourceType type
public final String name
public int value
public java.util.List references
public com.android.tools.lint.detector.api.Location locations
public java.util.List declarations
public boolean isDeclared ()
public void setDeclared (boolean)
boolean on
public boolean isPublic ()
public void setPublic (boolean)
boolean on
public boolean isKeep ()
public void setKeep (boolean)
boolean on
public boolean isDiscard ()
public void setDiscard (boolean)
boolean on
public boolean isReachable ()
public void setReachable (boolean)
boolean on
public void (com.android.resources.ResourceType, java.lang.String, int)
com.android.resources.ResourceType type
String name
int value
public java.lang.String toString ()
public boolean equals (java.lang.Object)
Object o
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
public int hashCode ()
int result
public void addLocation (java.io.File)
java.io.File file
public void recordLocation (com.android.tools.lint.detector.api.Location)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location oldLocation
public void addReference (com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource resource
public java.lang.String getUrl ()
public java.lang.String getField ()
public int compareTo (com.android.tools.lint.checks.ResourceUsageModel$Resource)
com.android.tools.lint.checks.ResourceUsageModel$Resource other
public volatile int compareTo (java.lang.Object)
}
com/android/tools/lint/checks/TextFieldDetector.classTextFieldDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TextFieldDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.ide.common.rendering.api.ResourceValue value
com.android.tools.lint.detector.api.Project project
java.util.List styles
com.android.tools.lint.client.api.LintClient client
String style
String message
String message
String message
String message
String message
String message
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Node inputTypeNode
String inputType
boolean haveHint
org.w3c.dom.Attr idNode
String id
private static void reportMismatch (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr, org.w3c.dom.Node, java.lang.String)
com.android.tools.lint.detector.api.Location secondary
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr idNode
org.w3c.dom.Node inputTypeNode
String message
com.android.tools.lint.detector.api.Location location
static boolean containsWord (java.lang.String, java.lang.String)
String sentence
String word
static boolean containsWord (java.lang.String, java.lang.String, boolean, boolean)
String sentence
String word
boolean allowPrefix
boolean allowSuffix
private static boolean endsWith (java.lang.String, java.lang.String, boolean, boolean)
String sentence
String word
boolean allowPrefix
boolean allowSuffix
int index
private static int indexOfWord (java.lang.String, java.lang.String, boolean, boolean)
char after
char c
int i
int n
int m
String sentence
String word
boolean allowPrefix
boolean allowSuffix
int wordLength
char firstUpper
char firstLower
int start
static void ()
}
com/android/tools/lint/checks/PropertyFileDetector.classPropertyFileDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PropertyFileDetector extends com.android.tools.lint.detector.api.Detector {
public static final com.android.tools.lint.detector.api.Issue ESCAPE
public static final com.android.tools.lint.detector.api.Issue HTTP
public void ()
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public void run (com.android.tools.lint.detector.api.Context)
int valueStart
String line
com.android.tools.lint.detector.api.Context context
String contents
int offset
java.util.Iterator iterator
private static void checkLine (com.android.tools.lint.detector.api.Context, java.lang.String, java.lang.String, int, int)
String https
String message
int startOffset
int endOffset
com.android.tools.lint.detector.api.Location location
char c
int i
String escapedPath
String message
int startOffset
int endOffset
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Context context
String contents
String line
int offset
int valueStart
String prefix
boolean escaped
boolean hadNonPathEscape
int errorStart
int errorEnd
StringBuilder path
String pathString
String key
static java.lang.String suggestEscapes (java.lang.String)
String value
public static java.lang.String getSuggestedEscape (java.lang.String, com.android.tools.lint.detector.api.TextFormat)
String message
com.android.tools.lint.detector.api.TextFormat format
static void ()
}
com/android/tools/lint/checks/WakelockDetector.classWakelockDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WakelockDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final String ANDROID_APP_ACTIVITY
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String WAKELOCK_OWNER
private static final String RELEASE_METHOD
private static final String ACQUIRE_METHOD
private static final String IS_HELD_METHOD
private static final String POWER_MANAGER
private static final String NEW_WAKE_LOCK_METHOD
private static final boolean DEBUG
private boolean mHasAcquire
private boolean mHasRelease
private static final int SEEN_TARGET
private static final int SEEN_BRANCH
private static final int SEEN_EXCEPTION
private static final int SEEN_RETURN
static final boolean $assertionsDisabled
public void ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public java.util.List getApplicableCallNames ()
public void checkCall (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode)
String name
int flag
int PARTIAL_WAKE_LOCK
int ACQUIRE_CAUSES_WAKEUP
int both
org.objectweb.asm.tree.AbstractInsnNode prev
org.objectweb.asm.tree.LdcInsnNode ldc
Object constant
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode call
private static void checkFlow (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode)
org.objectweb.asm.tree.MethodInsnNode call
org.objectweb.asm.tree.AbstractInsnNode instruction
int type
int i
int n
String message
String message
com.android.tools.lint.checks.WakelockDetector$MyGraph graph
int status
org.objectweb.asm.tree.analysis.AnalyzerException e
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode acquire
org.objectweb.asm.tree.InsnList instructions
org.objectweb.asm.tree.MethodInsnNode release
protected static int dfs (com.android.tools.lint.checks.ControlFlowGraph$Node)
int opcode
org.objectweb.asm.tree.AbstractInsnNode curr
boolean foundFrame
org.objectweb.asm.tree.MethodInsnNode method
com.android.tools.lint.checks.ControlFlowGraph$Node successor
com.android.tools.lint.checks.ControlFlowGraph$Node successor
com.android.tools.lint.checks.ControlFlowGraph$Node node
org.objectweb.asm.tree.AbstractInsnNode instruction
int status
boolean implicitReturn
java.util.List successors
java.util.List exceptions
static void ()
}
com/android/tools/lint/checks/TitleDetector.classTitleDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TitleDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String message
static void ()
}
com/android/tools/lint/checks/IconDetector$1.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$1 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (java.util.List, java.util.List)
java.util.List list1
java.util.List list2
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/DosLineEndingDetector.classDosLineEndingDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.DosLineEndingDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
char d
int index
char d
int index
String message
boolean blankLine
int lineBegin
int lineEnd
com.android.tools.lint.detector.api.Location location
char c
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
String contents
char prev
static void ()
}
com/android/tools/lint/checks/PrivateResourceDetector.classPrivateResourceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PrivateResourceDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final String ATTR_OVERRIDE
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
static final boolean $assertionsDisabled
public void ()
public boolean appliesToResourceRefs ()
public void visitResourceReference (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiElement, com.android.resources.ResourceType, java.lang.String, boolean)
String message
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiElement node
com.android.resources.ResourceType resourceType
String name
boolean isFramework
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String message
com.android.ide.common.resources.ResourceUrl url
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
com.android.tools.lint.detector.api.Location location
String name
String type
com.android.resources.ResourceType t
org.w3c.dom.Attr nameAttribute
org.w3c.dom.Element item
org.w3c.dom.Element item
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
private static boolean isPrivate (com.android.tools.lint.detector.api.Context, com.android.resources.ResourceType, java.lang.String)
com.android.ide.common.repository.ResourceVisibilityLookup lookup
com.android.tools.lint.detector.api.Context context
com.android.resources.ResourceType type
String name
private static boolean isPrivate (com.android.tools.lint.detector.api.Context, com.android.ide.common.resources.ResourceUrl)
com.android.tools.lint.detector.api.Context context
com.android.ide.common.resources.ResourceUrl url
private static void checkChildRefs (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String name
String message
com.android.ide.common.resources.ResourceUrl url
char c
int j
int m
String text
int index
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element item
org.w3c.dom.NodeList childNodes
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
String message
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Context context
java.io.File file
boolean isXmlFile
String parentName
int dash
com.android.resources.ResourceFolderType folderType
java.util.List types
com.android.resources.ResourceType type
String resourceName
private static java.lang.String createOverrideErrorMessage (com.android.tools.lint.detector.api.Context, com.android.resources.ResourceType, java.lang.String)
com.android.tools.lint.detector.api.Context context
com.android.resources.ResourceType type
String name
String libraryName
private static java.lang.String createUsageErrorMessage (com.android.tools.lint.detector.api.Context, com.android.resources.ResourceType, java.lang.String)
com.android.tools.lint.detector.api.Context context
com.android.resources.ResourceType type
String name
String libraryName
private static java.lang.String getLibraryName (com.android.tools.lint.detector.api.Context, com.android.resources.ResourceType, java.lang.String)
String libraryName
com.android.builder.model.MavenCoordinates coordinates
com.android.tools.lint.detector.api.Context context
com.android.resources.ResourceType type
String name
com.android.ide.common.repository.ResourceVisibilityLookup lookup
com.android.builder.model.AndroidLibrary library
static void ()
}
com/android/tools/lint/checks/StringAuthLeakDetector$1.classStringAuthLeakDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.StringAuthLeakDetector$1 extends java.lang.Object {
}
com/android/tools/lint/checks/ApiDetector.classApiDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ApiDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$ClassScanner com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final boolean CHECK_DECLARATIONS
private static final boolean AOSP_BUILD
public static final String REQUIRES_API_ANNOTATION
public static final com.android.tools.lint.detector.api.Issue UNSUPPORTED
public static final com.android.tools.lint.detector.api.Issue INLINED
public static final com.android.tools.lint.detector.api.Issue OVERRIDE
public static final com.android.tools.lint.detector.api.Issue UNUSED
private static final String TARGET_API_VMSIG
private static final String SWITCH_TABLE_PREFIX
private static final String ORDINAL_METHOD
public static final String ENUM_SWITCH_PREFIX
private static final String TAG_RIPPLE
private static final String TAG_VECTOR
private static final String TAG_ANIMATED_VECTOR
private static final String TAG_ANIMATED_SELECTOR
private static final String SDK_INT
private static final String ANDROID_OS_BUILD_VERSION
protected com.android.tools.lint.checks.ApiLookup mApiDatabase
private boolean mWarnedMissingDb
private int mMinApi
static final boolean $assertionsDisabled
public void ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
java.io.File file
String contents
int firstLineEnd
com.android.tools.lint.detector.api.Location location
com.android.sdklib.repository.AndroidSdkHandler sdk
com.android.repository.api.LocalPackage pkgInfo
com.android.repository.Revision revision
int compileSdkVersion
java.util.List currentFiles
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Context context
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.Location location
String message
com.android.sdklib.BuildToolInfo buildToolInfo
com.android.repository.Revision buildTools
boolean isOldBuildTools
com.android.tools.lint.detector.api.Location location
String message
String owner
int minSdk
String name
String prefix
com.android.tools.lint.detector.api.Location location
String message
int api
int minSdk
String prefix
String prefix
String prefix
int index
String attributeName
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
int attributeApiLevel
String value
String owner
String name
String prefix
int api
int minSdk
private static boolean viewMayExtendTextView (org.w3c.dom.Element)
org.w3c.dom.Element element
String tag
private static boolean isAlreadyWarnedDrawableFile (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr, int)
String root
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
int attributeApiLevel
public static boolean isBenignUnusedAttribute (java.lang.String)
String name
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.Location location
String message
String owner
String name
int api
int minSdk
String typeString
int index
String text
org.w3c.dom.Node textNode
int i
int n
org.w3c.dom.NodeList childNodes
com.android.tools.lint.detector.api.Location location
String message
String fqn
int api
int minSdk
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
com.android.resources.ResourceFolderType folderType
private void checkElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String, int, java.lang.String, com.android.tools.lint.detector.api.Issue)
String message
com.android.tools.lint.detector.api.Location location
String message
int minSdk
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
int api
String gradleVersion
com.android.tools.lint.detector.api.Issue issue
protected int getMinSdk (com.android.tools.lint.detector.api.Context)
com.android.sdklib.AndroidVersion minSdkVersion
com.android.tools.lint.detector.api.Context context
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
com.android.tools.lint.client.api.LintDriver driver
String owner
String signature
String signature
java.util.List interfaceList
String fqcn
String fqcn
String owner
String message
com.android.tools.lint.detector.api.Location location
int buildSdk
String name
int api
org.objectweb.asm.tree.LabelNode label
String fqcn
String message
org.objectweb.asm.tree.TryCatchBlockNode tryCatchBlock
String className
int api
Object o
java.util.List checked
String fqcn
Object o
boolean direct
String fqcn
String message
int api
org.objectweb.asm.tree.MethodInsnNode node
String name
String owner
String desc
boolean checkingSuperClass
String fqcn
String message
org.objectweb.asm.tree.FieldInsnNode node
String name
String owner
int api
String fqcn
String message
org.objectweb.asm.Type t
String className
int api
org.objectweb.asm.tree.LdcInsnNode node
org.objectweb.asm.tree.AbstractInsnNode instruction
int type
int i
int n
org.objectweb.asm.tree.MethodNode method
int minSdk
org.objectweb.asm.tree.InsnList nodes
java.util.List tryCatchBlocks
Object m
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
int classMinSdk
java.util.List methodList
boolean checkCalls
boolean checkMethods
String frameworkParent
private void checkExtendsClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, int, java.lang.String)
String fqcn
String message
String name
com.android.tools.lint.detector.api.Location$SearchHints hints
int lineNumber
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
int classMinSdk
String signature
int api
private static void checkSimpleDateFormat (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode, int)
String message
char c
int i
String pattern
boolean isEscaped
org.objectweb.asm.tree.LdcInsnNode ldc
Object cst
org.objectweb.asm.tree.AbstractInsnNode prev
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode node
int minSdk
private static boolean methodDefinedLocally (org.objectweb.asm.tree.ClassNode, java.lang.String, java.lang.String)
org.objectweb.asm.tree.MethodNode method
Object m
org.objectweb.asm.tree.ClassNode classNode
String name
String desc
java.util.List methodList
private static void checkSwitchBlock (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.FieldInsnNode, org.objectweb.asm.tree.MethodNode, java.lang.String, java.lang.String, int, int)
int ordinal
int ordinal
int ordinal
int ordinal
int ordinal
int ordinal
org.objectweb.asm.tree.IntInsnNode iin
int ordinal
String fqcn
String message
org.objectweb.asm.tree.LookupSwitchInsnNode lookup
java.util.List keys
org.objectweb.asm.tree.AbstractInsnNode target
org.objectweb.asm.tree.AbstractInsnNode instruction
org.objectweb.asm.tree.MethodInsnNode node
int i
int n
org.objectweb.asm.tree.InsnList nodes
Object m
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.FieldInsnNode field
org.objectweb.asm.tree.MethodNode method
String name
String owner
int api
int minSdk
org.objectweb.asm.tree.AbstractInsnNode next
int ordinal
java.util.List methodList
private static boolean isEnumSwitchInitializer (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.FieldNode field
Object f
org.objectweb.asm.tree.ClassNode classNode
java.util.List fieldList
private static org.objectweb.asm.tree.MethodNode findEnumSwitchUsage (org.objectweb.asm.tree.ClassNode, java.lang.String)
org.objectweb.asm.tree.FieldInsnNode field
org.objectweb.asm.tree.AbstractInsnNode instruction
int i
int n
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.InsnList nodes
Object f
org.objectweb.asm.tree.ClassNode classNode
String owner
String target
java.util.List methodList
private static boolean isSkippedEnumSwitch (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.FieldInsnNode, java.lang.String, int)
org.objectweb.asm.tree.MethodNode switchUser
com.android.tools.lint.client.api.LintDriver driver
org.objectweb.asm.tree.ClassNode outer
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.FieldInsnNode node
String owner
int api
org.objectweb.asm.tree.AbstractInsnNode next
private static int getClassMinSdk (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
int methodMinSdk
org.objectweb.asm.tree.MethodNode method
Object m
java.util.List methods
org.objectweb.asm.tree.ClassNode prev
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
int classMinSdk
com.android.tools.lint.client.api.LintDriver driver
private static int getLocalMinSdk (java.util.List)
Object value
String key
int i
int n
String desc
org.objectweb.asm.tree.AnnotationNode annotation
java.util.List annotations
private static int getLocalMinSdk (org.w3c.dom.Element)
NumberFormatException e
String targetApi
org.w3c.dom.Node parent
org.w3c.dom.Element element
private static boolean featureProvidedByGradle (com.android.tools.lint.detector.api.XmlContext, java.lang.String)
com.android.ide.common.repository.GradleVersion minVersion
com.android.tools.lint.detector.api.XmlContext context
String minGradleVersionString
com.android.ide.common.repository.GradleVersion gradleModelVersion
private static void report (com.android.tools.lint.detector.api.ClassContext, java.lang.String, org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.MethodNode, java.lang.String, java.lang.String, com.android.tools.lint.detector.api.Location$SearchHints)
int index
com.android.tools.lint.detector.api.ClassContext context
String message
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.MethodNode method
String patternStart
String patternEnd
com.android.tools.lint.detector.api.Location$SearchHints hints
int lineNumber
com.android.tools.lint.detector.api.Location location
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public java.util.List getApplicablePsiTypes ()
java.util.List types
public static boolean isBenignConstantUsage (com.intellij.psi.PsiElement, java.lang.String, java.lang.String)
com.intellij.psi.PsiExpression condition
com.intellij.psi.PsiExpression condition
com.intellij.psi.PsiExpression condition
com.intellij.psi.PsiElement node
String name
String owner
com.intellij.psi.PsiElement curr
private static boolean isSuppressed (int, com.intellij.psi.PsiElement, int)
int api
com.intellij.psi.PsiElement element
int minSdk
int target
public static int getTargetApi (com.intellij.psi.PsiElement)
com.intellij.psi.PsiModifierList modifierList
int targetApi
com.intellij.psi.PsiElement scope
public static int getTargetApi (com.intellij.psi.PsiModifierList)
com.intellij.psi.PsiLiteral literal
Object value
com.intellij.psi.PsiLiteral literal
Object value
com.intellij.psi.PsiAnnotationMemberValue mmv
com.intellij.psi.PsiArrayInitializerMemberValue mv
String name
com.intellij.psi.PsiAnnotationMemberValue v
com.intellij.psi.PsiNameValuePair pair
com.intellij.psi.PsiAnnotationParameterList parameterList
String fqcn
com.intellij.psi.PsiAnnotation annotation
com.intellij.psi.PsiModifierList modifierList
public static int codeNameToApi (java.lang.String)
String text
int dotIndex
public static int getRequiredVersion (com.android.tools.lint.detector.api.Issue, java.lang.String, com.android.tools.lint.detector.api.TextFormat)
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
com.android.tools.lint.detector.api.Issue issue
String errorMessage
com.android.tools.lint.detector.api.TextFormat format
private static boolean isWithinSdkConditional (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.AbstractInsnNode, int)
com.android.tools.lint.checks.ApiDetector$ApiCheckGraph graph
org.objectweb.asm.tree.AbstractInsnNode first
org.objectweb.asm.tree.analysis.AnalyzerException e
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.AbstractInsnNode call
int requiredApi
private static boolean containsSimpleSdkCheck (org.objectweb.asm.tree.MethodNode)
org.objectweb.asm.tree.AbstractInsnNode ifNode
org.objectweb.asm.tree.AbstractInsnNode bipush
org.objectweb.asm.tree.AbstractInsnNode instruction
int i
int n
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.InsnList nodes
private static boolean isSdkVersionLookup (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.FieldInsnNode fieldNode
org.objectweb.asm.tree.AbstractInsnNode instruction
public static boolean isPrecededByVersionCheckExit (com.intellij.psi.PsiElement, int)
com.intellij.psi.PsiElement prev
Boolean level
Boolean level
com.intellij.psi.PsiIfStatement ifStatement
com.intellij.psi.PsiStatement thenBranch
com.intellij.psi.PsiStatement elseBranch
com.intellij.psi.PsiElement prev
com.intellij.psi.PsiElement element
int api
com.intellij.psi.PsiElement current
private static boolean isUnconditionalReturn (com.intellij.psi.PsiStatement)
com.intellij.psi.PsiBlockStatement blockStatement
com.intellij.psi.PsiCodeBlock block
com.intellij.psi.PsiStatement[] statements
com.intellij.psi.PsiStatement statement
public static com.intellij.psi.PsiStatement getPreviousStatement (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement element
com.intellij.psi.PsiElement prevStatement
public static boolean isWithinVersionCheckConditional (com.intellij.psi.PsiElement, int)
com.intellij.psi.PsiIfStatement ifStatement
Boolean isConditional
com.intellij.psi.PsiElement element
int api
com.intellij.psi.PsiElement current
com.intellij.psi.PsiElement prev
private static java.lang.Boolean isVersionCheckConditional (int, com.intellij.psi.PsiElement, com.intellij.psi.PsiIfStatement)
Boolean isConditional
com.intellij.psi.PsiPolyadicExpression ppe
Boolean isConditional
com.intellij.psi.PsiReturnStatement returnStatement
com.intellij.psi.PsiExpression returnValue
com.intellij.psi.PsiStatement statement
com.intellij.psi.PsiStatement[] statements
com.intellij.psi.PsiCodeBlock body
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
int api
com.intellij.psi.PsiElement prev
com.intellij.psi.PsiIfStatement ifStatement
com.intellij.psi.PsiExpression condition
private static java.lang.Boolean isVersionCheckConditional (int, com.intellij.psi.PsiElement, com.intellij.psi.PsiIfStatement, com.intellij.psi.PsiBinaryExpression)
com.intellij.psi.PsiReferenceExpression ref2
String codeName
com.intellij.psi.PsiLiteralExpression lit
Object value
boolean fromThen
boolean fromElse
com.intellij.psi.PsiExpression right
int level
com.intellij.psi.PsiReferenceExpression ref
com.intellij.psi.PsiExpression left
int api
com.intellij.psi.PsiElement prev
com.intellij.psi.PsiIfStatement ifStatement
com.intellij.psi.PsiBinaryExpression binary
com.intellij.psi.tree.IElementType tokenType
private static boolean isAndedWithConditional (com.intellij.psi.PsiElement, int, com.intellij.psi.PsiElement)
com.intellij.psi.PsiReferenceExpression ref2
String codeName
com.intellij.psi.PsiLiteralExpression lit
Object value
int level
com.intellij.psi.tree.IElementType tokenType
com.intellij.psi.PsiExpression right
com.intellij.psi.PsiBinaryExpression inner
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiPolyadicExpression ppe
com.intellij.psi.PsiElement element
int api
com.intellij.psi.PsiElement before
static boolean access$100 (int, com.intellij.psi.PsiElement, int)
int x0
com.intellij.psi.PsiElement x1
int x2
static boolean access$200 (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode x0
static void ()
}
com/android/tools/lint/checks/UnusedResourceDetector$1.classUnusedResourceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.UnusedResourceDetector$1 extends java.lang.Object implements java.util.Comparator {
final com.android.tools.lint.checks.UnusedResourceDetector this$0
void (com.android.tools.lint.checks.UnusedResourceDetector)
com.android.tools.lint.checks.UnusedResourceDetector this$0
public int compare (java.io.File, java.io.File)
java.io.File file1
java.io.File file2
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/FullBackupContentDetector.classFullBackupContentDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.FullBackupContentDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String DOMAIN_SHARED_PREF
private static final String DOMAIN_ROOT
private static final String DOMAIN_FILE
private static final String DOMAIN_DATABASE
private static final String DOMAIN_EXTERNAL
private static final String TAG_EXCLUDE
private static final String TAG_INCLUDE
private static final String TAG_FULL_BACKUP_CONTENT
private static final String ATTR_PATH
private static final String ATTR_DOMAIN
private static final String[] VALID_DOMAINS
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
org.w3c.dom.Element element
String tag
org.w3c.dom.Node child
int i
int n
String domain
String path
org.w3c.dom.Element include
com.android.tools.lint.detector.api.Location earlier
org.w3c.dom.Attr includePathNode
String includeDomain
org.w3c.dom.Element include
org.w3c.dom.Attr pathNode
com.android.tools.lint.detector.api.Location location
String includePath
org.w3c.dom.Attr pathNode
String excludePath
String domain
boolean hasPrefix
java.util.Collection included
org.w3c.dom.Element exclude
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
org.w3c.dom.Element root
java.util.List includes
java.util.List excludes
org.w3c.dom.NodeList children
com.google.common.collect.Multimap includePaths
private static java.lang.String validatePath (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String domain
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr pathNode
String value
private static java.lang.String validateDomain (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String availableDomain
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr domainNode
String domain
static void ()
}
com/android/tools/lint/checks/RegistrationDetector.classRegistrationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.RegistrationDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
protected java.util.Map mManifestRegistrations
private static final String[] sTags
private static final String[] sClasses
public void ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String signature
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String fqcn
String tag
String frameworkClass
private static java.lang.String getFqcn (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String className
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
String framework
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass cls
com.android.tools.lint.client.api.JavaEvaluator evaluator
String rightTag
String className
private static void reportWrongTag (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass, java.lang.String, java.lang.String, java.lang.String)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass node
String rightTag
String className
String framework
String wrongTag
com.android.tools.lint.detector.api.Location location
String message
private static java.lang.String describeTag (java.lang.String)
String tag
String article
private static void reportMissing (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass, java.lang.String, java.lang.String)
java.io.File file
String artifactName
com.android.builder.model.SourceProviderContainer extra
java.io.File file
String artifactName
com.android.builder.model.SourceProviderContainer extra
com.android.builder.model.ProductFlavorContainer container
String javaSource
com.android.builder.model.AndroidProject model
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass node
String className
String tag
com.android.tools.lint.detector.api.Location location
String message
private static java.lang.String getTag (com.android.tools.lint.client.api.JavaEvaluator, com.intellij.psi.PsiClass)
String s
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiClass cls
String tag
private static java.lang.String tagToClass (java.lang.String)
int i
int n
String tag
protected static java.lang.String classToTag (java.lang.String)
int i
int n
String className
static void ()
}
com/android/tools/lint/checks/AlwaysShowActionDetector.classAlwaysShowActionDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.AlwaysShowActionDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.List mFileAttributes
private boolean mIgnoreFile
private java.util.List mAlwaysFields
private boolean mHasIfRoomRefs
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableAttributes ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
String flag
String[] flags
String value
org.w3c.dom.Attr attribute
com.android.tools.lint.detector.api.Location next
int i
com.android.tools.lint.detector.api.XmlContext xmlContext
com.android.tools.lint.detector.api.Location location
java.util.List always
java.util.List ifRoom
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Context context
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
public java.util.List getApplicableReferenceNames ()
public void visitReference (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiJavaCodeReferenceElement, com.intellij.psi.PsiElement)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiJavaCodeReferenceElement reference
com.intellij.psi.PsiElement resolved
static void ()
}
com/android/tools/lint/checks/WrongIdDetector.classWrongIdDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WrongIdDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
private final java.util.Set mGlobalIds
private java.util.Set mFileIds
private java.util.Set mDeclaredIds
private java.util.List mHandles
private java.util.List mRelativeLayouts
public static final com.android.tools.lint.detector.api.Issue UNKNOWN_ID
public static final com.android.tools.lint.detector.api.Issue NOT_SIBLING
public static final com.android.tools.lint.detector.api.Issue INVALID
public static final com.android.tools.lint.detector.api.Issue UNKNOWN_ID_LAYOUT
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckFile (com.android.tools.lint.detector.api.Context)
String id
org.w3c.dom.Element child
com.android.tools.lint.detector.api.XmlContext xmlContext
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.XmlContext xmlContext
String message
com.android.tools.lint.detector.api.Location location
String parentId
com.android.tools.lint.detector.api.XmlContext xmlContext
String message
com.android.tools.lint.detector.api.Location location
org.w3c.dom.Attr attr
String value
int i
int n
String selfId
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.Element element
java.util.List children
java.util.Set ids
boolean isConstraintLayout
org.w3c.dom.Element layout
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private void checkHandles (com.android.tools.lint.detector.api.Context)
com.android.ide.common.res2.AbstractResourceRepository resources
String suggestionMessage
String suggestionMessage
String message
com.android.tools.lint.detector.api.Location$Handle handle
boolean isDeclared
String suggestionMessage
java.util.Set spellingDictionary
java.util.List suggestions
String message
com.android.tools.lint.detector.api.Location$Handle handle
String id
boolean isBound
com.android.tools.lint.client.api.LintClient client
com.android.utils.Pair pair
boolean checkSameLayout
boolean checkExists
boolean projectScope
com.android.tools.lint.detector.api.Context context
private static void report (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location$Handle, java.lang.String)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location$Handle handle
String message
com.android.tools.lint.detector.api.Location location
Object clientData
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String type
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tagName
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String message
int nameStart
String suggested
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String id
private static boolean idDefined (java.util.Set, java.lang.String)
java.util.Set ids
String id
boolean definedLocally
private boolean idDefined (com.android.tools.lint.detector.api.Context, java.lang.String, java.io.File)
java.io.File file
com.android.ide.common.res2.ResourceFile source
com.android.ide.common.res2.ResourceItem item
java.util.List items
com.android.tools.lint.detector.api.Context context
String id
java.io.File notIn
com.android.ide.common.res2.AbstractResourceRepository resources
private static java.util.List getSpellingSuggestions (java.lang.String, java.util.Collection)
int distance
String matchWith
java.util.List suggestions
java.util.Collection strings
int i
String id
java.util.Collection ids
int maxDistance
com.google.common.collect.Multimap matches
int count
static void ()
}
com/android/tools/lint/checks/StringAuthLeakDetector$AuthLeakChecker.classStringAuthLeakDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.StringAuthLeakDetector$AuthLeakChecker extends com.intellij.psi.JavaElementVisitor {
private static final String LEGAL_CHARS
private static final java.util.regex.Pattern AUTH_REGEXP
private final com.android.tools.lint.detector.api.JavaContext mContext
private void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitLiteralExpression (com.intellij.psi.PsiLiteralExpression)
String password
com.intellij.openapi.util.TextRange textRange
com.android.tools.lint.detector.api.Location location
java.util.regex.Matcher matcher
com.intellij.psi.PsiLiteralExpression node
void (com.android.tools.lint.detector.api.JavaContext, com.android.tools.lint.checks.StringAuthLeakDetector$1)
com.android.tools.lint.detector.api.JavaContext x0
com.android.tools.lint.checks.StringAuthLeakDetector$1 x1
static void ()
}
com/android/tools/lint/checks/WrongImportDetector$ImportVisitor.classWrongImportDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.WrongImportDetector$ImportVisitor extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitImportStatement (com.intellij.psi.PsiImportStatement)
com.android.tools.lint.detector.api.Location location
com.intellij.psi.PsiImportStatement statement
String qualifiedName
}
com/android/tools/lint/checks/InefficientWeightDetector.classInefficientWeightDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.InefficientWeightDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue INEFFICIENT_WEIGHT
public static final com.android.tools.lint.detector.api.Issue NESTED_WEIGHTS
public static final com.android.tools.lint.detector.api.Issue BASELINE_WEIGHTS
public static final com.android.tools.lint.detector.api.Issue WRONG_0DP
public static final com.android.tools.lint.detector.api.Issue ORIENTATION
private final java.util.Map mInsideWeight
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Attr sizeNode
Boolean inside
org.w3c.dom.Element child
org.w3c.dom.Element child
String width
String message
boolean maxWidthSet
java.util.Iterator iterator
java.util.List values
boolean ignore
boolean ignore
String message
boolean ignore
String tagName
org.w3c.dom.Element child
boolean allChildrenAreLayouts
com.android.tools.lint.client.api.SdkInfo sdkInfo
String dimension
String v
com.android.ide.common.rendering.api.ResourceValue value
String style
java.util.List sizes
String msg
String dimension
org.w3c.dom.Attr sizeNode
String size
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
java.util.List children
boolean multipleWeights
org.w3c.dom.Element weightChild
boolean checkNesting
String orientation
private static void checkWrong0Dp (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.util.List)
String tagName
boolean hasWeight
org.w3c.dom.Attr widthNode
org.w3c.dom.Attr heightNode
boolean noWidth
boolean noHeight
org.w3c.dom.Element child
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
java.util.List children
boolean isVertical
String orientation
static void ()
}
com/android/tools/lint/checks/IconDetector$2.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$2 extends java.lang.Object implements java.util.Comparator {
void ()
public int compare (java.util.Map$Entry, java.util.Map$Entry)
java.util.Map$Entry e1
java.util.Map$Entry e2
java.awt.Dimension d1
java.awt.Dimension d2
public volatile int compare (java.lang.Object, java.lang.Object)
}
com/android/tools/lint/checks/ApiDetector$1.classApiDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ApiDetector$1 extends com.intellij.psi.JavaElementVisitor {
final com.android.tools.lint.checks.ApiDetector this$0
void (com.android.tools.lint.checks.ApiDetector)
com.android.tools.lint.checks.ApiDetector this$0
public void visitElement (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement element
}
com/android/tools/lint/checks/ParcelDetector.classParcelDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ParcelDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List applicableSuperClasses ()
public void checkClass (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiClass)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiClass declaration
com.intellij.psi.PsiField field
static void ()
}
com/android/tools/lint/checks/CallSuperDetector$SuperCallVisitor.classCallSuperDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.CallSuperDetector$SuperCallVisitor extends com.intellij.psi.JavaRecursiveElementVisitor {
private final com.intellij.psi.PsiMethod mMethod
private boolean mCallsSuper
public static boolean callsSuper (com.intellij.psi.PsiMethod, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiMethod superMethod
com.android.tools.lint.checks.CallSuperDetector$SuperCallVisitor visitor
private void (com.intellij.psi.PsiMethod)
com.intellij.psi.PsiMethod method
public void visitSuperExpression (com.intellij.psi.PsiSuperExpression)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiSuperExpression node
com.intellij.psi.PsiElement parent
}
com/android/tools/lint/checks/ArraySizeDetector.classArraySizeDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ArraySizeDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue INCONSISTENT
private com.google.common.collect.Multimap mFileToArrayCount
private java.util.Map mLocations
private java.util.Map mDescriptions
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String thisName
java.io.File otherFile
String otherName
String message
String name
Integer count
Integer current
com.android.utils.Pair pair
java.util.Collection pairs
java.io.File file
boolean haveAllResources
java.util.Set alreadyReported
java.util.Map countMap
java.util.Map fileMap
java.util.List keys
org.w3c.dom.Node node
int newCount
Object clientData
com.android.tools.lint.detector.api.Location location
int count
com.android.tools.lint.client.api.LintDriver driver
boolean foundConflict
com.android.tools.lint.detector.api.Location curr
String message
String name
java.util.List names
com.android.tools.lint.detector.api.Context context
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
int childCount
com.android.tools.lint.detector.api.Location location
String name
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int phase
org.w3c.dom.Attr attribute
private static void incrementalCheckCount (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element, java.lang.String, int)
String thisName
java.io.File otherFile
String otherName
String message
com.android.ide.common.rendering.api.ArrayResourceValue arv
com.android.ide.common.res2.ResourceFile source
com.android.ide.common.rendering.api.ResourceValue rv
com.android.ide.common.res2.ResourceItem item
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String name
int childCount
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.ide.common.res2.AbstractResourceRepository resources
java.util.List items
static void ()
}
com/android/tools/lint/checks/ByteOrderMarkDetector.classByteOrderMarkDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ByteOrderMarkDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public static final com.android.tools.lint.detector.api.Issue BOM
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
com.android.tools.lint.detector.api.Location location
String message
char c
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String name
static void ()
}
com/android/tools/lint/checks/OnClickDetector.classOnClickDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.OnClickDetector extends com.android.tools.lint.detector.api.LayoutDetector implements com.android.tools.lint.detector.api.Detector$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private java.util.Map mNames
private java.util.Map mSimilar
private boolean mHaveBytecode
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Location$Handle handle
Object clientData
com.android.tools.lint.detector.api.Location location
String message
java.util.List similar
String name
java.util.List names
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Context context
public java.util.Collection getApplicableAttributes ()
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String unicode
int hex
java.util.regex.Pattern pattern
java.util.regex.Matcher matcher
StringBuilder sb
int remainder
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
String n
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Location location
String message
org.objectweb.asm.tree.MethodNode method
boolean rightArguments
Object m
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List methodList
private void recordSimilar (java.lang.String, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode)
String name
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
java.util.List list
String signature
static void ()
}
com/android/tools/lint/checks/NamespaceDetector.classNamespaceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.NamespaceDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue TYPO
public static final com.android.tools.lint.detector.api.Issue UNUSED
public static final com.android.tools.lint.detector.api.Issue CUSTOM_VIEW
public static final com.android.tools.lint.detector.api.Issue RES_AUTO
private static final String XMLNS_ANDROID
private static final String XMLNS_A
private java.util.Map mUnusedNamespaces
private boolean mCheckUnused
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
String correctUri
String urlPrefix
int resIndex
org.w3c.dom.Attr attribute
String name
org.w3c.dom.Attr attribute
String value
org.w3c.dom.Node item
String prefix
int i
int n
String prefix
org.w3c.dom.Attr attribute
java.util.Map$Entry entry
com.android.tools.lint.detector.api.Project project
boolean checkCustomAttrs
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
boolean haveCustomNamespace
org.w3c.dom.Element root
org.w3c.dom.NamedNodeMap attributes
private static void checkCustomNamespace (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String uri
org.w3c.dom.Attr attribute
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NamedNodeMap attributes
private void checkElement (org.w3c.dom.Node)
org.w3c.dom.Attr attribute
String prefix
int i
int n
org.w3c.dom.NamedNodeMap attributes
int i
int n
org.w3c.dom.NodeList childNodes
org.w3c.dom.Node node
static void ()
}
com/android/tools/lint/checks/JavaScriptInterfaceDetector.classJavaScriptInterfaceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.JavaScriptInterfaceDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String ADD_JAVASCRIPT_INTERFACE
private static final String JAVASCRIPT_INTERFACE_CLS
private static final String WEB_VIEW_CLS
public void ()
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.JavaElementVisitor, com.intellij.psi.PsiMethodCallExpression, com.intellij.psi.PsiMethod)
com.intellij.psi.PsiClassType classType
com.intellij.psi.PsiClass cls
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.JavaElementVisitor visitor
com.intellij.psi.PsiMethodCallExpression call
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiExpression[] arguments
com.android.tools.lint.client.api.JavaEvaluator evaluator
com.intellij.psi.PsiExpression first
com.intellij.psi.PsiType evaluated
private static boolean isJavaScriptAnnotated (com.intellij.psi.PsiClass)
com.intellij.psi.PsiMethod method
com.intellij.psi.PsiModifierList modifierList
com.intellij.psi.PsiClass clz
static void ()
}
com/android/tools/lint/checks/WrongLocationDetector.classWrongLocationDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.WrongLocationDetector extends com.android.tools.lint.detector.api.LayoutDetector {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Document document
org.w3c.dom.Element root
static void ()
}
com/android/tools/lint/checks/SdCardDetector.classSdCardDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SdCardDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public java.util.List getApplicablePsiTypes ()
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/RelativeOverlapDetector$LayoutNode.classRelativeOverlapDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode extends java.lang.Object {
private final int mIndex
private boolean mProcessed
private final org.w3c.dom.Element mNode
private com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode$Bucket mBucket
private com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode mToLeft
private com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode mToRight
private boolean mLastLeft
private boolean mLastRight
public void (org.w3c.dom.Element, int)
org.w3c.dom.Element node
int index
public java.lang.String getNodeId ()
String nodeid
public java.lang.String getNodeTextId ()
String text
public java.lang.String toString ()
public boolean isInvisible ()
String visibility
public boolean fixedWidth ()
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode childLayout
org.w3c.dom.Node child
int i
org.w3c.dom.NodeList childNodes
String text
String nodeName
String width
public org.w3c.dom.Element getNode ()
public void processNode (java.util.Map)
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode otherNode
String value
String alignment
String[] checkAlignment
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode n
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode n
java.util.Map nodes
boolean positioned
public java.util.Set canGrowLeft ()
java.util.Set nodes
java.util.Set nodes
public java.util.Set canGrowRight ()
java.util.Set nodes
java.util.Set nodes
public boolean skip ()
public boolean sameBucket (com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode)
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode node
private com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode findNodeByAttr (java.util.Map, java.lang.String)
java.util.Map nodes
String attrName
String value
private boolean hasAttr (java.lang.String)
String key
private boolean hasTrueAttr (java.lang.String)
String key
private static java.lang.String uniformId (java.lang.String)
String value
static boolean access$000 (com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode)
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode x0
static boolean access$100 (com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode)
com.android.tools.lint.checks.RelativeOverlapDetector$LayoutNode x0
}
com/android/tools/lint/checks/ApiClass.classApiClass.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ApiClass extends java.lang.Object implements java.lang.Comparable {
private final String mName
private final int mSince
private final int mDeprecatedIn
private final java.util.List mSuperClasses
private final java.util.List mInterfaces
private final java.util.Map mFields
private final java.util.Map mMethods
private final java.util.Map mDeprecatedMembersIn
java.util.List members
int index
int indexOffset
int memberOffsetBegin
int memberOffsetEnd
int memberIndexStart
int memberIndexLength
static final boolean $assertionsDisabled
void (java.lang.String, int, int)
String name
int since
int deprecatedIn
java.lang.String getName ()
int getSince ()
int getDeprecatedIn ()
int getField (java.lang.String, com.android.tools.lint.checks.Api)
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
String name
com.android.tools.lint.checks.Api info
int min
Integer i
int getMemberDeprecatedIn (java.lang.String, com.android.tools.lint.checks.Api)
String name
com.android.tools.lint.checks.Api info
int deprecatedIn
private int findMemberDeprecatedIn (java.lang.String, com.android.tools.lint.checks.Api)
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
String name
com.android.tools.lint.checks.Api info
int min
Integer i
int getMethod (java.lang.String, com.android.tools.lint.checks.Api)
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair interfacePair
String methodSignature
com.android.tools.lint.checks.Api info
int min
Integer i
void addField (java.lang.String, int, int)
String name
int since
int deprecatedIn
Integer i
void addMethod (java.lang.String, int, int)
String name
int since
int deprecatedIn
int index
Integer i
void addSuperClass (java.lang.String, int)
String superClass
int since
void addInterface (java.lang.String, int)
String interfaceClass
int since
static void addToArray (java.util.List, java.lang.String, int)
com.android.utils.Pair pair
java.util.List list
String name
int value
public java.lang.String getPackage ()
int index
public java.lang.String getSimpleName ()
int index
public java.lang.String toString ()
java.util.Set getAllMethods (com.android.tools.lint.checks.Api)
com.android.tools.lint.checks.Api info
java.util.Set members
java.util.List getInterfaces ()
java.util.List getSuperClasses ()
private void addAllMethods (com.android.tools.lint.checks.Api, java.util.Set, boolean)
String method
String method
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
com.android.tools.lint.checks.Api info
java.util.Set set
boolean includeConstructors
java.util.Set getAllFields (com.android.tools.lint.checks.Api)
com.android.tools.lint.checks.Api info
java.util.Set members
private void addAllFields (com.android.tools.lint.checks.Api, java.util.Set)
String field
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
com.android.tools.lint.checks.Api info
java.util.Set set
public int compareTo (com.android.tools.lint.checks.ApiClass)
com.android.tools.lint.checks.ApiClass other
public volatile int compareTo (java.lang.Object)
static void ()
}
com/android/tools/lint/checks/TextViewDetector.classTextViewDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TextViewDetector extends com.android.tools.lint.detector.api.LayoutDetector {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue ISSUE
public static final com.android.tools.lint.detector.api.Issue SELECTABLE
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String value
String message
com.android.tools.lint.detector.api.Location location
String message
String view
org.w3c.dom.Attr attribute
String name
boolean isEditAttribute
int i
int n
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NamedNodeMap attributes
static void ()
}
com/android/tools/lint/checks/RtlDetector$IdentifierChecker.classRtlDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.RtlDetector$IdentifierChecker extends com.intellij.psi.JavaElementVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
public void (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public void visitReferenceExpression (com.intellij.psi.PsiReferenceExpression)
com.intellij.psi.PsiField field
com.intellij.psi.PsiReferenceExpression node
String identifier
boolean isLeft
boolean isRight
com.intellij.psi.PsiElement resolved
String message
com.intellij.psi.PsiElement locationNode
com.android.tools.lint.detector.api.Location location
}
com/android/tools/lint/checks/LocaleFolderDetector.classLocaleFolderDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.LocaleFolderDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$ResourceFolderScanner {
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue DEPRECATED_CODE
public static final com.android.tools.lint.detector.api.Issue WRONG_REGION
public static final com.android.tools.lint.detector.api.Issue USE_ALPHA_2
public static final com.android.tools.lint.detector.api.Issue INVALID_FOLDER
private java.util.Map mBcp47Folders
static final boolean $assertionsDisabled
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void checkFolder (com.android.tools.lint.detector.api.ResourceContext, java.lang.String)
String message
String message
String languageAlpha2
String message
String regionAlpha2
String code
java.util.List sortedRegions
java.util.List suggestions
String message
java.util.List relevantRegions
String language
String replace
String region
String message
String bcpSuggestion
com.android.tools.lint.detector.api.ResourceContext context
String folderName
com.android.ide.common.resources.configuration.LocaleQualifier locale
com.android.ide.common.resources.configuration.FolderConfiguration config
static java.lang.String suggestBcp47Correction (java.lang.String)
String segment
String original
int length
String better
String better
String folderName
String language
String region
java.util.Iterator iterator
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.LocaleQualifier locale
String key
String folderName
com.android.ide.common.resources.configuration.ResourceQualifier qualifier
int i
int n
boolean localeOnly
com.android.ide.common.resources.configuration.FolderConfiguration config
com.android.ide.common.resources.configuration.FolderConfiguration config
java.io.File dir
com.android.tools.lint.detector.api.Location secondary
int i
com.android.tools.lint.detector.api.Location location
java.util.List folderNames
String message
java.util.Collection configs
java.util.List candidates
String language
java.util.Map folderToConfig
java.util.Map configToFile
com.google.common.collect.Multimap languageToConfigs
com.android.tools.lint.detector.api.Context context
private static java.util.List sortRegions (java.lang.String, java.util.List)
String language
java.util.List regions
java.util.List sortedRegions
String primary
String secondary
static void ()
}
com/android/tools/lint/checks/CleanupDetector$2.classCleanupDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.CleanupDetector$2 extends com.android.tools.lint.checks.CleanupDetector$FinishVisitor {
void (com.android.tools.lint.detector.api.JavaContext, com.intellij.psi.PsiVariable)
com.android.tools.lint.detector.api.JavaContext context
com.intellij.psi.PsiVariable variableNode
protected boolean isCleanupCall (com.intellij.psi.PsiMethodCallExpression)
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression operand
com.intellij.psi.PsiExpression first
com.intellij.psi.PsiElement resolved
com.intellij.psi.PsiExpression[] arguments
com.intellij.psi.PsiMethodCallExpression call
}
com/android/tools/lint/checks/WakelockDetector$MyGraph.classWakelockDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.WakelockDetector$MyGraph extends com.android.tools.lint.checks.ControlFlowGraph {
private void ()
protected void add (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.MethodInsnNode method
org.objectweb.asm.tree.AbstractInsnNode next
org.objectweb.asm.tree.JumpInsnNode jump
org.objectweb.asm.tree.AbstractInsnNode next
org.objectweb.asm.tree.MethodInsnNode method
org.objectweb.asm.tree.AbstractInsnNode prev
org.objectweb.asm.tree.JumpInsnNode jump
org.objectweb.asm.tree.AbstractInsnNode from
org.objectweb.asm.tree.AbstractInsnNode to
void (com.android.tools.lint.checks.WakelockDetector$1)
com.android.tools.lint.checks.WakelockDetector$1 x0
}
com/android/tools/lint/checks/IconDetector.classIconDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.IconDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaPsiScanner {
private static final boolean INCLUDE_LDPI
private static final java.util.regex.Pattern DENSITY_PATTERN
private static final java.util.regex.Pattern DP_NAME_PATTERN
private java.util.List mCachedRequiredDensities
private com.android.tools.lint.detector.api.Project mCachedDensitiesForProject
private static final String[] DENSITY_QUALIFIERS
private static final java.util.EnumSet ICON_TYPE_SCOPE
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_JAVA
private static final com.android.tools.lint.detector.api.Implementation IMPLEMENTATION_RES_ONLY
public static final com.android.tools.lint.detector.api.Issue ICON_EXPECTED_SIZE
public static final com.android.tools.lint.detector.api.Issue ICON_DIP_SIZE
public static final com.android.tools.lint.detector.api.Issue ICON_LOCATION
public static final com.android.tools.lint.detector.api.Issue ICON_DENSITIES
public static final com.android.tools.lint.detector.api.Issue ICON_MISSING_FOLDER
public static final com.android.tools.lint.detector.api.Issue GIF_USAGE
public static final com.android.tools.lint.detector.api.Issue DUPLICATES_NAMES
public static final com.android.tools.lint.detector.api.Issue DUPLICATES_CONFIGURATIONS
public static final com.android.tools.lint.detector.api.Issue ICON_NODPI
public static final com.android.tools.lint.detector.api.Issue ICON_MIX_9PNG
public static final com.android.tools.lint.detector.api.Issue ICON_XML_AND_PNG
public static final com.android.tools.lint.detector.api.Issue ICON_EXTENSION
public static final com.android.tools.lint.detector.api.Issue ICON_COLORS
public static final com.android.tools.lint.detector.api.Issue ICON_LAUNCHER_SHAPE
private java.util.Map mImageCache
private java.util.Set mActionBarIcons
private java.util.Set mNotificationIcons
private java.util.Set mLauncherIcons
private com.google.common.collect.Multimap mMenuToIcons
private static final String NOTIFICATION_CLASS
private static final String NOTIFICATION_BUILDER_CLASS
private static final String NOTIFICATION_COMPAT_BUILDER_CLASS
private static final String SET_SMALL_ICON
private static final String ON_CREATE_OPTIONS_MENU
static final boolean $assertionsDisabled
public void ()
public void beforeCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckLibraryProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
private void checkResourceFolder (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Project)
String name
java.io.File f
java.util.Set names
String name
java.io.File f
java.util.Set names
java.io.File[] files
String folderName
java.io.File folder
boolean checkFolders
boolean checkDipSizes
boolean checkDuplicates
java.util.Map pixelSizes
java.util.Map fileSizes
java.util.Map folderToNames
java.util.Map nonDpiFolderNames
java.io.File[] folders
java.io.File res
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Project project
java.util.List resourceFolders
private static boolean isDrawableFile (java.lang.String)
String name
private static void checkDuplicates (com.android.tools.lint.detector.api.Context, java.util.Map, java.util.Map)
java.util.Set set
java.io.File file
Long size
java.util.Map$Entry entry
java.util.Set set
java.awt.Dimension dimension
java.io.File file
java.util.Set set
java.util.HashSet noSizeSet
java.io.IOException e
byte[] bits
java.io.File file
int k
java.io.File file1
java.io.File file2
byte[] contents1
byte[] contents2
boolean same
int j
int i
java.io.File file1
java.io.File file2
java.util.Set set1
java.util.Set set2
java.util.Map$Entry entry
java.util.ArrayList sorted
java.util.Set same
String name
java.io.File file
java.util.List list
boolean remove
com.android.tools.lint.detector.api.Location linkedLocation
java.io.File file
java.io.File file
StringBuilder sb
String message
java.io.File file
StringBuilder sb
String message
com.android.tools.lint.detector.api.Location location
boolean sameNames
String lastName
java.util.List sameFiles
java.util.Map partitions
java.util.List sameSets
java.util.List lists
java.util.ListIterator iterator
java.util.Map equal
java.util.List files
java.util.Set set
java.util.Map sameDimensions
java.util.List noSize
java.util.Collection sets
java.util.Map fileContents
java.util.Set candidates
com.android.tools.lint.detector.api.Context context
java.util.Map pixelSizes
java.util.Map fileSizes
java.util.Map sameSizes
java.util.Map seenSizes
java.util.Collection candidateLists
private static void checkDipSizes (com.android.tools.lint.detector.api.Context, java.util.Map)
String name
java.util.List list
java.io.File file
String qualifier
String parentName
int index
java.util.Map folderMap
java.util.List list
java.io.File file
String name
java.util.List files
java.util.Map$Entry entry
String message
String dpString
int dp
java.awt.Dimension size
java.awt.Dimension dip
String fileName
java.util.regex.Matcher matcher
String folderName
float factor
java.io.File file
java.awt.Dimension size
java.util.Map$Entry entry2
java.io.File file
com.android.tools.lint.detector.api.Location linkedLocation
java.awt.Dimension dip
java.awt.Dimension px
String fileName
java.util.Map$Entry entry2
com.android.tools.lint.detector.api.Location location
StringBuilder sb
java.util.List entries
String message
java.util.List files
java.util.Map dipSizes
int dipWidthSum
int dipHeightSum
int count
int meanWidth
int meanHeight
int squareWidthSum
int squareHeightSum
double widthStdDev
double heightStdDev
java.util.Map$Entry entry
java.util.Map configurations
String name
com.android.tools.lint.detector.api.Context context
java.util.Map pixelSizes
java.util.Map nameToFiles
java.util.ArrayList names
java.util.Map configMap
private void checkDensities (com.android.tools.lint.detector.api.Context, java.io.File, java.util.Map, java.util.Map)
java.io.File f
String density
java.util.List missing
java.util.Map$Entry entry
String name
java.util.Set overlap
java.io.File folder
String folderName
java.util.Map$Entry entry
java.util.List list
com.android.tools.lint.detector.api.Location location
java.util.Set inBoth
java.util.List files
java.util.Set noDpiNames
String name
java.util.Set names
java.util.Map$Entry entry
String name
String n
java.io.File folder
java.util.Map$Entry entry
String base
boolean isXml
java.io.File f
java.util.List lists
com.android.tools.lint.detector.api.Location location
java.util.List fileNames
boolean seenXml
boolean seenNonXml
String name
com.google.common.collect.Multimap map
java.util.Set bases
java.util.List sorted
java.util.Set overlap
java.util.Map folderMap
java.util.Set xmlNames
java.util.Set bitmapNames
java.util.Set names
java.util.Map$Entry entry
java.util.Map$Entry e
java.util.List defined
String name
java.util.List delta
String foundIn
String folder
java.io.File file
java.util.Set names
java.util.Map$Entry entry
java.util.Set allNames
com.android.tools.lint.detector.api.Context context
java.io.File res
java.util.Map folderToNames
java.util.Map nonDpiFolderNames
java.util.Set definedDensities
private java.util.List getRequiredDensityFolders (com.android.tools.lint.detector.api.Context)
java.util.List applicableDensities
com.android.tools.lint.detector.api.Context context
private static void addResConfigsFromFlavor (java.util.Set, java.util.List, com.android.builder.model.ProductFlavorContainer)
com.android.resources.Density density
String densityName
java.util.Set relevantDensities
java.util.List variantFlavors
com.android.builder.model.ProductFlavorContainer container
com.android.builder.model.ProductFlavor flavor
private static java.util.Set nameDifferences (java.util.Set, java.util.Set)
String s
String s
String s
String s
java.util.Set result
java.util.Set a
java.util.Set b
java.util.Set names1
java.util.Set names2
private static java.util.Set nameIntersection (java.util.Set, java.util.Set)
String s
String s
String s
String s
java.util.Set result
java.util.Set a
java.util.Set b
java.util.Set names1
java.util.Set names2
private static boolean isNoDpiFolder (java.io.File)
java.io.File file
private java.awt.image.BufferedImage getImage (java.io.File) throws java.io.IOException
java.awt.image.BufferedImage image
java.io.File file
java.awt.image.BufferedImage image
private void checkDrawableDir (com.android.tools.lint.detector.api.Context, java.io.File, java.io.File[], java.util.Map, java.util.Map)
String name
java.io.File file
String name
java.io.File file
String path
java.io.File file
java.awt.Dimension size
String baseName
boolean isActionBarIcon
String name
java.io.File file
String name
java.io.File file
java.awt.Dimension size
String fileName
java.io.File file
com.android.tools.lint.detector.api.Context context
java.io.File folder
java.io.File[] files
java.util.Map pixelSizes
java.util.Map fileSizes
private void checkLauncherShape (com.android.tools.lint.detector.api.Context, java.io.File)
int rgb
int x
int width
int y
int height
String message
java.awt.image.BufferedImage image
com.android.tools.lint.detector.api.Context context
java.io.File file
private java.awt.Dimension checkColor (com.android.tools.lint.detector.api.Context, java.io.File, boolean)
String message
int r
int g
int b
int rgb
int x
int width
int y
int height
int r
int g
int b
String message
int rgb
int x
int width
int y
int height
String message
int r
int g
int b
int rgb
int x
int width
int y
int height
java.awt.image.BufferedImage image
com.android.tools.lint.detector.api.Context context
java.io.File file
boolean isActionBarIcon
int folderVersion
private static void checkExtension (com.android.tools.lint.detector.api.Context, java.io.File)
String message
com.android.tools.lint.detector.api.Location location
String path
int index
String extension
String formatName
javax.imageio.ImageReader reader
java.util.Iterator readers
javax.imageio.stream.ImageInputStream input
com.android.tools.lint.detector.api.Context context
java.io.File file
private static java.lang.String getBaseName (java.lang.String)
String name
String baseName
int index
private static void checkMixedNinePatches (com.android.tools.lint.detector.api.Context, java.util.Map)
String ninepatch
String png
String base
String name
java.util.Set baseNames
java.util.Set names
java.util.Map$Entry entry
java.util.List files
String base
String name
java.io.File dir
java.util.Set names
java.util.Map$Entry entry
java.util.List files
com.android.tools.lint.detector.api.Location location
String message
String name
com.android.tools.lint.detector.api.Context context
java.util.Map folderToNames
java.util.Set conflictSet
java.util.Map conflicts
java.util.List names
private static com.android.tools.lint.detector.api.Location chainLocations (java.util.List)
com.android.tools.lint.detector.api.Location linkedLocation
java.io.File file
java.util.List files
com.android.tools.lint.detector.api.Location location
private void checkExpectedSizes (com.android.tools.lint.detector.api.Context, java.io.File, java.io.File[])
String name
String baseName
java.io.File file
com.android.tools.lint.detector.api.Context context
java.io.File folder
java.io.File[] files
String folderName
int folderVersion
private static boolean isAndroid30 (com.android.tools.lint.detector.api.Context, int)
com.android.tools.lint.detector.api.Context context
int folderVersion
private static boolean isAndroid23 (com.android.tools.lint.detector.api.Context, int)
com.android.tools.lint.detector.api.Context context
int folderVersion
int minSdk
private static float getMdpiScalingFactor (java.lang.String)
String folderName
private static void checkSize (com.android.tools.lint.detector.api.Context, java.lang.String, java.io.File, int, int, boolean)
int width
int height
int width
int height
int width
int height
int width
int height
int width
int height
com.android.tools.lint.detector.api.Context context
String folderName
java.io.File file
int mdpiWidth
int mdpiHeight
boolean exactMatch
String fileName
int width
int height
java.awt.Dimension size
private static java.awt.Dimension getSize (java.io.File)
javax.imageio.ImageReader reader
java.util.Iterator readers
javax.imageio.stream.ImageInputStream input
java.awt.image.BufferedImage image
java.io.IOException e
java.io.File file
private boolean isLauncherIcon (java.lang.String)
String name
private boolean isNotificationIcon (java.lang.String)
String name
private boolean isActionBarIcon (java.lang.String)
String name
private boolean isActionBarIcon (com.android.tools.lint.detector.api.Context, java.lang.String, java.io.File)
com.android.tools.lint.detector.api.Context context
String name
java.io.File file
public boolean appliesTo (com.android.tools.lint.detector.api.Context, java.io.File)
com.android.tools.lint.detector.api.Context context
java.io.File file
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String menu
String tagName
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String icon
public java.util.List getApplicablePsiTypes ()
java.util.List types
public com.intellij.psi.JavaElementVisitor createPsiVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
private boolean handleSelect (com.intellij.psi.PsiElement)
com.intellij.psi.PsiElement select
com.android.ide.common.resources.ResourceUrl url
static boolean access$200 (com.android.tools.lint.checks.IconDetector, com.intellij.psi.PsiElement)
com.android.tools.lint.checks.IconDetector x0
com.intellij.psi.PsiElement x1
static java.util.Set access$300 (com.android.tools.lint.checks.IconDetector)
com.android.tools.lint.checks.IconDetector x0
static java.util.Set access$302 (com.android.tools.lint.checks.IconDetector, java.util.Set)
com.android.tools.lint.checks.IconDetector x0
java.util.Set x1
static com.google.common.collect.Multimap access$500 (com.android.tools.lint.checks.IconDetector)
com.android.tools.lint.checks.IconDetector x0
static java.util.Set access$600 (com.android.tools.lint.checks.IconDetector)
com.android.tools.lint.checks.IconDetector x0
static java.util.Set access$602 (com.android.tools.lint.checks.IconDetector, java.util.Set)
com.android.tools.lint.checks.IconDetector x0
java.util.Set x1
static void ()
boolean includeLdpi
String value
}
com/android/tools/lint/checks/api-versions-support-library.xml
NOTICE