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/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/AlwaysShowActionDetector$FieldAccessChecker.classAlwaysShowActionDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.AlwaysShowActionDetector$FieldAccessChecker extends lombok.ast.ForwardingAstVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
final com.android.tools.lint.checks.AlwaysShowActionDetector this$0
public void (com.android.tools.lint.checks.AlwaysShowActionDetector, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public boolean visitSelect (lombok.ast.Select)
lombok.ast.Select node
String description
boolean isIfRoom
boolean isAlways
}
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$JavaScanner {
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 com.android.tools.lint.detector.api.Speed getSpeed ()
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[] arr$
int len$
int i$
String[] flags
String value
org.w3c.dom.Attr attribute
java.util.Iterator i$
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
java.util.Iterator i$
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 getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static java.util.List access$000 (com.android.tools.lint.checks.AlwaysShowActionDetector)
com.android.tools.lint.checks.AlwaysShowActionDetector x0
static java.util.List access$002 (com.android.tools.lint.checks.AlwaysShowActionDetector, java.util.List)
com.android.tools.lint.checks.AlwaysShowActionDetector x0
java.util.List x1
static boolean access$102 (com.android.tools.lint.checks.AlwaysShowActionDetector, boolean)
com.android.tools.lint.checks.AlwaysShowActionDetector x0
boolean x1
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 lombok.ast.ForwardingAstVisitor {
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 boolean visitAnnotation (lombok.ast.Annotation)
lombok.ast.StringLiteral literal
String id
String id
lombok.ast.Expression arrayElement
lombok.ast.ArrayInitializer array
lombok.ast.StrictListAccessor expressions
java.util.Iterator arrayIterator
lombok.ast.AnnotationValue valueNode
lombok.ast.AnnotationElement element
java.util.Iterator i$
lombok.ast.Node parent
lombok.ast.Annotation node
String type
private boolean checkId (lombok.ast.Annotation, java.lang.String)
lombok.ast.Expression initializer
lombok.ast.VariableDefinitionEntry entry
java.util.Iterator i$
lombok.ast.VariableDefinition definition
lombok.ast.Node parent
lombok.ast.Annotation node
String id
com.android.tools.lint.client.api.IssueRegistry registry
com.android.tools.lint.detector.api.Issue issue
}
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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 ()
public java.util.List getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
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
public static com.android.tools.lint.checks.Api parseApi (java.io.File)
java.io.IOException e
javax.xml.parsers.SAXParserFactory parserFactory
javax.xml.parsers.SAXParser parser
com.android.tools.lint.checks.ApiParser apiParser
javax.xml.parsers.ParserConfigurationException e
java.io.IOException e
org.xml.sax.SAXException e
java.io.IOException e
java.io.IOException e
java.io.IOException e
java.io.IOException e
java.io.File apiFile
java.io.FileInputStream fileInputStream
private void (java.util.Map)
java.util.Map classes
com.android.tools.lint.checks.ApiClass getClass (java.lang.String)
String fqcn
java.util.Map getClasses ()
}
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 {
private final String mName
private final int mSince
private final java.util.List mSuperClasses
private final java.util.List mInterfaces
private final java.util.Map mFields
private final java.util.Map mMethods
static final boolean $assertionsDisabled
void (java.lang.String, int)
String name
int since
java.lang.String getName ()
int getSince ()
java.lang.Integer getField (java.lang.String, com.android.tools.lint.checks.Api)
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
java.util.Iterator i$
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair superClassPair
java.util.Iterator i$
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
java.util.Iterator i$
int tmp
com.android.tools.lint.checks.ApiClass superClass
com.android.utils.Pair interfacePair
java.util.Iterator i$
String methodSignature
com.android.tools.lint.checks.Api info
int min
Integer i
void addField (java.lang.String, int)
String name
int since
Integer i
void addMethod (java.lang.String, int)
String name
int since
int index
Integer i
void addSuperClass (java.lang.String, int)
String superClass
int since
void addInterface (java.lang.String, int)
String interfaceClass
int since
void addToArray (java.util.List, java.lang.String, int)
com.android.utils.Pair pair
java.util.Iterator i$
java.util.List list
String name
int value
public java.lang.String getPackage ()
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
private void addAllMethods (com.android.tools.lint.checks.Api, java.util.Set, boolean)
String method
java.util.Iterator i$
String method
java.util.Iterator i$
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
java.util.Iterator i$
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
java.util.Iterator i$
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
java.util.Iterator i$
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
java.util.Iterator i$
com.android.tools.lint.checks.ApiClass clz
com.android.utils.Pair superClass
java.util.Iterator i$
com.android.tools.lint.checks.Api info
java.util.Set set
static void ()
}
com/android/tools/lint/checks/ApiDetector$1.classApiDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ApiDetector$1 extends java.lang.Object {
}
com/android/tools/lint/checks/ApiDetector$ApiVisitor.classApiDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.ApiDetector$ApiVisitor extends lombok.ast.ForwardingAstVisitor {
private com.android.tools.lint.detector.api.JavaContext mContext
private java.util.Map mClassToImport
private java.util.List mStarImports
private java.util.Set mLocalVars
private lombok.ast.Node mCurrentMethod
private java.util.Set mFields
private java.util.List mStaticStarImports
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 boolean visitImportDeclaration (lombok.ast.ImportDeclaration)
String pkgName
String fqcn
int strip
String owner
String name
String fqcn
String fieldName
int index
String className
String fqcn
int last
lombok.ast.ImportDeclaration node
public boolean visitSelect (lombok.ast.Select)
lombok.ast.VariableReference reference
lombok.ast.Expression operand
lombok.ast.Select current
String owner
String owner
String packagePrefix
java.util.Iterator i$
String base
String fqcn
int firstDot
String cls
String owner
String owner
String owner
String packagePrefix
java.util.Iterator i$
String className
String fqcn
lombok.ast.Expression operand
lombok.ast.Select node
boolean result
String name
boolean isField
public boolean visitVariableReference (lombok.ast.VariableReference)
lombok.ast.BinaryExpression expression
lombok.ast.Node parent
Class parentClass
String owner
java.util.Iterator i$
lombok.ast.VariableReference node
boolean result
String name
public boolean visitVariableDefinitionEntry (lombok.ast.VariableDefinitionEntry)
lombok.ast.VariableDefinitionEntry node
public boolean visitMethodDeclaration (lombok.ast.MethodDeclaration)
lombok.ast.MethodDeclaration node
public boolean visitConstructorDeclaration (lombok.ast.ConstructorDeclaration)
lombok.ast.ConstructorDeclaration node
public void endVisit (lombok.ast.Node)
lombok.ast.Node node
private boolean checkField (lombok.ast.Node, java.lang.String, java.lang.String)
lombok.ast.ImportDeclaration d
int startOffset
com.android.tools.lint.detector.api.Position start
int startColumn
int startLine
int fqcnLength
com.android.tools.lint.detector.api.Position end
com.android.tools.lint.detector.api.Location location
String fqcn
String message
com.android.tools.lint.client.api.LintDriver driver
java.util.List list
int minSdk
lombok.ast.Node node
String name
String owner
int api
public int getLocalMinSdk (lombok.ast.Node)
lombok.ast.VariableDefinition declaration
int targetApi
lombok.ast.MethodDeclaration declaration
int targetApi
lombok.ast.ConstructorDeclaration declaration
int targetApi
lombok.ast.ClassDeclaration declaration
int targetApi
Class type
lombok.ast.Node scope
private int getLocalMinSdk (lombok.ast.Modifiers)
lombok.ast.IntegralLiteral literal
String value
lombok.ast.Select select
String codename
lombok.ast.VariableReference reference
String codename
lombok.ast.AnnotationElement element
lombok.ast.AnnotationValue valueNode
java.util.Iterator valueIterator
lombok.ast.StrictListAccessor values
lombok.ast.Annotation annotation
lombok.ast.TypeReference t
String typeName
lombok.ast.Modifiers modifiers
lombok.ast.StrictListAccessor annotations
java.util.Iterator iterator
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/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$JavaScanner {
private static final boolean CHECK_DECLARATIONS
private static final boolean AOSP_BUILD
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
private static final String TARGET_API_VMSIG
private static final String SWITCH_TABLE_PREFIX
private static final String ORDINAL_METHOD
protected com.android.tools.lint.checks.ApiLookup mApiDatabase
private int mMinApi
private java.util.Map mPendingFields
static final boolean $assertionsDisabled
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 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)
String prefix
String prefix
String prefix
int index
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
String owner
String name
String prefix
int api
int minSdk
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
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
int api
int minSdk
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
com.android.resources.ResourceFolderType folderType
protected int getMinSdk (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)
com.android.tools.lint.client.api.LintDriver driver
String owner
String signature
String signature
java.util.Iterator i$
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
String fqcn
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
Object m
java.util.Iterator i$
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
java.util.Iterator i$
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)
org.objectweb.asm.tree.IntInsnNode iin
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
java.util.Iterator i$
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 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.Iterator i$
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.Iterator i$
java.util.List annotations
private static int getLocalMinSdk (org.w3c.dom.Element)
NumberFormatException nufe
String code
int api
String targetApi
org.w3c.dom.Node parent
org.w3c.dom.Element element
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 void afterCheckProject (com.android.tools.lint.detector.api.Context)
String message
com.android.tools.lint.detector.api.Location location
com.android.utils.Pair pair
java.util.Iterator i$
java.util.List list
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public java.util.List getApplicableNodeTypes ()
java.util.List types
public boolean isBenignConstantUsage (lombok.ast.Node, java.lang.String, java.lang.String)
lombok.ast.Case caseStatement
lombok.ast.Expression condition
lombok.ast.If ifStatement
lombok.ast.Expression condition
lombok.ast.InlineIfExpression ifStatement
lombok.ast.Expression condition
Class nodeType
lombok.ast.Node node
String name
String owner
lombok.ast.Node curr
private static boolean isAncestor (lombok.ast.Node, lombok.ast.Node)
lombok.ast.Node ancestor
lombok.ast.Node node
private static int codeNameToApi (java.lang.String)
String code
int api
String codename
static java.util.Map access$100 (com.android.tools.lint.checks.ApiDetector)
com.android.tools.lint.checks.ApiDetector x0
static java.util.Map access$102 (com.android.tools.lint.checks.ApiDetector, java.util.Map)
com.android.tools.lint.checks.ApiDetector x0
java.util.Map x1
static int access$200 (java.lang.String)
String x0
static void ()
}
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_FORCE_REGENERATE_BINARY
private static final boolean DEBUG_SEARCH
private static final boolean WRITE_STATS
private static final int BYTES_PER_ENTRY
private final com.android.tools.lint.client.api.LintClient mClient
private final java.io.File mXmlFile
private final java.io.File mBinaryFile
private final com.android.tools.lint.checks.Api mInfo
private byte[] mData
private int[] mIndices
private int mClassCount
private String[] mJavaPackages
private static java.lang.ref.WeakReference sInstance
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 getCacheFileName (java.lang.String)
String xmlFileName
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
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 ()
int offset
int count
byte[] bytes
int i
int i
java.nio.MappedByteBuffer buffer
byte[] expectedHeader
int methodCount
int javaPackageCount
int count
int[] offsets
int size
byte[] b
Throwable e
long start
private static void writeDatabase (java.io.File, com.android.tools.lint.checks.Api) throws java.io.IOException
String pkg
Integer since
String member
java.util.Iterator i$
Integer since
String member
java.util.Iterator i$
String className
com.android.tools.lint.checks.ApiClass apiClass
java.util.Set allMethods
java.util.Set allFields
java.util.List members
java.util.Map$Entry entry
java.util.Iterator i$
byte[] bytes
String pkg
java.util.Iterator i$
int i
int n
int i
int n
com.android.tools.lint.checks.ApiClass apiClass
int since
String clz
java.util.Iterator i$
Integer since
byte b
int i
Integer since
byte[] signature
int api
String member
java.util.Iterator i$
String clz
com.android.tools.lint.checks.ApiClass apiClass
java.util.List members
int classNumber
int n
java.io.File file
com.android.tools.lint.checks.Api info
java.util.Map classMap
java.util.List classes
java.util.Map memberMap
int memberCount
java.util.Set javaPackageSet
java.util.List javaPackages
int javaPackageCount
int entryCount
int capacity
java.nio.ByteBuffer buffer
int classOffsetTable
int methodOffsetTable
int nextEntry
int nextOffset
int size
byte[] b
java.io.FileOutputStream output
private java.lang.String dumpEntry (int)
int offset
private static int compare (byte[], int, byte, java.lang.String, int)
byte b
char c
byte cb
int delta
byte[] data
int offset
byte terminator
String s
int max
int i
int j
public boolean isRelevantClass (java.lang.String)
String name
public int getClassVersion (java.lang.String)
int offset
int classNumber
int since
com.android.tools.lint.checks.ApiClass clz
String className
public int getCallVersion (java.lang.String, java.lang.String, java.lang.String)
int classNumber
String signature
int since
com.android.tools.lint.checks.ApiClass clz
String owner
String name
String desc
public int getFieldVersion (java.lang.String, java.lang.String)
int classNumber
int since
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)
int middle
int offset
int compare
String owner
int packageLength
int low
int high
private static int comparePackage (java.lang.String, java.lang.String, int)
char c1
char c2
int i
String s1
String s2
int max
private int findClass (java.lang.String)
int middle
int offset
int compare
String owner
int low
int high
int classNameLength
private int findMember (int, java.lang.String, java.lang.String)
int argsEnd
int nameLength
int nameLength
int middle
int offset
int entryClass
int compare
int classNumber
String name
String desc
int low
int high
static void dispose ()
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 final java.util.Map mClasses
private com.android.tools.lint.checks.ApiClass mCurrentClass
void ()
java.util.Map getClasses ()
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
String name
int since
String name
int since
String name
int since
String name
int since
String name
int since
String uri
String localName
String qName
org.xml.sax.Attributes attributes
private com.android.tools.lint.checks.ApiClass addClass (java.lang.String, int)
String name
int apiLevel
com.android.tools.lint.checks.ApiClass theClass
private int getSince (org.xml.sax.Attributes)
org.xml.sax.Attributes attributes
int since
String sinceAttr
}
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.Iterator i$
java.util.Collection pairs
java.io.File file
java.util.Iterator i$
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.Iterator i$
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
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 String LINT_FOLDER
private static final String MF_LINT_REGISTRY
private static final java.util.List sIssues
private static java.util.Set sAdtFixes
static final boolean $assertionsDisabled
public void ()
public java.util.List getIssues ()
private static void addCustomIssues (java.util.List)
java.io.File jarFile
java.io.File[] arr$
int len$
int i$
java.io.File[] list
java.io.File lint
com.android.prefs.AndroidLocation$AndroidLocationException e
java.io.File jarFile
String path
String[] arr$
int len$
int i$
String[] paths
java.util.List issues
java.util.Set files
String lintClassPath
private static void addIssuesFromJar (java.io.File, java.util.List)
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
Class registryClass
com.android.tools.lint.client.api.IssueRegistry registry
Throwable e
java.net.URL url
java.net.URLClassLoader loader
java.net.MalformedURLException e
String className
java.util.jar.Manifest manifest
java.util.jar.Attributes attrs
Object object
java.io.IOException e
java.io.IOException e
java.io.IOException e
java.io.IOException e
java.io.File jarFile
java.util.List issues
java.util.jar.JarFile jarfile
private static void log (java.lang.Throwable)
Throwable e
public boolean hasAutoFix (java.lang.String, com.android.tools.lint.detector.api.Issue)
String tool
com.android.tools.lint.detector.api.Issue issue
private static java.util.Set getIssuesWithFixes ()
public static void reset ()
static void ()
String id
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
java.util.Set ids
int initialCapacity
java.util.List issues
}
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 ANDROID_OK_RESOURCE
private static final String ANDROID_CANCEL_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
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 static boolean isEnglishResource (com.android.tools.lint.detector.api.XmlContext)
String qualifier
String[] arr$
int len$
int i$
String[] qualifiers
com.android.tools.lint.detector.api.XmlContext context
String folder
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
java.util.Iterator i$
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[] arr$
int len$
int i$
java.io.File res
java.io.File[] resFolders
String fileName
boolean isIcsLayout
org.w3c.dom.Element button
java.util.Iterator i$
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.Iterator i$
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.Iterator i$
java.util.List views
java.util.List labels
private java.lang.String getLabel (java.lang.String)
String key
String label
private boolean isWrongCancelPosition (org.w3c.dom.Element)
org.w3c.dom.Element element
private 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
java.util.Iterator i$
org.w3c.dom.Element parent
String targetId
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/CleanupDetector$CleanupTracker.classCleanupDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.CleanupDetector$CleanupTracker extends org.objectweb.asm.tree.analysis.Interpreter {
private static final org.objectweb.asm.tree.analysis.Value INSTANCE
private static final org.objectweb.asm.tree.analysis.Value RECYCLED
private static final org.objectweb.asm.tree.analysis.Value UNKNOWN
private final com.android.tools.lint.detector.api.ClassContext mContext
private final org.objectweb.asm.tree.MethodNode mMethod
private final org.objectweb.asm.tree.MethodInsnNode mObtainNode
private boolean mIsCleanedUp
private boolean mEscapes
private final String mRecycleOwner
private com.android.tools.lint.checks.CleanupDetector$ResourceAnalyzer mAnalyzer
static final boolean $assertionsDisabled
public void (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode, java.lang.String)
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode obtainNode
String recycleOwner
void setAnalyzer (com.android.tools.lint.checks.CleanupDetector$ResourceAnalyzer)
com.android.tools.lint.checks.CleanupDetector$ResourceAnalyzer analyzer
public boolean isCleanedUp ()
public boolean isEscaped ()
public org.objectweb.asm.tree.analysis.Value newOperation (org.objectweb.asm.tree.AbstractInsnNode) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode node
public org.objectweb.asm.tree.analysis.Value newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type type
public org.objectweb.asm.tree.analysis.Value copyOperation (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.analysis.Value) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.analysis.Value value
public org.objectweb.asm.tree.analysis.Value binaryOperation (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.analysis.Value, org.objectweb.asm.tree.analysis.Value) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.analysis.Value value1
org.objectweb.asm.tree.analysis.Value value2
public org.objectweb.asm.tree.analysis.Value naryOperation (org.objectweb.asm.tree.AbstractInsnNode, java.util.List) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.analysis.Value local
int i
int localSize
int stackSize
org.objectweb.asm.tree.analysis.Frame frame
com.android.tools.lint.detector.api.Location location
String message
Object v
int i
int n
int start
org.objectweb.asm.tree.AbstractInsnNode node
java.util.List values
org.objectweb.asm.tree.MethodInsnNode call
public org.objectweb.asm.tree.analysis.Value unaryOperation (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.analysis.Value) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.analysis.Value value
public org.objectweb.asm.tree.analysis.Value ternaryOperation (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.analysis.Value, org.objectweb.asm.tree.analysis.Value, org.objectweb.asm.tree.analysis.Value) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.analysis.Value value1
org.objectweb.asm.tree.analysis.Value value2
org.objectweb.asm.tree.analysis.Value value3
public void returnOperation (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.analysis.Value, org.objectweb.asm.tree.analysis.Value) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.analysis.Value value1
org.objectweb.asm.tree.analysis.Value value2
public org.objectweb.asm.tree.analysis.Value merge (org.objectweb.asm.tree.analysis.Value, org.objectweb.asm.tree.analysis.Value)
org.objectweb.asm.tree.analysis.Value value1
org.objectweb.asm.tree.analysis.Value value2
static void ()
}
com/android/tools/lint/checks/CleanupDetector$ResourceAnalyzer.classCleanupDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.CleanupDetector$ResourceAnalyzer extends org.objectweb.asm.tree.analysis.Analyzer {
private org.objectweb.asm.tree.analysis.Frame mCurrent
private org.objectweb.asm.tree.analysis.Frame mFrame1
private org.objectweb.asm.tree.analysis.Frame mFrame2
public void (org.objectweb.asm.tree.analysis.Interpreter)
org.objectweb.asm.tree.analysis.Interpreter interpreter
org.objectweb.asm.tree.analysis.Frame getCurrentFrame ()
protected void init (java.lang.String, org.objectweb.asm.tree.MethodNode) throws org.objectweb.asm.tree.analysis.AnalyzerException
String owner
org.objectweb.asm.tree.MethodNode m
protected org.objectweb.asm.tree.analysis.Frame newFrame (int, int)
int nLocals
int nStack
org.objectweb.asm.tree.analysis.Frame newFrame
}
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$ClassScanner {
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
private static final String RECYCLE
private static final String OBTAIN
private static final String SHOW
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 COMMIT_ALLOWING_LOSS
private static final String VELOCITY_TRACKER_CLS
private static final String TYPED_ARRAY_CLS
private static final String CONTEXT_CLS
private static final String MOTION_EVENT_CLS
private static final String RESOURCES_CLS
private static final String PARCEL_CLS
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
private static final String DIALOG_FRAGMENT_SHOW_DESC
private static final String DIALOG_FRAGMENT_SHOW_V4_DESC
private static final String TYPED_ARRAY_SIG
private boolean mObtainsTypedArray
private boolean mRecyclesTypedArray
private boolean mObtainsTracker
private boolean mRecyclesTracker
private boolean mObtainsMotionEvent
private boolean mRecyclesMotionEvent
private boolean mObtainsParcel
private boolean mRecyclesParcel
private boolean mObtainsTransaction
private boolean mCommitsTransaction
public void ()
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
int phase
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)
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 name
String owner
String desc
int phase
private static java.lang.String getErrorMessage (java.lang.String)
String owner
String className
private static boolean checkMethodFlow (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.MethodInsnNode, java.lang.String)
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Issue issue
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 call
String recycleOwner
com.android.tools.lint.checks.CleanupDetector$CleanupTracker interpreter
com.android.tools.lint.checks.CleanupDetector$ResourceAnalyzer analyzer
static boolean hasReturnType (java.lang.String, java.lang.String)
String owner
String desc
int descLen
int ownerLen
int typeBegin
static void ()
}
com/android/tools/lint/checks/ColorUsageDetector.classColorUsageDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ColorUsageDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 ()
public boolean appliesToResourceRefs ()
public void visitResourceReference (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.Node, java.lang.String, java.lang.String, boolean)
lombok.ast.MethodInvocation call
String methodName
lombok.ast.Node current
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.Node select
String type
String name
boolean isFramework
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 lombok.ast.ForwardingAstVisitor {
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 boolean visitComment (lombok.ast.Comment)
lombok.ast.Comment node
String contents
}
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$JavaScanner {
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 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 ()
public java.util.List getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (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.Context, 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.Context context
String source
int offset
int start
int end
char prev
static void access$000 (com.android.tools.lint.detector.api.Context, java.lang.String, int, int, int)
com.android.tools.lint.detector.api.Context x0
String x1
int x2
int x3
int x4
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/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)
Class cls
java.lang.reflect.Field field
String[] OPCODES
Throwable t
int opcode
boolean printed
com.android.tools.lint.checks.ControlFlowGraph$Node successor
java.util.Iterator i$
com.android.tools.lint.checks.ControlFlowGraph$Node exception
java.util.Iterator i$
boolean includeAdjacent
StringBuilder sb
}
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 static java.util.Map sIds
private static int sNextId
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
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
static java.lang.String access$000 (java.lang.Object)
Object x0
static void ()
}
com/android/tools/lint/checks/CutPasteDetector$ReachableVisitor.classCutPasteDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.CutPasteDetector$ReachableVisitor extends lombok.ast.ForwardingAstVisitor {
private final lombok.ast.MethodInvocation mFrom
private final lombok.ast.MethodInvocation mTo
private boolean mReachable
private boolean mSeenEnd
public void (lombok.ast.MethodInvocation, lombok.ast.MethodInvocation)
lombok.ast.MethodInvocation from
lombok.ast.MethodInvocation to
boolean isReachable ()
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
lombok.ast.MethodInvocation node
public boolean visitIf (lombok.ast.If)
boolean wasReachable
boolean wasReachable
lombok.ast.If node
lombok.ast.Expression condition
lombok.ast.Statement body
lombok.ast.Statement elseBody
public boolean visitNode (lombok.ast.Node)
lombok.ast.Node node
}
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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private lombok.ast.Node mLastMethod
private java.util.Map mIds
private java.util.Map mLhs
private java.util.Map mCallOperands
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 java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
lombok.ast.MethodInvocation earlierCall
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
lombok.ast.Select type
lombok.ast.Select select
String id
lombok.ast.Expression operand
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation call
String lhs
lombok.ast.Node method
String callOperand
lombok.ast.Expression first
private static java.lang.String getLhs (lombok.ast.MethodInvocation)
lombok.ast.VariableDefinitionEntry vde
lombok.ast.ArrayAccess aa
lombok.ast.BinaryExpression be
lombok.ast.Expression left
lombok.ast.MethodInvocation call
lombok.ast.Node parent
private static boolean isReachableFrom (lombok.ast.Node, lombok.ast.MethodInvocation, lombok.ast.MethodInvocation)
lombok.ast.Node method
lombok.ast.MethodInvocation from
lombok.ast.MethodInvocation to
com.android.tools.lint.checks.CutPasteDetector$ReachableVisitor visitor
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
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String fix
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/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)
String name
org.w3c.dom.Element element
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String uri
private static boolean isCustomView (org.w3c.dom.Element)
org.w3c.dom.Element element
String tag
static void ()
}
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/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.Iterator i$
java.util.Set ids
java.io.File file
java.util.Iterator i$
String name
java.io.File file
java.util.Iterator i$
com.android.tools.lint.checks.DuplicateIdDetector$Layout to
java.util.Iterator i$
java.io.File folder
java.io.File candidate
com.android.tools.lint.checks.DuplicateIdDetector$Layout candidateLayout
java.util.Collection layouts
String name
java.util.Iterator i$
com.android.tools.lint.checks.DuplicateIdDetector$Layout from
java.util.List includedLayouts
java.io.File file
java.util.Iterator i$
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
String[] fromQualifiers
String[] toQualifiers
private boolean isPortrait (java.lang.String[])
String qualifier
String[] arr$
int len$
int i$
String[] qualifiers
public void check ()
java.util.Deque stack
com.android.tools.lint.checks.DuplicateIdDetector$Layout layout
java.util.Iterator i$
private java.util.Set getIds (com.android.tools.lint.checks.DuplicateIdDetector$Layout, java.util.Deque, java.util.Set)
java.util.Set siblingIds
java.util.Iterator i$
com.android.tools.lint.checks.DuplicateIdDetector$Occurrence occurrence
java.util.Iterator i$
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
java.util.Iterator i$
String layoutName
java.util.Set includedIds
com.android.tools.lint.checks.DuplicateIdDetector$Layout included
java.util.Iterator i$
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
java.util.Iterator i$
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/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$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)
Object 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
java.util.Iterator i$
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
java.util.Iterator i$
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.Iterator i$
java.util.Collection occurrences
com.google.common.collect.Multimap map
java.util.Iterator i$
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.Iterator i$
java.util.Collection occurrences
com.google.common.collect.Multimap map
java.util.Iterator i$
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/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
private static final String PRODUCT
private java.util.Map mTypeMap
private java.util.Map mLocations
private java.io.File mParent
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)
com.android.tools.lint.detector.api.Location secondary
com.android.utils.Pair pair
java.util.Iterator i$
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
java.util.Set names
String name
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/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/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
java.util.Iterator i$
com.android.tools.lint.detector.api.Location location
String fieldName
String name
com.android.tools.lint.checks.FieldGetterDetector$Entry entry
java.util.Iterator i$
String getter
java.util.Iterator i$
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
java.util.Iterator i$
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/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$ClassScanner {
private static final String FRAGMENT_NAME_SUFFIX
public static final com.android.tools.lint.detector.api.Issue ISSUE
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)
org.objectweb.asm.tree.MethodNode method
Object m
java.util.Iterator i$
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
com.android.tools.lint.client.api.LintDriver driver
boolean hasDefaultConstructor
java.util.List methodList
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)
NumberFormatException nufe
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
java.util.Iterator i$
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
int declaredRowCount
int declaredColumnCount
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$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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.Location location
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
static void ()
}
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/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 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 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
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)
Object x0
Object x1
}
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)
Object x0
Object x1
}
com/android/tools/lint/checks/IconDetector$MenuFinder.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$MenuFinder extends lombok.ast.ForwardingAstVisitor {
final com.android.tools.lint.checks.IconDetector this$0
private void (com.android.tools.lint.checks.IconDetector)
public boolean visitSelect (lombok.ast.Select)
java.util.Collection icons
String name
String type
lombok.ast.VariableReference reference
lombok.ast.Select select
lombok.ast.Select node
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$NotificationFinder.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$NotificationFinder extends lombok.ast.ForwardingAstVisitor {
final com.android.tools.lint.checks.IconDetector this$0
private void (com.android.tools.lint.checks.IconDetector)
public boolean visitMethodDeclaration (lombok.ast.MethodDeclaration)
lombok.ast.MethodDeclaration node
public boolean visitConstructorInvocation (lombok.ast.ConstructorInvocation)
String name
lombok.ast.Node method
lombok.ast.StrictListAccessor args
String clz
com.android.tools.lint.checks.IconDetector$SetIconFinder finder
lombok.ast.Node method
boolean isBuilder
lombok.ast.ConstructorInvocation node
lombok.ast.TypeReference reference
lombok.ast.StrictListAccessor parts
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/IconDetector$SetIconFinder.classIconDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.IconDetector$SetIconFinder extends lombok.ast.ForwardingAstVisitor {
final com.android.tools.lint.checks.IconDetector this$0
private void (com.android.tools.lint.checks.IconDetector)
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
lombok.ast.StrictListAccessor arguments
lombok.ast.MethodInvocation node
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.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$JavaScanner {
private static final boolean INCLUDE_LDPI
private static final java.util.regex.Pattern DENSITY_PATTERN
private static final String[] REQUIRED_DENSITIES
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_COMPAT_CLASS
private static final String BUILDER_CLASS
private static final String SET_SMALL_ICON
private static final String ON_CREATE_OPTIONS_MENU
static final boolean $assertionsDisabled
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 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.io.File[] arr$
int len$
int i$
java.util.Set names
String name
java.io.File f
java.io.File[] arr$
int len$
int i$
java.util.Set names
java.io.File[] files
String folderName
java.io.File folder
java.io.File[] arr$
int len$
int i$
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
java.util.Iterator i$
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.Iterator i$
java.util.Set set
java.awt.Dimension dimension
java.io.File file
java.util.Iterator i$
java.util.Set set
java.util.Iterator i$
java.util.HashSet noSizeSet
java.io.IOException e
byte[] bits
java.io.File file
java.util.Iterator i$
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.Iterator i$
java.util.ArrayList sorted
java.util.Set same
java.util.Iterator i$
com.android.tools.lint.detector.api.Location linkedLocation
java.io.File file
java.util.Iterator i$
java.io.File file
java.util.Iterator i$
StringBuilder sb
String message
java.io.File file
java.util.Iterator i$
StringBuilder sb
String message
com.android.tools.lint.detector.api.Location location
boolean sameNames
String lastName
java.util.List sameFiles
java.util.Iterator i$
java.util.Map partitions
java.util.List sameSets
java.util.List lists
java.util.Map equal
java.util.List files
java.util.Set set
java.util.Iterator i$
java.util.Map sameDimensions
java.util.List noSize
java.util.Collection sets
java.util.Map fileContents
java.util.Set candidates
java.util.Iterator i$
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
java.util.Iterator i$
String qualifier
String[] arr$
int len$
int i$
String parentName
int index
java.util.Map folderMap
java.util.List list
java.io.File file
java.util.Iterator i$
String name
java.util.List files
java.util.Map$Entry entry
java.util.Iterator i$
java.awt.Dimension size
java.awt.Dimension dip
float factor
java.io.File file
java.util.Iterator i$
java.awt.Dimension size
java.util.Iterator i$
java.util.Map$Entry entry2
java.util.Iterator i$
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
java.util.Iterator i$
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.Iterator i$
java.util.Map configurations
String name
java.util.Iterator i$
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 static void checkDensities (com.android.tools.lint.detector.api.Context, java.io.File, java.util.Map, java.util.Map)
java.io.File f
java.util.Iterator i$
String density
String[] arr$
int len$
int i$
java.util.List missing
java.util.Map$Entry entry
java.util.Iterator i$
String name
java.util.Iterator i$
java.util.Set overlap
java.io.File folder
String folderName
java.util.Map$Entry entry
java.util.Iterator i$
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.Iterator i$
java.util.Set names
java.util.Map$Entry entry
java.util.Iterator i$
String name
java.util.Iterator i$
String n
java.util.Iterator i$
java.io.File folder
java.util.Map$Entry entry
java.util.Iterator i$
String base
java.util.Iterator i$
boolean isXml
java.io.File f
java.util.Iterator i$
java.util.List lists
com.android.tools.lint.detector.api.Location location
java.util.List fileNames
boolean seenXml
boolean seenNonXml
String name
java.util.Iterator i$
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.Iterator i$
java.util.Map$Entry e
java.util.Iterator i$
java.util.List defined
String name
java.util.List delta
String foundIn
java.io.File file
java.util.Set names
java.util.Map$Entry entry
java.util.Iterator i$
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 static java.util.Set nameDifferences (java.util.Set, java.util.Set)
String s
java.util.Iterator i$
String s
java.util.Iterator i$
String s
java.util.Iterator i$
String s
java.util.Iterator i$
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
java.util.Iterator i$
String s
java.util.Iterator i$
String s
java.util.Iterator i$
String s
java.util.Iterator i$
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
java.io.File[] arr$
int len$
int i$
String name
java.io.File file
java.io.File[] arr$
int len$
int i$
String path
java.io.File file
java.io.File[] arr$
int len$
int i$
java.awt.Dimension size
String baseName
boolean isActionBarIcon
String name
java.io.File file
java.io.File[] arr$
int len$
int i$
String name
java.io.File file
java.io.File[] arr$
int len$
int i$
java.awt.Dimension size
String fileName
java.io.File file
java.io.File[] arr$
int len$
int i$
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
java.io.IOException e
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
java.io.IOException e
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
java.io.IOException e
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.Iterator i$
java.util.Set baseNames
java.util.Set names
java.util.Map$Entry entry
java.util.Iterator i$
java.util.List files
String base
String name
java.util.Iterator i$
java.io.File dir
java.util.Set names
java.util.Map$Entry entry
java.util.Iterator i$
java.util.List files
com.android.tools.lint.detector.api.Location location
String message
String name
java.util.Iterator i$
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.Iterator i$
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
java.io.File[] arr$
int len$
int i$
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
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 lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public java.util.List getApplicableNodeTypes ()
java.util.List types
private boolean handleSelect (lombok.ast.Select)
String name
lombok.ast.Select select
static boolean access$200 (com.android.tools.lint.checks.IconDetector, lombok.ast.Select)
com.android.tools.lint.checks.IconDetector x0
lombok.ast.Select 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/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
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)
org.w3c.dom.Attr sizeNode
Boolean inside
org.w3c.dom.Element child
java.util.Iterator i$
org.w3c.dom.Element child
String width
String message
boolean maxWidthSet
java.util.Iterator iterator
String message
String tagName
org.w3c.dom.Element child
java.util.Iterator i$
boolean allChildrenAreLayouts
com.android.tools.lint.client.api.SdkInfo sdkInfo
String dimension
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
java.util.Iterator i$
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/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/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
java.util.Iterator i$
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 type
java.io.File jarFile
String referencedIn
com.android.tools.lint.detector.api.Location location
Object pkg
String message
com.android.tools.lint.checks.InvalidPackageDetector$Candidate candidate
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
private static java.lang.Object 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/JavaPerformanceDetector$AssignmentTracker.classJavaPerformanceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.JavaPerformanceDetector$AssignmentTracker extends lombok.ast.ForwardingAstVisitor {
private final java.util.Collection mVariables
public void (java.util.Collection)
java.util.Collection variables
public boolean visitBinaryExpression (lombok.ast.BinaryExpression)
String variable
lombok.ast.Expression left
String variable
lombok.ast.BinaryExpression node
lombok.ast.BinaryOperator operator
}
com/android/tools/lint/checks/JavaPerformanceDetector$PerformanceVisitor.classJavaPerformanceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.JavaPerformanceDetector$PerformanceVisitor extends lombok.ast.ForwardingAstVisitor {
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 boolean visitMethodDeclaration (lombok.ast.MethodDeclaration)
lombok.ast.MethodDeclaration node
public boolean visitConstructorInvocation (lombok.ast.ConstructorInvocation)
lombok.ast.TypeReference reference
lombok.ast.TypeReference reference
String argument
lombok.ast.Node method
lombok.ast.ConstructorInvocation node
String typeName
private void reportAllocation (lombok.ast.Node)
lombok.ast.Node node
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
String operand
String operand
String methodName
lombok.ast.MethodInvocation node
private static boolean isLazilyInitialized (lombok.ast.Node)
com.google.common.collect.Sets$SetView intersection
java.util.List references
lombok.ast.If ifNode
java.util.List assignments
com.android.tools.lint.checks.JavaPerformanceDetector$AssignmentTracker visitor
lombok.ast.Node node
lombok.ast.Node curr
private static void addReferencedVariables (java.util.Collection, lombok.ast.Expression)
lombok.ast.BinaryExpression binary
lombok.ast.UnaryExpression unary
lombok.ast.VariableReference reference
lombok.ast.Select select
java.util.Collection variables
lombok.ast.Expression expression
private static boolean isBlockedAllocationMethod (lombok.ast.MethodDeclaration)
lombok.ast.MethodDeclaration node
private static boolean isOnDrawMethod (lombok.ast.MethodDeclaration)
lombok.ast.VariableDefinition arg0
lombok.ast.TypeReferencePart type
String typeName
lombok.ast.StrictListAccessor parameters
lombok.ast.MethodDeclaration node
private static boolean isOnLayoutMethod (lombok.ast.MethodDeclaration)
int i
java.util.Iterator iterator
lombok.ast.TypeReferencePart type
lombok.ast.StrictListAccessor parameters
lombok.ast.MethodDeclaration node
private static boolean isOnMeasureMethod (lombok.ast.MethodDeclaration)
lombok.ast.VariableDefinition arg0
lombok.ast.VariableDefinition arg1
lombok.ast.TypeReferencePart type1
lombok.ast.TypeReferencePart type2
lombok.ast.StrictListAccessor parameters
lombok.ast.MethodDeclaration node
private static boolean isLayoutMethod (lombok.ast.MethodDeclaration)
lombok.ast.VariableDefinition next
lombok.ast.TypeReferencePart type
int i
java.util.Iterator iterator
lombok.ast.StrictListAccessor parameters
lombok.ast.MethodDeclaration node
private void checkHashMap (lombok.ast.ConstructorInvocation, lombok.ast.TypeReference)
String valueType
lombok.ast.TypeReference first
lombok.ast.ConstructorInvocation node
lombok.ast.TypeReference reference
lombok.ast.StrictListAccessor types
private void checkSparseArray (lombok.ast.ConstructorInvocation, lombok.ast.TypeReference)
lombok.ast.TypeReference first
String valueType
lombok.ast.ConstructorInvocation node
lombok.ast.TypeReference reference
lombok.ast.StrictListAccessor types
}
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$JavaScanner {
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 INT
private static final String INTEGER
private static final String BOOL
private static final String BOOLEAN
private static final String LONG
private static final String CHARACTER
private static final String DOUBLE
private static final String FLOAT
private static final String HASH_MAP
private static final String SPARSE_ARRAY
private static final String CANVAS
private static final String LAYOUT
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 ()
public java.util.List getApplicableNodeTypes ()
java.util.List types
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/JavaScriptInterfaceDetector$1.classJavaScriptInterfaceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.JavaScriptInterfaceDetector$1 extends org.objectweb.asm.tree.analysis.SourceInterpreter {
final com.android.tools.lint.checks.JavaScriptInterfaceDetector this$0
void (com.android.tools.lint.checks.JavaScriptInterfaceDetector)
public org.objectweb.asm.tree.analysis.SourceValue newOperation (org.objectweb.asm.tree.AbstractInsnNode)
String desc
org.objectweb.asm.tree.AbstractInsnNode insn
public org.objectweb.asm.tree.analysis.SourceValue newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type type
public org.objectweb.asm.tree.analysis.SourceValue copyOperation (org.objectweb.asm.tree.AbstractInsnNode, org.objectweb.asm.tree.analysis.SourceValue)
org.objectweb.asm.tree.AbstractInsnNode insn
org.objectweb.asm.tree.analysis.SourceValue value
public volatile org.objectweb.asm.tree.analysis.Value newOperation (org.objectweb.asm.tree.AbstractInsnNode) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode x0
public volatile org.objectweb.asm.tree.analysis.Value newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type x0
}
com/android/tools/lint/checks/JavaScriptInterfaceDetector$TypeValue.classJavaScriptInterfaceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.JavaScriptInterfaceDetector$TypeValue extends org.objectweb.asm.tree.analysis.SourceValue {
private final String mFqcn
void (int, java.lang.String)
int size
String fqcn
java.lang.String getFqcn ()
public int getSize ()
}
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$ClassScanner {
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.List getApplicableCallOwners ()
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 owner
com.android.tools.lint.detector.api.Location location
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 type
org.objectweb.asm.tree.ClassNode c
private boolean containsJavaScriptAnnotation (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.AnnotationNode a
Object oa
java.util.Iterator i$
org.objectweb.asm.tree.MethodNode m
java.util.List annotations
Object om
java.util.Iterator i$
org.objectweb.asm.tree.ClassNode classNode
java.util.List methodList
private java.lang.String findFirstArgType (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.analysis.Frame[] frames
org.objectweb.asm.tree.InsnList instructions
org.objectweb.asm.tree.analysis.Frame frame
org.objectweb.asm.tree.analysis.SourceValue stackValue
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 call
org.objectweb.asm.tree.analysis.Analyzer analyzer
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
java.util.Iterator i$
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/LayoutConsistencyDetector$1.classLayoutConsistencyDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.LayoutConsistencyDetector$1 extends java.lang.Object implements java.util.Comparator {
final com.android.tools.lint.checks.LayoutConsistencyDetector this$0
void (com.android.tools.lint.checks.LayoutConsistencyDetector)
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)
Object x0
Object x1
}
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$JavaScanner {
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 com.android.tools.lint.detector.api.Speed getSpeed ()
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 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
java.util.Iterator i$
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.util.Iterator i$
java.io.File file
String folder
java.util.Set ids
java.util.Map$Entry entry
java.util.Iterator i$
String message
String message
java.util.List layouts
java.util.Set missingSet
java.util.List missing
String id
java.util.Iterator i$
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 java.util.Set getInconsistentIds (java.util.Map)
java.util.Set missing
java.util.Set ids
java.util.Map$Entry entry
java.util.Iterator i$
java.util.Map idMap
java.util.Set union
java.util.Set inconsistent
private 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.Iterator i$
java.util.List files
int layoutCount
java.util.Map idMap
private void reportErrors (com.android.tools.lint.detector.api.Context)
String message
java.util.List locations
com.android.tools.lint.detector.api.Location location
String id
java.util.Iterator i$
java.util.Map locationMap
java.util.Map messageMap
java.util.List ids
String layout
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
java.util.List layouts
private 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, lombok.ast.AstVisitor, lombok.ast.Node, java.lang.String, java.lang.String, boolean)
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.Node node
String type
String name
boolean isFramework
static void ()
}
com/android/tools/lint/checks/LocaleDetector$1.classLocaleDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.LocaleDetector$1 extends org.objectweb.asm.tree.analysis.SourceInterpreter {
final com.android.tools.lint.checks.LocaleDetector this$0
void (com.android.tools.lint.checks.LocaleDetector)
public org.objectweb.asm.tree.analysis.SourceValue newOperation (org.objectweb.asm.tree.AbstractInsnNode)
Object cst
org.objectweb.asm.tree.AbstractInsnNode insn
public volatile org.objectweb.asm.tree.analysis.Value newOperation (org.objectweb.asm.tree.AbstractInsnNode) throws org.objectweb.asm.tree.analysis.AnalyzerException
org.objectweb.asm.tree.AbstractInsnNode x0
}
com/android/tools/lint/checks/LocaleDetector$StringValue.classLocaleDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.LocaleDetector$StringValue extends org.objectweb.asm.tree.analysis.SourceValue {
private final String mString
void (int, java.lang.String)
int size
String string
java.lang.String getString ()
public int getSize ()
}
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$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue STRING_LOCALE
public static final com.android.tools.lint.detector.api.Issue DATE_FORMAT
static final String DATE_FORMAT_OWNER
private static final String STRING_OWNER
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.List getApplicableCallNames ()
public java.util.List getApplicableCallOwners ()
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)
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Location location
String message
String format
org.objectweb.asm.tree.analysis.Frame[] frames
org.objectweb.asm.tree.InsnList instructions
org.objectweb.asm.tree.analysis.Frame frame
org.objectweb.asm.tree.analysis.SourceValue stackValue
org.objectweb.asm.tree.analysis.AnalyzerException e
org.objectweb.asm.tree.analysis.Analyzer analyzer
com.android.tools.lint.detector.api.Location location
String message
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 desc
String name
static void ()
}
com/android/tools/lint/checks/ManifestOrderDetector.classManifestOrderDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.ManifestOrderDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
private static 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
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
private boolean mSeenApplication
private int mSeenUsesSdk
private final java.util.Set mActivities
private final java.util.Set mUsesFeatures
private java.util.Map mPermissionNames
private String mPackage
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
private void checkDocumentElement (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 codeNode
org.w3c.dom.Attr nameNode
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String message
String name
org.w3c.dom.Attr nameNode
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
NumberFormatException nufe
String target
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
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
private java.lang.String getPackage (org.w3c.dom.Element)
org.w3c.dom.Element element
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
java.util.Iterator i$
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/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$ClassScanner {
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.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 message
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
static void ()
}
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$JavaScanner {
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 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 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
java.util.Iterator i$
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, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
String expression
lombok.ast.Expression argument
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
lombok.ast.StrictListAccessor argumentList
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.Element root
org.w3c.dom.Attr attr
org.w3c.dom.Node classNameNode
String className
String fqcn
String fqcn
int i
int n
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
String tag
com.android.resources.ResourceFolderType folderType
String fqcn
int dotIndex
String signature
com.android.tools.lint.detector.api.Location$Handle handle
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.Iterator i$
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
java.util.Iterator i$
boolean isCustomView
boolean hasDefaultConstructor
java.util.List methodList
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
String curr
static void ()
}
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/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
String value
org.w3c.dom.Node item
int i
int n
String prefix
org.w3c.dom.Attr attribute
java.util.Map$Entry entry
java.util.Iterator i$
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 (com.android.tools.lint.detector.api.XmlContext, 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
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
static void ()
}
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/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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 java.util.List getApplicableMethodNames ()
java.util.List methodNames
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
String number
lombok.ast.Expression destinationAddress
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
lombok.ast.StrictListAccessor args
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.client.api.IDomParser parser
com.android.tools.lint.detector.api.Location$Handle handle
com.android.tools.lint.client.api.IDomParser parser
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.util.Iterator i$
java.io.File from
String parentTag
com.android.utils.Pair include
java.util.Iterator i$
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
java.util.Iterator i$
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/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.Iterator i$
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
java.util.Iterator i$
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
java.util.Iterator i$
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/OverdrawDetector$1.classOverdrawDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.OverdrawDetector$1 extends java.lang.Object {
}
com/android/tools/lint/checks/OverdrawDetector$OverdrawVisitor.classOverdrawDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.OverdrawDetector$OverdrawVisitor extends lombok.ast.ForwardingAstVisitor {
private static final String ACTIVITY
private String mClassFqn
final com.android.tools.lint.checks.OverdrawDetector this$0
private void (com.android.tools.lint.checks.OverdrawDetector)
public boolean visitClassDeclaration (lombok.ast.ClassDeclaration)
lombok.ast.CompilationUnit compilationUnit
lombok.ast.PackageDeclaration packageDeclaration
String packageName
lombok.ast.ClassDeclaration node
String name
public boolean visitSelect (lombok.ast.Select)
String layout
lombok.ast.Select node
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
String name
String resource
lombok.ast.Expression arg
lombok.ast.StrictListAccessor args
lombok.ast.MethodInvocation node
void (com.android.tools.lint.checks.OverdrawDetector, com.android.tools.lint.checks.OverdrawDetector$1)
com.android.tools.lint.checks.OverdrawDetector x0
com.android.tools.lint.checks.OverdrawDetector$1 x1
}
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$JavaScanner {
private static final String R_STYLE_PREFIX
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.Set mActivities
private java.util.List mValidDrawables
private java.util.List mRootAttributes
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 com.android.tools.lint.detector.api.Speed getSpeed ()
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
java.util.Iterator i$
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.Iterator i$
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 getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static java.util.Set access$100 (com.android.tools.lint.checks.OverdrawDetector)
com.android.tools.lint.checks.OverdrawDetector x0
static void access$200 (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$300 (com.android.tools.lint.checks.OverdrawDetector)
com.android.tools.lint.checks.OverdrawDetector x0
static java.util.Map access$302 (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/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
java.util.Iterator i$
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.Iterator i$
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
java.util.Iterator i$
String owner
java.util.Map methodToSuper
java.util.Map$Entry ownerEntry
java.util.Iterator i$
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.Iterator i$
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.Iterator i$
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/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$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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.Location location
Object o
java.util.Iterator i$
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List interfaces
private boolean hasCreatorField (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
String desc
org.objectweb.asm.tree.FieldNode field
java.util.Iterator i$
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List fields
static void ()
}
com/android/tools/lint/checks/PluralsDetector$Quantity.classPluralsDetector.java
package com.android.tools.lint.checks
final com.android.tools.lint.checks.PluralsDetector$Quantity extends java.lang.Enum {
public static final com.android.tools.lint.checks.PluralsDetector$Quantity few
public static final com.android.tools.lint.checks.PluralsDetector$Quantity many
public static final com.android.tools.lint.checks.PluralsDetector$Quantity one
public static final com.android.tools.lint.checks.PluralsDetector$Quantity two
public static final com.android.tools.lint.checks.PluralsDetector$Quantity zero
public static final com.android.tools.lint.checks.PluralsDetector$Quantity other
private static final com.android.tools.lint.checks.PluralsDetector$Quantity[] $VALUES
public static com.android.tools.lint.checks.PluralsDetector$Quantity[] values ()
public static com.android.tools.lint.checks.PluralsDetector$Quantity valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public static com.android.tools.lint.checks.PluralsDetector$Quantity get (java.lang.String)
com.android.tools.lint.checks.PluralsDetector$Quantity quantity
com.android.tools.lint.checks.PluralsDetector$Quantity[] arr$
int len$
int i$
String name
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
private static java.util.Map sPlurals
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 visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
org.w3c.dom.Node noe
org.w3c.dom.Element child
String quantityString
com.android.tools.lint.checks.PluralsDetector$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.utils.Pair locale
String language
java.util.EnumSet defined
org.w3c.dom.NodeList children
java.util.EnumSet relevant
java.util.EnumSet missing
java.util.EnumSet extra
private static java.lang.String formatSet (java.util.EnumSet)
com.android.tools.lint.checks.PluralsDetector$Quantity quantity
java.util.Iterator i$
java.util.EnumSet set
java.util.List list
public java.util.EnumSet getRelevant (java.lang.String)
java.util.EnumSet empty
java.util.EnumSet set1
java.util.EnumSet set10
java.util.EnumSet set11
java.util.EnumSet set12
java.util.EnumSet set13
java.util.EnumSet set14
java.util.EnumSet set15
java.util.EnumSet set16
java.util.EnumSet set17
java.util.EnumSet set18
java.util.EnumSet set19
java.util.EnumSet set2
java.util.EnumSet set20
java.util.EnumSet set21
java.util.EnumSet set22
java.util.EnumSet set23
java.util.EnumSet set3
java.util.EnumSet set4
java.util.EnumSet set5
java.util.EnumSet set6
java.util.EnumSet set7
java.util.EnumSet set8
java.util.EnumSet set9
int INITIAL_CAPACITY
String language
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.IOException ex
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/PrivateResourceDetector.classPrivateResourceDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.PrivateResourceDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
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 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
String value
static void ()
}
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/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
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 unit
int size
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
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/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$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
protected com.google.common.collect.Multimap mManifestRegistrations
private static final String[] sTags
private static final String[] sClasses
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 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 (org.w3c.dom.Element)
org.w3c.dom.Element element
org.w3c.dom.Element root
String pkg
String className
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
java.util.Collection registered
String s
String[] arr$
int len$
int i$
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
String curr
int lastIndex
private void report (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, java.lang.String)
java.util.Map$Entry entry
java.util.Iterator i$
java.util.Collection entries
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
String curr
String tag
String className
String wrongClass
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/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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 com.android.tools.lint.detector.api.Speed getSpeed ()
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.Iterator i$
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
private static boolean hasLayoutVariations (java.io.File)
java.io.File other
java.io.File folder
java.io.File[] arr$
int len$
int i$
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
boolean hasWidth
boolean hasHeight
String tag
String parentTag
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, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
lombok.ast.VariableReference reference
lombok.ast.Select inner
lombok.ast.Select outer
lombok.ast.Expression operand
lombok.ast.Expression expression
java.util.Iterator iterator
String name
lombok.ast.Node method
lombok.ast.Expression viewRoot
int i
java.util.Iterator iterator
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation call
lombok.ast.StrictListAccessor args
String layout
int index
int viewRootPos
static void ()
}
com/android/tools/lint/checks/RtlDetector$1.classRtlDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.RtlDetector$1 extends lombok.ast.ForwardingAstVisitor {
final com.android.tools.lint.checks.RtlDetector this$0
void (com.android.tools.lint.checks.RtlDetector)
}
com/android/tools/lint/checks/RtlDetector$IdentifierChecker.classRtlDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.RtlDetector$IdentifierChecker extends lombok.ast.ForwardingAstVisitor {
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 boolean visitIdentifier (lombok.ast.Identifier)
lombok.ast.Identifier node
String identifier
boolean isLeft
boolean isRight
lombok.ast.Node parent
String message
com.android.tools.lint.detector.api.Location location
}
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$JavaScanner {
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 ENABLED
private static final String RIGHT_FIELD
private static final String LEFT_FIELD
private static final String GRAVITY_CLASS
private static final String FQCN_GRAVITY_PREFIX
private static final String ATTR_SUPPORTS_RTL
private static final String ATTR_TEXT_ALIGNMENT
private static final int RTL_API
private Boolean mEnabledRtlSupport
private boolean mUsesRtlAttributes
private static final String[] ATTRIBUTES
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.detector.api.Speed getSpeed ()
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.io.File manifestFile
com.android.tools.lint.detector.api.Context context
private static java.lang.String convertOldToNew (java.lang.String)
String attribute
int index
private static java.lang.String convertNewToOld (java.lang.String)
String attribute
int index
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
String gravity
int folderVersion
String message
String message
org.w3c.dom.Element element
String gravity
boolean isLeft
boolean isRight
String message
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 isOld
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.List getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (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/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
java.util.Iterator i$
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/SdCardDetector$StringChecker.classSdCardDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SdCardDetector$StringChecker extends lombok.ast.ForwardingAstVisitor {
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 boolean visitStringLiteral (lombok.ast.StringLiteral)
String message
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Location location
lombok.ast.StringLiteral node
String s
char c
}
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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 ()
public java.util.List getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static void ()
}
com/android/tools/lint/checks/SecureRandomDetector$1.classSecureRandomDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SecureRandomDetector$1 extends org.objectweb.asm.tree.analysis.BasicInterpreter {
final com.android.tools.lint.checks.SecureRandomDetector this$0
void (com.android.tools.lint.checks.SecureRandomDetector)
public org.objectweb.asm.tree.analysis.BasicValue newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type type
public volatile org.objectweb.asm.tree.analysis.Value newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type x0
}
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$ClassScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static final String SET_SEED
private static final String OWNER_SECURE_RANDOM
private static final String OWNER_RANDOM
private static final String VM_SECURE_RANDOM
private static final String LONG_ARG
static final boolean $assertionsDisabled
public void ()
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)
org.objectweb.asm.Type type
org.objectweb.asm.Type[] arr$
int len$
int i$
org.objectweb.asm.tree.analysis.Frame[] frames
org.objectweb.asm.tree.InsnList instructions
org.objectweb.asm.tree.analysis.Frame frame
int stackSlot
org.objectweb.asm.tree.analysis.BasicValue stackValue
org.objectweb.asm.Type type
org.objectweb.asm.tree.analysis.AnalyzerException e
org.objectweb.asm.tree.analysis.Analyzer analyzer
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 desc
private static void checkValidSetSeed (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.MethodInsnNode)
String methodName
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.MethodInsnNode call
org.objectweb.asm.tree.AbstractInsnNode prev
int opcode
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 lombok.ast.ForwardingAstVisitor {
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 boolean visitIdentifier (lombok.ast.Identifier)
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location location
lombok.ast.Identifier node
}
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$JavaScanner {
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 WORLD_WRITEABLE
public static final com.android.tools.lint.detector.api.Issue WORLD_READABLE
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)
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
String tag
private static boolean getExported (org.w3c.dom.Element)
org.w3c.dom.Element child
java.util.Iterator i$
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 isLauncher (org.w3c.dom.Element)
String categoryString
org.w3c.dom.Element innerChild
java.util.Iterator i$
org.w3c.dom.Element child
java.util.Iterator i$
org.w3c.dom.Element element
private static boolean isStandardReceiver (org.w3c.dom.Element)
String categoryString
org.w3c.dom.Element innerChild
java.util.Iterator i$
org.w3c.dom.Element child
java.util.Iterator i$
org.w3c.dom.Element element
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
java.util.Iterator i$
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, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
lombok.ast.StrictListAccessor args
java.util.Iterator iterator
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private static java.util.Map sServiceMap
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 java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
String message
String castType
String name
String expectedClass
lombok.ast.Cast cast
lombok.ast.StrictListAccessor args
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
private static boolean isClipboard (java.lang.String)
String cls
private static java.lang.String stripPackage (java.lang.String)
String fqcn
int index
private 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/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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
public void ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
public java.util.List getApplicableMethodNames ()
static void ()
}
com/android/tools/lint/checks/SharedPrefsDetector$1.classSharedPrefsDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SharedPrefsDetector$1 extends java.lang.Object {
}
com/android/tools/lint/checks/SharedPrefsDetector$CommitFinder.classSharedPrefsDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.SharedPrefsDetector$CommitFinder extends lombok.ast.ForwardingAstVisitor {
private final lombok.ast.MethodInvocation mTarget
private final boolean mAllowCommitBeforeTarget
private boolean mFound
private boolean mSeenTarget
private void (lombok.ast.MethodInvocation, boolean)
lombok.ast.MethodInvocation target
boolean allowCommitBeforeTarget
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
String name
lombok.ast.MethodInvocation node
public boolean visitReturn (lombok.ast.Return)
lombok.ast.Return node
boolean isCommitCalled ()
void (lombok.ast.MethodInvocation, boolean, com.android.tools.lint.checks.SharedPrefsDetector$1)
lombok.ast.MethodInvocation x0
boolean x1
com.android.tools.lint.checks.SharedPrefsDetector$1 x2
}
com/android/tools/lint/checks/SharedPrefsDetector.classSharedPrefsDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.SharedPrefsDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 java.util.List getApplicableMethodNames ()
private static lombok.ast.NormalTypeBody findSurroundingTypeBody (lombok.ast.Node)
Class type
lombok.ast.Node scope
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
lombok.ast.NormalTypeBody body
String variableName
String type
boolean allowCommitBeforeTarget
String type
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
lombok.ast.Expression operand
lombok.ast.Node parent
lombok.ast.VariableDefinition definition
boolean allowCommitBeforeTarget
lombok.ast.Node method
com.android.tools.lint.checks.SharedPrefsDetector$CommitFinder finder
private static java.lang.String getFieldType (lombok.ast.NormalTypeBody, java.lang.String)
lombok.ast.VariableDeclaration declaration
lombok.ast.VariableDefinition definition
lombok.ast.Node child
java.util.Iterator i$
lombok.ast.NormalTypeBody cls
String name
java.util.List children
private static lombok.ast.VariableDefinition getLhs (lombok.ast.Node)
Class type
lombok.ast.Node node
static void ()
}
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 com.android.tools.lint.detector.api.Speed getSpeed ()
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.Element child
org.w3c.dom.NamedNodeMap attributes
java.util.Set stateNames
int i
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/StringFormatDetector$StringTracker.classStringFormatDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.StringFormatDetector$StringTracker extends lombok.ast.ForwardingAstVisitor {
private final lombok.ast.Node mTop
private final int mArgIndex
private final java.util.Map mMap
private final java.util.Map mTypes
private final lombok.ast.Node mTargetNode
private boolean mDone
private com.android.tools.lint.detector.api.JavaContext mContext
private String mName
public void (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node, lombok.ast.Node, int)
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.Node top
lombok.ast.Node targetNode
int argIndex
public java.lang.String getFormatStringName ()
public java.lang.Class getArgumentType (int)
lombok.ast.TypeReference parameterType
String fqcn
lombok.ast.TypeReference parameterType
lombok.ast.Node resolved
Class type
int argument
lombok.ast.Expression arg
public lombok.ast.Expression getArgument (int)
lombok.ast.Expression arg
int argument
lombok.ast.MethodInvocation call
lombok.ast.StrictListAccessor args
java.util.Iterator iterator
int index
public boolean visitNode (lombok.ast.Node)
lombok.ast.Node node
public boolean visitVariableReference (lombok.ast.VariableReference)
lombok.ast.VariableDefinitionEntry entry
String variable
lombok.ast.Node current
String reference
lombok.ast.VariableReference node
private lombok.ast.Expression getTargetArgument ()
java.util.Iterator iterator
java.util.Iterator iterator
java.util.Iterator iterator
int i
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
lombok.ast.VariableReference reference
String variable
lombok.ast.Expression arg
lombok.ast.MethodInvocation node
public boolean visitConstructorInvocation (lombok.ast.ConstructorInvocation)
lombok.ast.VariableReference reference
String variable
lombok.ast.Expression arg
lombok.ast.ConstructorInvocation node
public boolean visitVariableDefinitionEntry (lombok.ast.VariableDefinitionEntry)
lombok.ast.VariableDefinitionEntry node
String name
lombok.ast.Expression rhs
Class type
private java.lang.Class getType (lombok.ast.Expression)
lombok.ast.VariableReference reference
String variable
lombok.ast.MethodInvocation method
String methodName
lombok.ast.Expression expression
}
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$JavaScanner {
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
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
private 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
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.NodeList childNodes
private static java.lang.String strip (java.lang.String)
String s
char first
char last
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
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
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String name
java.util.List list
java.util.Map$Entry entry
java.util.Iterator i$
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
java.util.Iterator i$
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
java.util.Iterator i$
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
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
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
String s
java.util.regex.Matcher matcher
int index
int prevIndex
public java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
lombok.ast.VariableReference ref
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
String methodName
private void checkFormatCall (com.android.tools.lint.detector.api.JavaContext, lombok.ast.MethodInvocation)
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.MethodInvocation node
lombok.ast.Node current
private void checkStringFormatCall (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node, lombok.ast.MethodInvocation)
com.android.tools.lint.detector.api.Location$Handle handle
Object clientData
com.android.tools.lint.detector.api.Location location
String message
lombok.ast.TypeReference parameterType
boolean specifiesLocale
boolean specifiesLocale
String firstName
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
String message
com.android.tools.lint.client.api.IJavaParser parser
lombok.ast.Expression argument
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location secondary
String message
boolean valid
String formatType
char last
int argumentIndex
Class type
int i
String s
int count
com.android.tools.lint.detector.api.Location$Handle handle
com.android.utils.Pair pair
java.util.Iterator i$
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.Node method
lombok.ast.MethodInvocation call
lombok.ast.StrictListAccessor args
com.android.tools.lint.checks.StringFormatDetector$StringTracker tracker
String name
java.util.Iterator argIterator
lombok.ast.Expression first
lombok.ast.Expression second
boolean specifiesLocale
lombok.ast.TypeReference parameterType
lombok.ast.Node resolved
java.util.List list
static lombok.ast.Node getParentMethod (lombok.ast.Node)
lombok.ast.Node node
lombok.ast.Node current
static java.lang.String getResourceForFirstArg (lombok.ast.Node, lombok.ast.Node)
lombok.ast.Node method
lombok.ast.Node call
com.android.tools.lint.checks.StringFormatDetector$StringTracker tracker
String name
static java.lang.String getResourceArg (lombok.ast.Node, lombok.ast.Node, int)
lombok.ast.Node method
lombok.ast.Node call
int argIndex
com.android.tools.lint.checks.StringFormatDetector$StringTracker tracker
String name
static void ()
}
com/android/tools/lint/checks/StyleCycleDetector.classStyleCycleDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.StyleCycleDetector 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 getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String parent
String name
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
org.w3c.dom.Attr parentNode
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/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
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
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
String style
org.w3c.dom.Attr inputTypeNode
org.w3c.dom.Attr idNode
String id
String inputType
private static void reportMismatch (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr, org.w3c.dom.Attr, 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.Attr 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/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/TitleDetector.classTitleDetector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.TitleDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector implements com.android.tools.lint.detector.api.Detector$JavaScanner {
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 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/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/ToastDetector$ShowFinder.classToastDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ToastDetector$ShowFinder extends lombok.ast.ForwardingAstVisitor {
private final lombok.ast.MethodInvocation mTarget
private boolean mFound
private boolean mSeenTarget
private void (lombok.ast.MethodInvocation)
lombok.ast.MethodInvocation target
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
lombok.ast.MethodInvocation node
public boolean visitReturn (lombok.ast.Return)
lombok.ast.Return node
boolean isShowCalled ()
void (lombok.ast.MethodInvocation, com.android.tools.lint.checks.ToastDetector$1)
lombok.ast.MethodInvocation x0
com.android.tools.lint.checks.ToastDetector$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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
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 java.util.List getApplicableMethodNames ()
public void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
lombok.ast.Expression duration
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
String operand
lombok.ast.StrictListAccessor args
lombok.ast.Node method
com.android.tools.lint.checks.ToastDetector$ShowFinder finder
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 ()
NumberFormatException e
NumberFormatException e
int maxViewCount
int maxDepth
String countValue
String depthValue
}
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 java.util.regex.Pattern LANGUAGE_PATTERN
private static final java.util.regex.Pattern REGION_PATTERN
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
java.util.Iterator i$
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
java.util.Iterator i$
String name
String language
java.io.File parent
java.util.Iterator i$
int index
String locale
String language
java.util.Set fileStrings
java.util.Set languageStrings
java.io.File file
java.util.Iterator i$
String locale
int index
java.util.Map$Entry entry
java.util.Iterator i$
String first
java.util.Set languageStrings
java.util.Set specifiedLocales
java.util.Set strings
java.util.Map$Entry entry
java.util.Iterator i$
boolean haveError
String language
java.util.Set fallback
String languageRegion
int regionIndex
java.util.Set strings
java.util.Map$Entry entry
java.util.Iterator i$
String l
java.util.Iterator i$
String message
String s
java.util.Iterator i$
java.util.Set difference
String message
String s
java.util.Iterator i$
java.util.Set difference
java.util.Set strings
String language
java.util.Iterator i$
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 languages
private static java.lang.String getLanguage (java.lang.String)
String segment
String[] arr$
int len$
int i$
String name
String[] segments
String language
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 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
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
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
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
private void initLocale (java.lang.String)
String parent
com.android.utils.Pair locale
public static com.android.utils.Pair getLocale (java.lang.String)
char first
char second
char first
char second
int qualifierLength
String qualifier
java.util.Iterator i$
String parent
String language
String region
public static com.android.utils.Pair getLocale (com.android.tools.lint.detector.api.XmlContext)
String locale
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element root
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.Node)
int i
int n
org.w3c.dom.NodeList children
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Node node
private void check (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, java.lang.String)
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.Node node
String text
int max
int index
boolean checkedTypos
private void check (com.android.tools.lint.detector.api.XmlContext, 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.Node node
byte[] utf8Text
int byteStart
int byteEnd
String text
int charStart
int index
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
public static java.util.List getSuggestions (java.lang.String)
int start
String errorMessage
java.util.List words
int index
public static java.lang.String getTypo (java.lang.String)
String errorMessage
int index
int start
static void ()
}
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)
Object x0
Object x1
}
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 final com.android.tools.lint.client.api.LintClient mClient
private final java.io.File mXmlFile
private final java.io.File mBinaryFile
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.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 ()
int offset
int i
java.nio.MappedByteBuffer buffer
byte[] expectedHeader
int count
int[] offsets
int size
byte[] b
java.io.IOException e
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
java.util.Iterator i$
String word
int i
int n
int i
int n
byte[] word
int i
java.io.File file
java.util.List lines
java.util.List words
byte[][] wordArrays
java.util.Comparator comparator
int entryCount
int capacity
java.nio.ByteBuffer buffer
int wordOffsetTable
int nextEntry
int nextOffset
int size
byte[] b
java.io.FileOutputStream output
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
java.util.Iterator i$
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/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/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/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)
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)
Object x0
Object x1
}
com/android/tools/lint/checks/UnusedResourceDetector$UnusedResourceVisitor.classUnusedResourceDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.UnusedResourceDetector$UnusedResourceVisitor extends lombok.ast.ForwardingAstVisitor {
final com.android.tools.lint.checks.UnusedResourceDetector this$0
private void (com.android.tools.lint.checks.UnusedResourceDetector)
public boolean visitClassDeclaration (lombok.ast.ClassDeclaration)
lombok.ast.VariableDefinition def
String name
String resource
lombok.ast.Node child
java.util.Iterator i$
lombok.ast.Node field
java.util.Iterator i$
lombok.ast.Node innerBody
java.util.Iterator i$
String className
lombok.ast.Node subclass
java.util.Iterator i$
lombok.ast.Node body
java.util.Iterator i$
lombok.ast.ClassDeclaration node
String description
void (com.android.tools.lint.checks.UnusedResourceDetector, com.android.tools.lint.checks.UnusedResourceDetector$1)
com.android.tools.lint.checks.UnusedResourceDetector x0
com.android.tools.lint.checks.UnusedResourceDetector$1 x1
}
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$JavaScanner {
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 java.util.Set mDeclarations
private java.util.Set mReferences
private java.util.Map mUnused
private static final String ANALYTICS_FILE
static final boolean $assertionsDisabled
public void ()
public void run (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
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 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)
org.w3c.dom.Element root
com.android.tools.lint.detector.api.XmlContext xmlContext
String baseName
String resource
String parentName
int dash
String typeName
com.android.resources.ResourceType type
com.android.tools.lint.detector.api.Context context
java.io.File file
String fileName
boolean isXmlFile
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String resource
java.util.Iterator i$
String resource
java.util.Iterator i$
java.util.List ids
String resource
java.util.Iterator i$
java.util.Set unused
java.util.List styles
java.io.File[] f
java.io.File res
java.util.Iterator i$
String fileName
java.io.File file
java.io.File[] arr$
int len$
int i$
java.io.File[] files
java.io.File folder
java.util.Iterator i$
String name
java.util.List folders
java.util.List resourceFolders
String resource
com.android.tools.lint.detector.api.Location location
int secondDot
String typeName
com.android.resources.ResourceType type
java.util.Map$Entry entry
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
java.util.Iterator i$
com.android.tools.lint.detector.api.Location location
String message
com.android.tools.lint.detector.api.Issue issue
String resource
java.util.Iterator i$
java.util.List sorted
Boolean skippedLibraries
com.android.tools.lint.detector.api.Context context
private static com.android.tools.lint.detector.api.Issue getIssue (java.lang.String)
String resource
private void recordLocation (java.lang.String, com.android.tools.lint.detector.api.Location)
String resource
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location oldLocation
public java.util.Collection getApplicableAttributes ()
public java.util.Collection getApplicableElements ()
public void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
String name
String type
String resource
org.w3c.dom.Attr nameAttribute
org.w3c.dom.Element item
java.util.Iterator i$
org.w3c.dom.Element item
java.util.Iterator i$
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
public static boolean isAnalyticsFile (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
java.io.File file
private void checkChildRefs (org.w3c.dom.Element)
String name
String token
String r
String text
int index
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Element item
org.w3c.dom.NodeList childNodes
public void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
String resource
String r
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Attr attribute
String value
public com.android.tools.lint.detector.api.Speed getSpeed ()
public java.util.List getApplicableNodeTypes ()
public boolean appliesToResourceRefs ()
public void visitResourceReference (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.Node, java.lang.String, java.lang.String, boolean)
String reference
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.Node node
String type
String name
boolean isFramework
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
static java.util.Set access$100 (com.android.tools.lint.checks.UnusedResourceDetector)
com.android.tools.lint.checks.UnusedResourceDetector x0
static void ()
}
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/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/Utf8Detector.classUtf8Detector.java
package com.android.tools.lint.checks
public com.android.tools.lint.checks.Utf8Detector extends com.android.tools.lint.detector.api.LayoutDetector {
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/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$ClassScanner {
private static final String SIG1
private static final String SIG2
private static final String SIG3
public static final com.android.tools.lint.detector.api.Issue ISSUE
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
private static boolean isViewClass (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 node
String superName
private static void checkConstructors (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
String desc
org.objectweb.asm.tree.MethodNode method
Object methodObject
java.util.Iterator i$
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
java.util.List methods
String message
java.io.File sourceFile
com.android.tools.lint.detector.api.Location location
static void ()
}
com/android/tools/lint/checks/ViewTagDetector$1.classViewTagDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.ViewTagDetector$1 extends org.objectweb.asm.tree.analysis.BasicInterpreter {
final com.android.tools.lint.checks.ViewTagDetector this$0
void (com.android.tools.lint.checks.ViewTagDetector)
public org.objectweb.asm.tree.analysis.BasicValue newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type type
public volatile org.objectweb.asm.tree.analysis.Value newValue (org.objectweb.asm.Type)
org.objectweb.asm.Type x0
}
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$ClassScanner {
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.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 parent
com.android.tools.lint.detector.api.Location location
String message
org.objectweb.asm.tree.analysis.Frame[] frames
org.objectweb.asm.tree.InsnList instructions
org.objectweb.asm.tree.analysis.Frame frame
org.objectweb.asm.tree.analysis.BasicValue stackValue
org.objectweb.asm.Type type
String internalName
String className
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.client.api.SdkInfo sdkInfo
String objectType
org.objectweb.asm.tree.analysis.AnalyzerException e
org.objectweb.asm.tree.analysis.Analyzer analyzer
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 desc
static void ()
}
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$JavaScanner {
public static final com.android.tools.lint.detector.api.Issue ISSUE
private final java.util.Map mIdToViewTag
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 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)
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, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
String layoutType
java.util.List layoutTypes
String id
Object types
String resource
lombok.ast.Expression first
lombok.ast.Cast cast
String castType
lombok.ast.StrictListAccessor args
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor visitor
lombok.ast.MethodInvocation node
private static void checkCompatible (com.android.tools.lint.detector.api.JavaContext, java.lang.String, java.lang.String, java.util.List, lombok.ast.Cast)
String type
java.util.Iterator i$
String message
com.android.tools.lint.detector.api.JavaContext context
String castType
String layoutType
java.util.List layoutTypes
lombok.ast.Cast node
boolean compatible
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/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/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 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 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 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
java.util.Iterator i$
com.android.tools.lint.checks.ControlFlowGraph$Node successor
java.util.Iterator i$
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/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$ClassScanner {
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.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 suggestion
String message
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 name
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
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 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 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
java.util.Iterator i$
com.android.tools.lint.detector.api.XmlContext xmlContext
com.android.tools.lint.client.api.IDomParser parser
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
org.w3c.dom.Attr attr
String value
int i
int n
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.Element element
java.util.Iterator i$
java.util.List children
java.util.Set ids
org.w3c.dom.Element layout
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
public void afterCheckProject (com.android.tools.lint.detector.api.Context)
String suggestionMessage
String suggestionMessage
String message
com.android.tools.lint.detector.api.Location$Handle handle
boolean isDeclared
String suggestionMessage
java.util.List suggestions
String message
com.android.tools.lint.detector.api.Location$Handle handle
String id
boolean isBound
com.android.utils.Pair pair
java.util.Iterator i$
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
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 id
private static boolean idDefined (java.util.Set, java.lang.String)
java.util.Set ids
String id
boolean definedLocally
private static java.util.List getSpellingSuggestions (java.lang.String, java.util.Collection)
int distance
String matchWith
java.util.Iterator i$
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/WrongImportDetector$ImportVisitor.classWrongImportDetector.java
package com.android.tools.lint.checks
com.android.tools.lint.checks.WrongImportDetector$ImportVisitor extends lombok.ast.ForwardingAstVisitor {
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 boolean visitImportDeclaration (lombok.ast.ImportDeclaration)
com.android.tools.lint.detector.api.Location location
lombok.ast.ImportDeclaration node
String fqn
}
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$JavaScanner {
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.List getApplicableNodeTypes ()
public lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
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 ()
}