META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/tools/
com/android/tools/lint/
com/android/tools/lint/client/
com/android/tools/lint/client/api/
com/android/tools/lint/client/api/AsmVisitor.classAsmVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.AsmVisitor extends java.lang.Object {
private static final int TYPE_COUNT
private final java.util.Map mMethodNameToChecks
private final java.util.Map mMethodOwnerToChecks
private final java.util.List mFullClassChecks
private final java.util.List mAllDetectors
private java.util.List[] mNodeTypeDetectors
void (com.android.tools.lint.client.api.LintClient, java.util.List)
java.util.List list
String element
java.util.Iterator i$
java.util.List list
String element
java.util.Iterator i$
java.util.List checks
int type
int[] arr$
int len$
int i$
com.android.tools.lint.detector.api.Detector$ClassScanner scanner
boolean checkFullClass
java.util.Collection names
java.util.Collection owners
int[] types
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.client.api.LintClient client
java.util.List classDetectors
void runClassDetectors (com.android.tools.lint.detector.api.ClassContext)
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$ClassScanner scanner
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$ClassScanner scanner
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$ClassScanner scanner
java.util.Iterator i$
org.objectweb.asm.tree.MethodInsnNode call
String owner
java.util.List scanners
String name
com.android.tools.lint.detector.api.Detector$ClassScanner scanner
java.util.Iterator i$
java.util.List scanners
org.objectweb.asm.tree.AbstractInsnNode instruction
int type
int i
int n
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.InsnList nodes
Object m
java.util.Iterator i$
java.util.List methodList
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
}
com/android/tools/lint/client/api/CircularDependencyException.classCircularDependencyException.java
package com.android.tools.lint.client.api
public com.android.tools.lint.client.api.CircularDependencyException extends java.lang.RuntimeException {
private com.android.tools.lint.detector.api.Project mProject
private com.android.tools.lint.detector.api.Location mLocation
void (java.lang.String)
String message
public com.android.tools.lint.detector.api.Project getProject ()
public void setProject (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public com.android.tools.lint.detector.api.Location getLocation ()
public void setLocation (com.android.tools.lint.detector.api.Location)
com.android.tools.lint.detector.api.Location location
}
com/android/tools/lint/client/api/CompositeIssueRegistry.classCompositeIssueRegistry.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.CompositeIssueRegistry extends com.android.tools.lint.client.api.IssueRegistry {
private final java.util.List myRegistries
private java.util.List myIssues
public void (java.util.List)
java.util.List registries
public java.util.List getIssues ()
com.android.tools.lint.client.api.IssueRegistry registry
java.util.Iterator i$
java.util.List issues
}
com/android/tools/lint/client/api/Configuration.classConfiguration.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.Configuration extends java.lang.Object {
public void ()
public boolean isIgnored (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
public boolean isEnabled (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue issue
public com.android.tools.lint.detector.api.Severity getSeverity (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue issue
public abstract void ignore (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
public abstract void setSeverity (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Severity)
public void startBulkEditing ()
public void finishBulkEditing ()
}
com/android/tools/lint/client/api/DefaultConfiguration$1.classDefaultConfiguration.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.DefaultConfiguration$1 extends com.android.tools.lint.client.api.IssueRegistry {
final com.android.tools.lint.client.api.DefaultConfiguration this$0
void (com.android.tools.lint.client.api.DefaultConfiguration)
public java.util.List getIssues ()
}
com/android/tools/lint/client/api/DefaultConfiguration.classDefaultConfiguration.java
package com.android.tools.lint.client.api
public com.android.tools.lint.client.api.DefaultConfiguration extends com.android.tools.lint.client.api.Configuration {
private final com.android.tools.lint.client.api.LintClient mClient
public static final String CONFIG_FILE_NAME
private static final String TAG_ISSUE
private static final String ATTR_ID
private static final String ATTR_SEVERITY
private static final String ATTR_PATH
private static final String ATTR_REGEXP
private static final String TAG_IGNORE
private static final String VALUE_ALL
private final com.android.tools.lint.client.api.Configuration mParent
private final com.android.tools.lint.detector.api.Project mProject
private final java.io.File mConfigFile
private boolean mBulkEditing
private java.util.Map mSuppressed
private java.util.Map mRegexps
private java.util.Map mSeverity
protected void (com.android.tools.lint.client.api.LintClient, com.android.tools.lint.detector.api.Project, com.android.tools.lint.client.api.Configuration, java.io.File)
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.Configuration parent
java.io.File configFile
protected void (com.android.tools.lint.client.api.LintClient, com.android.tools.lint.detector.api.Project, com.android.tools.lint.client.api.Configuration)
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.Configuration parent
public static com.android.tools.lint.client.api.DefaultConfiguration create (com.android.tools.lint.client.api.LintClient, com.android.tools.lint.detector.api.Project, com.android.tools.lint.client.api.Configuration)
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.Configuration parent
public static com.android.tools.lint.client.api.DefaultConfiguration create (com.android.tools.lint.client.api.LintClient, java.io.File)
com.android.tools.lint.client.api.LintClient client
java.io.File lintFile
public boolean isIgnored (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
String suppressedPath
java.util.Iterator i$
java.io.File file
String relativePath
java.util.regex.Matcher matcher
java.util.regex.Pattern regexp
java.util.Iterator i$
java.util.regex.Matcher matcher
java.util.regex.Pattern regexp
java.util.Iterator i$
java.io.File file
String relativePath
boolean checkUnixPath
java.util.List regexps
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
String id
java.util.List paths
protected com.android.tools.lint.detector.api.Severity getDefaultSeverity (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue issue
public com.android.tools.lint.detector.api.Severity getSeverity (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Severity severity
private void ensureInitialized ()
private transient void formatError (java.lang.String, java.lang.Object[])
String message
Object[] args
com.android.tools.lint.client.api.LintDriver driver
private void readConfig ()
String id
java.util.Iterator i$
com.android.tools.lint.detector.api.Severity severity
com.android.tools.lint.detector.api.Severity[] arr$
int len$
int i$
org.w3c.dom.Node attribute
String name
String value
int j
int n
String regexp
String regexp
java.util.List paths
String id
java.util.Iterator i$
org.w3c.dom.Element ignore
String path
org.w3c.dom.Node child
int j
int n
org.w3c.dom.Node node
org.w3c.dom.Element element
String idList
Iterable ids
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.NodeList childNodes
int i
int count
javax.xml.parsers.DocumentBuilderFactory factory
org.xml.sax.InputSource source
javax.xml.parsers.DocumentBuilder builder
org.w3c.dom.Document document
org.w3c.dom.NodeList issues
com.google.common.base.Splitter splitter
org.xml.sax.SAXParseException e
Exception e
java.io.BufferedInputStream input
static java.lang.String globToRegexp (java.lang.String)
char c
int i
int n
String glob
StringBuilder sb
int begin
private static int appendQuoted (java.lang.StringBuilder, java.lang.String, int, int)
char c
int i
int i
boolean isSimple
StringBuilder sb
String s
int from
int to
private void addRegexp (java.lang.String, java.lang.Iterable, int, java.lang.String, boolean)
java.util.List paths
String id
java.util.Iterator i$
java.util.regex.Pattern pattern
java.util.regex.PatternSyntaxException e
String idList
Iterable ids
int n
String regexp
boolean silent
private void writeConfig ()
String id
java.util.Iterator i$
String id
java.util.Iterator i$
String path
java.util.Iterator i$
java.util.regex.Pattern regexp
java.util.Iterator i$
com.android.tools.lint.detector.api.Severity severity
java.util.List regexps
java.util.List paths
String id
java.util.Iterator i$
java.util.Set idSet
java.util.List ids
java.io.File file
java.io.Writer writer
java.io.File oldFile
boolean ok
Exception e
private static void writeAttribute (java.io.Writer, java.lang.String, java.lang.String) throws java.io.IOException
java.io.Writer writer
String name
String value
public void ignore (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
public void ignore (com.android.tools.lint.detector.api.Issue, java.io.File)
com.android.tools.lint.detector.api.Issue issue
java.io.File file
String path
java.util.List paths
public void setSeverity (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Severity)
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Severity severity
String id
public void startBulkEditing ()
public void finishBulkEditing ()
java.io.File getConfigFile ()
}
com/android/tools/lint/client/api/DefaultSdkInfo.classDefaultSdkInfo.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.DefaultSdkInfo extends com.android.tools.lint.client.api.SdkInfo {
private static final int CLASS_COUNT
private static final int LAYOUT_COUNT
private static final java.util.Map PARENTS
private static final java.util.Set LAYOUTS
private static final java.util.Map INTERFACES
static final boolean $assertionsDisabled
void ()
public java.lang.String getParentViewName (java.lang.String)
String name
public java.lang.String getParentViewClass (java.lang.String)
String fqcn
int index
String parent
public boolean isSubViewOf (java.lang.String, java.lang.String)
String parentType
String childType
String parent
String child
private static boolean implementsInterface (java.lang.String, java.lang.String)
String className
String interfaceName
private static java.lang.String getRawType (java.lang.String)
int index
String type
public boolean isLayout (java.lang.String)
String tag
static void ()
}
com/android/tools/lint/client/api/IDomParser.classIDomParser.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.IDomParser extends java.lang.Object {
public abstract org.w3c.dom.Document parseXml (com.android.tools.lint.detector.api.XmlContext)
public abstract com.android.tools.lint.detector.api.Location getLocation (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node)
public abstract com.android.tools.lint.detector.api.Location getLocation (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node, int, int)
public abstract com.android.tools.lint.detector.api.Location$Handle createLocationHandle (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node)
public abstract void dispose (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
public abstract int getNodeStartOffset (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node)
public abstract int getNodeEndOffset (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Node)
}
com/android/tools/lint/client/api/IJavaParser.classIJavaParser.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.IJavaParser extends java.lang.Object {
public abstract lombok.ast.Node parseJava (com.android.tools.lint.detector.api.JavaContext)
public abstract com.android.tools.lint.detector.api.Location getLocation (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node)
public abstract com.android.tools.lint.detector.api.Location$Handle createLocationHandle (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node)
public abstract void dispose (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node)
public abstract lombok.ast.Node resolve (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node)
public abstract lombok.ast.TypeReference getType (com.android.tools.lint.detector.api.JavaContext, lombok.ast.Node)
}
com/android/tools/lint/client/api/IssueRegistry.classIssueRegistry.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.IssueRegistry extends java.lang.Object {
private static java.util.List sCategories
private static java.util.Map sIdToIssue
private static java.util.Map sScopeIssues
private static final com.android.tools.lint.detector.api.Implementation DUMMY_IMPLEMENTATION
public static final com.android.tools.lint.detector.api.Issue PARSER_ERROR
public static final com.android.tools.lint.detector.api.Issue LINT_ERROR
public static final com.android.tools.lint.detector.api.Issue CANCELLED
static final boolean $assertionsDisabled
protected void ()
public abstract java.util.List getIssues ()
private java.util.List getIssuesForScope (java.util.EnumSet)
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
int initialSize
java.util.List issues
java.util.EnumSet scope
java.util.List list
final java.util.List createDetectors (com.android.tools.lint.client.api.LintClient, com.android.tools.lint.client.api.Configuration, java.util.EnumSet, java.util.Map)
java.util.EnumSet union
java.util.EnumSet s
com.android.tools.lint.detector.api.Implementation implementation
Class detectorClass
java.util.EnumSet issueScope
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
java.util.List list
com.android.tools.lint.detector.api.Scope s
java.util.Iterator i$
java.util.EnumSet union
com.android.tools.lint.detector.api.Detector detector
Throwable t
Class clz
java.util.Iterator i$
com.android.tools.lint.client.api.LintClient client
com.android.tools.lint.client.api.Configuration configuration
java.util.EnumSet scope
java.util.Map scopeToDetectors
java.util.List issues
java.util.Set detectorClasses
java.util.Map detectorToScope
java.util.List detectors
public final boolean isIssueId (java.lang.String)
String id
public final boolean isCategoryName (java.lang.String)
com.android.tools.lint.detector.api.Category category
java.util.Iterator i$
String name
public java.util.List getCategories ()
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
java.util.Set categories
java.util.List sorted
public final com.android.tools.lint.detector.api.Issue getIssue (java.lang.String)
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
java.util.List issues
String id
protected static void reset ()
static void ()
}
com/android/tools/lint/client/api/JarFileIssueRegistry.classJarFileIssueRegistry.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.JarFileIssueRegistry extends com.android.tools.lint.client.api.IssueRegistry {
private static final String MF_LINT_REGISTRY
private static java.util.Map sCache
private final java.util.List myIssues
static com.android.tools.lint.client.api.IssueRegistry get (com.android.tools.lint.client.api.LintClient, java.io.File) throws java.io.IOException java.lang.ClassNotFoundException java.lang.IllegalAccessException java.lang.InstantiationException
com.android.tools.lint.client.api.JarFileIssueRegistry registry
java.lang.ref.SoftReference reference
com.android.tools.lint.client.api.LintClient client
java.io.File jarFile
com.android.tools.lint.client.api.JarFileIssueRegistry registry
private void (com.android.tools.lint.client.api.LintClient, java.io.File) throws java.io.IOException java.lang.ClassNotFoundException java.lang.IllegalAccessException java.lang.InstantiationException
String className
java.net.URL url
java.net.URLClassLoader loader
Class registryClass
com.android.tools.lint.client.api.IssueRegistry registry
java.util.jar.Manifest manifest
java.util.jar.Attributes attrs
Object object
com.android.tools.lint.client.api.LintClient client
java.io.File file
java.util.jar.JarFile jarFile
public java.util.List getIssues ()
}
com/android/tools/lint/client/api/JavaVisitor$1.classJavaVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.JavaVisitor$1 extends java.lang.Object {
}
com/android/tools/lint/client/api/JavaVisitor$DelegatingJavaVisitor.classJavaVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.JavaVisitor$DelegatingJavaVisitor extends com.android.tools.lint.client.api.JavaVisitor$DispatchVisitor {
private final com.android.tools.lint.detector.api.JavaContext mContext
private final boolean mVisitResources
private final boolean mVisitMethods
final com.android.tools.lint.client.api.JavaVisitor this$0
public void (com.android.tools.lint.client.api.JavaVisitor, com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
public boolean visitSelect (lombok.ast.Select)
com.android.tools.lint.detector.api.Detector$JavaScanner detector
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
String type
String name
boolean isFramework
lombok.ast.VariableReference reference
lombok.ast.Select select
com.android.tools.lint.detector.api.Detector$JavaScanner detector
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Select typeSelect
String type
boolean isFramework
lombok.ast.Select select
String name
lombok.ast.Expression typeOperand
lombok.ast.Node grandParent
lombok.ast.Node parent
lombok.ast.Select node
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
String methodName
java.util.List list
lombok.ast.MethodInvocation node
}
com/android/tools/lint/client/api/JavaVisitor$DispatchVisitor.classJavaVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.JavaVisitor$DispatchVisitor extends lombok.ast.AstVisitor {
final com.android.tools.lint.client.api.JavaVisitor this$0
private void (com.android.tools.lint.client.api.JavaVisitor)
public void endVisit (lombok.ast.Node)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Node node
public boolean visitAlternateConstructorInvocation (lombok.ast.AlternateConstructorInvocation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AlternateConstructorInvocation node
java.util.List list
public boolean visitAnnotation (lombok.ast.Annotation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Annotation node
java.util.List list
public boolean visitAnnotationDeclaration (lombok.ast.AnnotationDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AnnotationDeclaration node
java.util.List list
public boolean visitAnnotationElement (lombok.ast.AnnotationElement)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AnnotationElement node
java.util.List list
public boolean visitAnnotationMethodDeclaration (lombok.ast.AnnotationMethodDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AnnotationMethodDeclaration node
java.util.List list
public boolean visitAnnotationValueArray (lombok.ast.AnnotationValueArray)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AnnotationValueArray node
java.util.List list
public boolean visitArrayAccess (lombok.ast.ArrayAccess)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ArrayAccess node
java.util.List list
public boolean visitArrayCreation (lombok.ast.ArrayCreation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ArrayCreation node
java.util.List list
public boolean visitArrayDimension (lombok.ast.ArrayDimension)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ArrayDimension node
java.util.List list
public boolean visitArrayInitializer (lombok.ast.ArrayInitializer)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ArrayInitializer node
java.util.List list
public boolean visitAssert (lombok.ast.Assert)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Assert node
java.util.List list
public boolean visitBinaryExpression (lombok.ast.BinaryExpression)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.BinaryExpression node
java.util.List list
public boolean visitBlock (lombok.ast.Block)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Block node
java.util.List list
public boolean visitBooleanLiteral (lombok.ast.BooleanLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.BooleanLiteral node
java.util.List list
public boolean visitBreak (lombok.ast.Break)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Break node
java.util.List list
public boolean visitCase (lombok.ast.Case)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Case node
java.util.List list
public boolean visitCast (lombok.ast.Cast)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Cast node
java.util.List list
public boolean visitCatch (lombok.ast.Catch)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Catch node
java.util.List list
public boolean visitCharLiteral (lombok.ast.CharLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.CharLiteral node
java.util.List list
public boolean visitClassDeclaration (lombok.ast.ClassDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ClassDeclaration node
java.util.List list
public boolean visitClassLiteral (lombok.ast.ClassLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ClassLiteral node
java.util.List list
public boolean visitComment (lombok.ast.Comment)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Comment node
java.util.List list
public boolean visitCompilationUnit (lombok.ast.CompilationUnit)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.CompilationUnit node
java.util.List list
public boolean visitConstructorDeclaration (lombok.ast.ConstructorDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ConstructorDeclaration node
java.util.List list
public boolean visitConstructorInvocation (lombok.ast.ConstructorInvocation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ConstructorInvocation node
java.util.List list
public boolean visitContinue (lombok.ast.Continue)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Continue node
java.util.List list
public boolean visitDefault (lombok.ast.Default)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Default node
java.util.List list
public boolean visitDoWhile (lombok.ast.DoWhile)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.DoWhile node
java.util.List list
public boolean visitEmptyDeclaration (lombok.ast.EmptyDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.EmptyDeclaration node
java.util.List list
public boolean visitEmptyStatement (lombok.ast.EmptyStatement)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.EmptyStatement node
java.util.List list
public boolean visitEnumConstant (lombok.ast.EnumConstant)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.EnumConstant node
java.util.List list
public boolean visitEnumDeclaration (lombok.ast.EnumDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.EnumDeclaration node
java.util.List list
public boolean visitEnumTypeBody (lombok.ast.EnumTypeBody)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.EnumTypeBody node
java.util.List list
public boolean visitExpressionStatement (lombok.ast.ExpressionStatement)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ExpressionStatement node
java.util.List list
public boolean visitFloatingPointLiteral (lombok.ast.FloatingPointLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.FloatingPointLiteral node
java.util.List list
public boolean visitFor (lombok.ast.For)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.For node
java.util.List list
public boolean visitForEach (lombok.ast.ForEach)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ForEach node
java.util.List list
public boolean visitIdentifier (lombok.ast.Identifier)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Identifier node
java.util.List list
public boolean visitIf (lombok.ast.If)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.If node
java.util.List list
public boolean visitImportDeclaration (lombok.ast.ImportDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.ImportDeclaration node
java.util.List list
public boolean visitInlineIfExpression (lombok.ast.InlineIfExpression)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.InlineIfExpression node
java.util.List list
public boolean visitInstanceInitializer (lombok.ast.InstanceInitializer)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.InstanceInitializer node
java.util.List list
public boolean visitInstanceOf (lombok.ast.InstanceOf)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.InstanceOf node
java.util.List list
public boolean visitIntegralLiteral (lombok.ast.IntegralLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.IntegralLiteral node
java.util.List list
public boolean visitInterfaceDeclaration (lombok.ast.InterfaceDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.InterfaceDeclaration node
java.util.List list
public boolean visitKeywordModifier (lombok.ast.KeywordModifier)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.KeywordModifier node
java.util.List list
public boolean visitLabelledStatement (lombok.ast.LabelledStatement)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.LabelledStatement node
java.util.List list
public boolean visitMethodDeclaration (lombok.ast.MethodDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.MethodDeclaration node
java.util.List list
public boolean visitMethodInvocation (lombok.ast.MethodInvocation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.MethodInvocation node
java.util.List list
public boolean visitModifiers (lombok.ast.Modifiers)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Modifiers node
java.util.List list
public boolean visitNormalTypeBody (lombok.ast.NormalTypeBody)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.NormalTypeBody node
java.util.List list
public boolean visitNullLiteral (lombok.ast.NullLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.NullLiteral node
java.util.List list
public boolean visitPackageDeclaration (lombok.ast.PackageDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.PackageDeclaration node
java.util.List list
public boolean visitParseArtefact (lombok.ast.Node)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Node node
java.util.List list
public boolean visitReturn (lombok.ast.Return)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Return node
java.util.List list
public boolean visitSelect (lombok.ast.Select)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Select node
java.util.List list
public boolean visitStaticInitializer (lombok.ast.StaticInitializer)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.StaticInitializer node
java.util.List list
public boolean visitStringLiteral (lombok.ast.StringLiteral)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.StringLiteral node
java.util.List list
public boolean visitSuper (lombok.ast.Super)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Super node
java.util.List list
public boolean visitSuperConstructorInvocation (lombok.ast.SuperConstructorInvocation)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.SuperConstructorInvocation node
java.util.List list
public boolean visitSwitch (lombok.ast.Switch)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Switch node
java.util.List list
public boolean visitSynchronized (lombok.ast.Synchronized)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Synchronized node
java.util.List list
public boolean visitThis (lombok.ast.This)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.This node
java.util.List list
public boolean visitThrow (lombok.ast.Throw)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Throw node
java.util.List list
public boolean visitTry (lombok.ast.Try)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.Try node
java.util.List list
public boolean visitTypeReference (lombok.ast.TypeReference)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.TypeReference node
java.util.List list
public boolean visitTypeReferencePart (lombok.ast.TypeReferencePart)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.TypeReferencePart node
java.util.List list
public boolean visitTypeVariable (lombok.ast.TypeVariable)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.TypeVariable node
java.util.List list
public boolean visitUnaryExpression (lombok.ast.UnaryExpression)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.UnaryExpression node
java.util.List list
public boolean visitVariableDeclaration (lombok.ast.VariableDeclaration)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.VariableDeclaration node
java.util.List list
public boolean visitVariableDefinition (lombok.ast.VariableDefinition)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.VariableDefinition node
java.util.List list
public boolean visitVariableDefinitionEntry (lombok.ast.VariableDefinitionEntry)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.VariableDefinitionEntry node
java.util.List list
public boolean visitVariableReference (lombok.ast.VariableReference)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.VariableReference node
java.util.List list
public boolean visitWhile (lombok.ast.While)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.While node
java.util.List list
void (com.android.tools.lint.client.api.JavaVisitor, com.android.tools.lint.client.api.JavaVisitor$1)
com.android.tools.lint.client.api.JavaVisitor x0
com.android.tools.lint.client.api.JavaVisitor$1 x1
}
com/android/tools/lint/client/api/JavaVisitor$VisitingDetector$1.classJavaVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector$1 extends lombok.ast.ForwardingAstVisitor {
final com.android.tools.lint.client.api.JavaVisitor$VisitingDetector this$0
void (com.android.tools.lint.client.api.JavaVisitor$VisitingDetector)
}
com/android/tools/lint/client/api/JavaVisitor$VisitingDetector.classJavaVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector extends java.lang.Object {
private lombok.ast.AstVisitor mVisitor
private com.android.tools.lint.detector.api.JavaContext mContext
public final com.android.tools.lint.detector.api.Detector mDetector
public final com.android.tools.lint.detector.api.Detector$JavaScanner mJavaScanner
public void (com.android.tools.lint.detector.api.Detector, com.android.tools.lint.detector.api.Detector$JavaScanner)
com.android.tools.lint.detector.api.Detector detector
com.android.tools.lint.detector.api.Detector$JavaScanner javaScanner
public com.android.tools.lint.detector.api.Detector getDetector ()
public com.android.tools.lint.detector.api.Detector$JavaScanner getJavaScanner ()
public void setContext (com.android.tools.lint.detector.api.JavaContext)
com.android.tools.lint.detector.api.JavaContext context
lombok.ast.AstVisitor getVisitor ()
}
com/android/tools/lint/client/api/JavaVisitor.classJavaVisitor.java
package com.android.tools.lint.client.api
public com.android.tools.lint.client.api.JavaVisitor extends java.lang.Object {
private static final int SAME_TYPE_COUNT
private final java.util.Map mMethodDetectors
private final java.util.List mResourceFieldDetectors
private final java.util.List mAllDetectors
private final java.util.List mFullTreeDetectors
private final java.util.Map mNodeTypeDetectors
private final com.android.tools.lint.client.api.IJavaParser mParser
static final boolean $assertionsDisabled
void (com.android.tools.lint.client.api.IJavaParser, java.util.List)
java.util.List list
Class type
java.util.Iterator i$
java.util.List list
String name
java.util.Iterator i$
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.List nodeTypes
java.util.List names
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.client.api.IJavaParser parser
java.util.List detectors
void visitFile (com.android.tools.lint.detector.api.JavaContext, java.io.File)
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AstVisitor visitor
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
lombok.ast.AstVisitor visitor
lombok.ast.AstVisitor visitor
com.android.tools.lint.client.api.JavaVisitor$VisitingDetector v
java.util.Iterator i$
com.android.tools.lint.detector.api.JavaContext context
java.io.File file
lombok.ast.Node compilationUnit
static java.util.List access$100 (com.android.tools.lint.client.api.JavaVisitor)
com.android.tools.lint.client.api.JavaVisitor x0
static java.util.Map access$200 (com.android.tools.lint.client.api.JavaVisitor)
com.android.tools.lint.client.api.JavaVisitor x0
static java.util.Map access$300 (com.android.tools.lint.client.api.JavaVisitor)
com.android.tools.lint.client.api.JavaVisitor x0
static java.util.List access$400 (com.android.tools.lint.client.api.JavaVisitor)
com.android.tools.lint.client.api.JavaVisitor x0
static void ()
}
com/android/tools/lint/client/api/LintClient$ClassPathInfo.classLintClient.java
package com.android.tools.lint.client.api
public com.android.tools.lint.client.api.LintClient$ClassPathInfo extends java.lang.Object {
private final java.util.List mClassFolders
private final java.util.List mSourceFolders
private final java.util.List mLibraries
public void (java.util.List, java.util.List, java.util.List)
java.util.List sourceFolders
java.util.List classFolders
java.util.List libraries
public java.util.List getSourceFolders ()
public java.util.List getClassFolders ()
public java.util.List getLibraries ()
}
com/android/tools/lint/client/api/LintClient.classLintClient.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.LintClient extends java.lang.Object {
private static final String PROP_BIN_DIR
private java.util.Map mProjectInfo
private java.util.Map mDirToProject
private java.util.Set mProjectDirs
private com.android.sdklib.IAndroidTarget[] mTargets
static final boolean $assertionsDisabled
public void ()
public com.android.tools.lint.client.api.Configuration getConfiguration (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public abstract void report (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Severity, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
public transient void log (java.lang.Throwable, java.lang.String, java.lang.Object[])
Throwable exception
String format
Object[] args
public transient abstract void log (com.android.tools.lint.detector.api.Severity, java.lang.Throwable, java.lang.String, java.lang.Object[])
public abstract com.android.tools.lint.client.api.IDomParser getDomParser ()
public abstract com.android.tools.lint.client.api.IJavaParser getJavaParser ()
public java.lang.Class replaceDetector (java.lang.Class)
Class detectorClass
public abstract java.lang.String readFile (java.io.File)
public byte[] readBytes (java.io.File) throws java.io.IOException
java.io.File file
public java.util.List getJavaSourceFolders (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.util.List getJavaClassFolders (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.util.List getJavaLibraries (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.util.List getResourceFolders (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
java.io.File res
public com.android.tools.lint.client.api.SdkInfo getSdkInfo (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.io.File getCacheDir (boolean)
boolean create
String home
String relative
java.io.File dir
private static java.io.File getLintBinDir ()
java.io.File file
String path
public java.io.File getSdkHome ()
java.io.File root
java.io.File binDir
String home
public java.io.File findResource (java.lang.String)
String relativePath
java.io.File top
java.io.File file
public boolean isGradleProject (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
protected com.android.tools.lint.client.api.LintClient$ClassPathInfo getClassPath (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.client.api.LintClient$ClassPathInfo info
String path
java.io.File folder
org.w3c.dom.Element element
String kind
java.util.List addTo
int i
int n
javax.xml.parsers.DocumentBuilder builder
org.w3c.dom.Document document
org.w3c.dom.NodeList tags
Exception e
String classpathXml
javax.xml.parsers.DocumentBuilderFactory factory
org.xml.sax.InputSource is
java.io.File jar
java.io.File[] arr$
int len$
int i$
java.io.File[] jars
java.io.File src
java.io.File gen
java.io.File folder
java.io.File src
java.io.File gen
java.util.List sources
java.util.List classes
java.util.List libraries
java.io.File projectDir
java.io.File classpathFile
java.io.File libs
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.LintClient$ClassPathInfo info
public com.android.tools.lint.detector.api.Project getProject (java.io.File, java.io.File)
java.io.IOException ioe
java.io.File dir
java.io.File referenceDir
java.io.File canonicalDir
com.android.tools.lint.detector.api.Project project
public void registerProject (java.io.File, com.android.tools.lint.detector.api.Project)
java.io.IOException ioe
java.io.File dir
com.android.tools.lint.detector.api.Project project
java.io.File canonicalDir
protected com.android.tools.lint.detector.api.Project createProject (java.io.File, java.io.File)
java.io.File dir
java.io.File referenceDir
public java.lang.String getProjectName (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public com.android.sdklib.IAndroidTarget[] getTargets ()
com.android.utils.StdLogger log
com.android.sdklib.SdkManager manager
java.io.File sdkHome
public int getHighestKnownApiLevel ()
int api
com.android.sdklib.IAndroidTarget target
com.android.sdklib.IAndroidTarget[] arr$
int len$
int i$
int max
public java.lang.String getSuperClass (com.android.tools.lint.detector.api.Project, java.lang.String)
com.android.tools.lint.detector.api.Project project
String name
public java.lang.Boolean isSubclassOf (com.android.tools.lint.detector.api.Project, java.lang.String, java.lang.String)
com.android.tools.lint.detector.api.Project project
String name
String superClassName
public java.util.List findGlobalRuleJars ()
java.io.File jarFile
java.io.File[] arr$
int len$
int i$
java.io.File[] list
String androidHome
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 files
String lintClassPath
public java.util.List findRuleJars (com.android.tools.lint.detector.api.Project)
java.io.File lintJar
com.android.tools.lint.detector.api.Project project
public boolean isProjectDirectory (java.io.File)
java.io.File dir
public boolean checkForSuppressComments ()
public com.android.tools.lint.client.api.IssueRegistry addCustomLintRules (com.android.tools.lint.client.api.IssueRegistry)
Throwable e
java.io.File jarFile
java.util.Iterator i$
java.util.List registries
com.android.tools.lint.client.api.IssueRegistry registry
java.util.List jarFiles
public boolean supportsProjectResources ()
public com.android.ide.common.res2.AbstractResourceRepository getProjectResources (com.android.tools.lint.detector.api.Project, boolean)
com.android.tools.lint.detector.api.Project project
boolean includeDependencies
public com.android.tools.lint.detector.api.Location$Handle createResourceItemHandle (com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceItem item
static void ()
}
com/android/tools/lint/client/api/LintDriver$ClassEntry.classLintDriver.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.LintDriver$ClassEntry extends java.lang.Object implements java.lang.Comparable {
public final java.io.File file
public final java.io.File jarFile
public final java.io.File binDir
public final byte[] bytes
public void (java.io.File, java.io.File, java.io.File, byte[])
java.io.File file
java.io.File jarFile
java.io.File binDir
byte[] bytes
public java.lang.String path ()
public int compareTo (com.android.tools.lint.client.api.LintDriver$ClassEntry)
char c1
char c2
int i
com.android.tools.lint.client.api.LintDriver$ClassEntry other
String p1
String p2
int m1
int m2
int m
public java.lang.String toString ()
public volatile int compareTo (java.lang.Object)
Object x0
}
com/android/tools/lint/client/api/LintDriver$LintClientWrapper.classLintDriver.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.LintDriver$LintClientWrapper extends com.android.tools.lint.client.api.LintClient {
private final com.android.tools.lint.client.api.LintClient mDelegate
static final boolean $assertionsDisabled
final com.android.tools.lint.client.api.LintDriver this$0
public void (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.client.api.LintClient)
com.android.tools.lint.client.api.LintClient delegate
public void report (com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Severity, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Severity severity
com.android.tools.lint.detector.api.Location location
String message
Object data
com.android.tools.lint.client.api.Configuration configuration
public com.android.tools.lint.client.api.Configuration getConfiguration (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public transient void log (com.android.tools.lint.detector.api.Severity, java.lang.Throwable, java.lang.String, java.lang.Object[])
com.android.tools.lint.detector.api.Severity severity
Throwable exception
String format
Object[] args
public java.lang.String readFile (java.io.File)
java.io.File file
public byte[] readBytes (java.io.File) throws java.io.IOException
java.io.File file
public java.util.List getJavaSourceFolders (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.util.List getJavaClassFolders (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.util.List getJavaLibraries (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public java.util.List getResourceFolders (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public com.android.tools.lint.client.api.IDomParser getDomParser ()
public java.lang.Class replaceDetector (java.lang.Class)
Class detectorClass
public com.android.tools.lint.client.api.SdkInfo getSdkInfo (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public com.android.tools.lint.detector.api.Project getProject (java.io.File, java.io.File)
java.io.File dir
java.io.File referenceDir
public com.android.tools.lint.client.api.IJavaParser getJavaParser ()
public java.io.File findResource (java.lang.String)
String relativePath
public java.io.File getCacheDir (boolean)
boolean create
protected com.android.tools.lint.client.api.LintClient$ClassPathInfo getClassPath (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public transient void log (java.lang.Throwable, java.lang.String, java.lang.Object[])
Throwable exception
String format
Object[] args
public java.io.File getSdkHome ()
public com.android.sdklib.IAndroidTarget[] getTargets ()
public int getHighestKnownApiLevel ()
public java.lang.String getSuperClass (com.android.tools.lint.detector.api.Project, java.lang.String)
com.android.tools.lint.detector.api.Project project
String name
public java.lang.Boolean isSubclassOf (com.android.tools.lint.detector.api.Project, java.lang.String, java.lang.String)
com.android.tools.lint.detector.api.Project project
String name
String superClassName
public java.lang.String getProjectName (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public boolean isGradleProject (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
protected com.android.tools.lint.detector.api.Project createProject (java.io.File, java.io.File)
java.io.File dir
java.io.File referenceDir
public java.util.List findGlobalRuleJars ()
public java.util.List findRuleJars (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
public boolean isProjectDirectory (java.io.File)
java.io.File dir
public void registerProject (java.io.File, com.android.tools.lint.detector.api.Project)
java.io.File dir
com.android.tools.lint.detector.api.Project project
public com.android.tools.lint.client.api.IssueRegistry addCustomLintRules (com.android.tools.lint.client.api.IssueRegistry)
com.android.tools.lint.client.api.IssueRegistry registry
public boolean checkForSuppressComments ()
public boolean supportsProjectResources ()
public com.android.ide.common.res2.AbstractResourceRepository getProjectResources (com.android.tools.lint.detector.api.Project, boolean)
com.android.tools.lint.detector.api.Project project
boolean includeDependencies
public com.android.tools.lint.detector.api.Location$Handle createResourceItemHandle (com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceItem item
static void ()
}
com/android/tools/lint/client/api/LintDriver$SuperclassVisitor.classLintDriver.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.LintDriver$SuperclassVisitor extends org.objectweb.asm.ClassVisitor {
private final java.util.Map mMap
public void (java.util.Map)
java.util.Map map
public void visit (int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
int version
int access
String name
String signature
String superName
String[] interfaces
}
com/android/tools/lint/client/api/LintDriver.classLintDriver.java
package com.android.tools.lint.client.api
public com.android.tools.lint.client.api.LintDriver extends java.lang.Object {
private static final int MAX_PHASES
private static final String SUPPRESS_LINT_VMSIG
private static final String STUDIO_ID_PREFIX
private final com.android.tools.lint.client.api.LintClient mClient
private com.android.tools.lint.client.api.LintRequest mRequest
private com.android.tools.lint.client.api.IssueRegistry mRegistry
private volatile boolean mCanceled
private java.util.EnumSet mScope
private java.util.List mApplicableDetectors
private java.util.Map mScopeDetectors
private java.util.List mListeners
private int mPhase
private java.util.List mRepeatingDetectors
private java.util.EnumSet mRepeatScope
private com.android.tools.lint.detector.api.Project[] mCurrentProjects
private com.android.tools.lint.detector.api.Project mCurrentProject
private boolean mAbbreviating
private boolean mParserErrors
private java.util.Map mProperties
private java.util.Map mSuperClassMap
private java.util.Deque mOuterClasses
private com.android.resources.ResourceFolderType mCurrentFolderType
private java.util.List mCurrentXmlDetectors
private com.android.tools.lint.client.api.XmlVisitor mCurrentVisitor
static final boolean $assertionsDisabled
public void (com.android.tools.lint.client.api.IssueRegistry, com.android.tools.lint.client.api.LintClient)
com.android.tools.lint.client.api.IssueRegistry registry
com.android.tools.lint.client.api.LintClient client
public void cancel ()
public java.util.EnumSet getScope ()
public com.android.tools.lint.client.api.LintClient getClient ()
public com.android.tools.lint.client.api.LintRequest getRequest ()
public void putProperty (java.lang.Object, java.lang.Object)
Object key
Object value
public java.lang.Object getProperty (java.lang.Object)
Object key
public int getPhase ()
public com.android.tools.lint.client.api.IssueRegistry getRegistry ()
public com.android.tools.lint.detector.api.Project findProjectFor (java.io.File)
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project[] arr$
int len$
int i$
String path
java.io.File file
public void setAbbreviating (boolean)
boolean abbreviating
public boolean isAbbreviating ()
public boolean hasParserErrors ()
public void setHasParserErrors (boolean)
boolean hasErrors
public java.util.List getProjects ()
public void analyze (java.util.List, java.util.EnumSet)
java.util.List files
java.util.EnumSet scope
public void analyze (com.android.tools.lint.client.api.LintRequest)
com.android.tools.lint.client.api.LintRequest request
private void analyze ()
java.io.File file
com.android.tools.lint.detector.api.Context context
com.android.tools.lint.client.api.CircularDependencyException e
com.android.tools.lint.detector.api.Project project
java.util.Iterator i$
java.util.Collection projects
private void registerCustomRules (java.util.Collection)
com.android.tools.lint.detector.api.Project project
java.util.Iterator i$
Throwable e
java.io.File jarFile
java.util.Iterator i$
java.util.List registries
java.util.Collection projects
java.util.Set jarFiles
private void runExtraPhases (com.android.tools.lint.detector.api.Project)
java.util.EnumSet oldScope
com.android.tools.lint.detector.api.Project project
private void computeRepeatingDetectors (java.util.List, com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
java.util.EnumSet union
java.util.EnumSet s
java.util.EnumSet issueScope
com.android.tools.lint.detector.api.Issue issue
java.util.Iterator i$
java.util.List list
com.android.tools.lint.detector.api.Scope s
java.util.Iterator i$
java.util.EnumSet union
boolean add
Class detectorClass
java.util.Collection detectorIssues
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
java.util.List detectors
com.android.tools.lint.detector.api.Project project
java.util.List issues
com.google.common.collect.Multimap issueMap
java.util.Map detectorToScope
java.util.Map scopeToDetectors
java.util.List detectorList
com.android.tools.lint.client.api.Configuration configuration
private void computeDetectors (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.Configuration configuration
private void validateScopeList ()
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
java.util.List resourceFileDetectors
java.util.List manifestDetectors
java.util.List javaCodeDetectors
java.util.List javaFileDetectors
java.util.List classDetectors
java.util.List classCodeDetectors
java.util.List gradleDetectors
java.util.List otherDetectors
boolean assertionsEnabled
private void registerProjectFile (java.util.Map, java.io.File, java.io.File, java.io.File)
java.util.Map fileToProject
java.io.File file
java.io.File projectDir
java.io.File rootDir
private java.util.Collection computeProjects (java.util.List)
java.io.File file
java.util.Iterator i$
java.util.List absolute
java.io.File parent
java.io.File rootDir
java.io.File parent
java.io.File file
java.util.Iterator i$
java.io.File dir
java.io.IOException ioe
java.io.File file
com.android.tools.lint.detector.api.Project project
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.Project project
java.util.Iterator i$
com.android.tools.lint.detector.api.Project library
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
java.util.Iterator i$
java.util.IdentityHashMap projects
java.util.Set dirs
java.util.List files
java.util.Map fileToProject
java.io.File sharedRoot
java.util.Collection allProjects
java.util.Set roots
private void addProjects (java.io.File, java.util.Map, java.io.File)
java.io.File file
java.io.File[] arr$
int len$
int i$
java.io.File[] files
java.io.File dir
java.util.Map fileToProject
java.io.File rootDir
private void checkProject (com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Detector check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector check
java.util.Iterator i$
com.android.tools.lint.detector.api.Context libraryContext
com.android.tools.lint.detector.api.Project library
java.util.Iterator i$
java.util.List libraries
com.android.tools.lint.detector.api.Detector check
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
java.io.File projectDir
com.android.tools.lint.detector.api.Context projectContext
java.util.List allLibraries
java.util.Set allProjects
private void runFileDetectors (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project)
com.android.tools.lint.client.api.XmlVisitor v
java.util.List detectors
com.android.tools.lint.detector.api.XmlContext context
com.android.tools.lint.client.api.IDomParser parser
java.io.File manifestFile
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
java.io.File res
java.util.Iterator i$
java.util.List resourceFolders
java.util.List files
java.util.List xmlDetectors
java.util.List checks
java.util.List sourceFolders
java.util.List files
java.util.List checks
com.android.tools.lint.client.api.OtherFileVisitor visitor
java.util.List checks
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
private void checkBuildScripts (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
java.io.File file
java.util.Iterator i$
java.util.List files
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List detectors
private void checkProGuard (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
java.io.File file
java.util.Iterator i$
java.util.List files
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List detectors
boolean isCanceled ()
public java.lang.String getSuperClass (java.lang.String)
String name
String superClass
public boolean isSubclassOf (org.objectweb.asm.tree.ClassNode, java.lang.String)
Boolean isSub
org.objectweb.asm.tree.ClassNode classNode
String superClassName
String className
private static java.util.List union (java.util.List, java.util.List)
java.util.Set set
java.util.List list1
java.util.List list2
private void checkClasses (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project)
java.util.List libraryEntries
String message
com.android.tools.lint.detector.api.Location location
java.util.List classEntries
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List files
java.util.List libraries
java.util.List libraryEntries
java.util.List classFolders
java.util.List classEntries
private void checkIndividualClassFiles (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.util.List)
java.io.File dir
java.util.Iterator i$
byte[] bytes
java.io.IOException e
String path
java.io.File file
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List files
java.util.List entries
java.util.List classFolders
private void runClassDetectors (com.android.tools.lint.detector.api.Scope, java.util.List, com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project)
Throwable t
String newName
int newRootLength
int oldRootLength
Exception e
org.objectweb.asm.ClassReader reader
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.ClassNode peek
com.android.tools.lint.detector.api.ClassContext context
com.android.tools.lint.client.api.LintDriver$ClassEntry entry
java.util.Iterator i$
com.android.tools.lint.client.api.AsmVisitor visitor
String sourceContents
String sourceName
java.util.List classDetectors
com.android.tools.lint.detector.api.Scope scope
java.util.List entries
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
public org.objectweb.asm.tree.ClassNode getOuterClassNode (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.ClassNode node
org.objectweb.asm.tree.ClassNode classNode
String outerName
java.util.Iterator iterator
private java.util.Map getSuperMap (java.util.List, java.util.List)
java.util.List libraryEntries
java.util.List classEntries
int size
java.util.Map map
com.android.tools.lint.client.api.LintDriver$SuperclassVisitor visitor
private void addSuperClasses (com.android.tools.lint.client.api.LintDriver$SuperclassVisitor, java.util.List)
org.objectweb.asm.ClassReader reader
int flags
Throwable t
com.android.tools.lint.client.api.LintDriver$ClassEntry entry
java.util.Iterator i$
com.android.tools.lint.client.api.LintDriver$SuperclassVisitor visitor
java.util.List entries
public org.objectweb.asm.tree.ClassNode findClass (com.android.tools.lint.detector.api.ClassContext, java.lang.String, int)
byte[] bytes
org.objectweb.asm.ClassReader reader
org.objectweb.asm.tree.ClassNode classNode
Throwable t
com.android.tools.lint.detector.api.ClassContext context
String type
int flags
String relative
java.io.File classFile
private java.io.File findClassFile (com.android.tools.lint.detector.api.Project, java.lang.String)
java.io.File path
java.io.File root
java.util.Iterator i$
java.io.File path
java.io.File root
java.util.Iterator i$
java.io.File path
com.android.tools.lint.detector.api.Project library
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
String relativePath
private void findClasses (java.util.List, java.util.List)
java.io.File file
byte[] bytes
Exception e
String name
java.io.FileInputStream fis
java.util.zip.ZipEntry entry
java.io.IOException e
java.io.File jarFile
java.util.zip.ZipInputStream zis
byte[] bytes
java.io.IOException e
java.io.File file
java.util.Iterator i$
java.io.File binDir
java.util.List classFiles
java.io.File classPathEntry
java.util.Iterator i$
java.util.List entries
java.util.List classPath
private static void addClassFiles (java.io.File, java.util.List)
java.io.File file
java.io.File[] arr$
int len$
int i$
java.io.File dir
java.util.List classFiles
java.io.File[] files
private void checkJava (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.util.List, java.util.List)
java.io.File folder
java.util.Iterator i$
com.android.tools.lint.detector.api.JavaContext context
java.io.File file
java.util.Iterator i$
com.android.tools.lint.client.api.JavaVisitor visitor
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List sourceFolders
java.util.List checks
com.android.tools.lint.client.api.IJavaParser javaParser
java.util.List sources
private void checkIndividualJavaFiles (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.util.List, java.util.List)
com.android.tools.lint.detector.api.JavaContext context
java.io.File file
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List checks
java.util.List files
com.android.tools.lint.client.api.IJavaParser javaParser
com.android.tools.lint.client.api.JavaVisitor visitor
private static void gatherJavaFiles (java.io.File, java.util.List)
java.io.File file
java.io.File[] arr$
int len$
int i$
java.io.File dir
java.util.List result
java.io.File[] files
private com.android.tools.lint.client.api.XmlVisitor getVisitor (com.android.resources.ResourceFolderType, java.util.List)
com.android.tools.lint.detector.api.ResourceXmlDetector check
java.util.Iterator i$
java.util.List applicableChecks
com.android.tools.lint.client.api.IDomParser parser
com.android.resources.ResourceFolderType type
java.util.List checks
private void checkResFolder (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.io.File, java.util.List)
com.android.resources.ResourceFolderType type
java.io.File dir
java.io.File[] arr$
int len$
int i$
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File res
java.util.List checks
java.io.File[] resourceDirs
private void checkResourceFolder (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.io.File, com.android.resources.ResourceFolderType, java.util.List)
com.android.tools.lint.detector.api.XmlContext context
java.io.File file
java.io.File[] arr$
int len$
int i$
com.android.tools.lint.client.api.XmlVisitor visitor
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File dir
com.android.resources.ResourceFolderType type
java.util.List checks
java.io.File[] xmlFiles
private void checkIndividualResources (com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.util.List, java.util.List)
com.android.resources.ResourceFolderType type
com.android.tools.lint.detector.api.XmlContext context
com.android.tools.lint.client.api.XmlVisitor visitor
String folderName
com.android.resources.ResourceFolderType type
java.io.File file
java.util.Iterator i$
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.util.List xmlDetectors
java.util.List files
public void addLintListener (com.android.tools.lint.client.api.LintListener)
com.android.tools.lint.client.api.LintListener listener
public void removeLintListener (com.android.tools.lint.client.api.LintListener)
com.android.tools.lint.client.api.LintListener listener
private void fireEvent (com.android.tools.lint.client.api.LintListener$EventType, com.android.tools.lint.detector.api.Context)
com.android.tools.lint.client.api.LintListener listener
java.util.Iterator i$
com.android.tools.lint.client.api.LintListener$EventType type
com.android.tools.lint.detector.api.Context context
public void requestRepeat (com.android.tools.lint.detector.api.Detector, java.util.EnumSet)
com.android.tools.lint.detector.api.Detector detector
java.util.EnumSet scope
public boolean isSuppressed (com.android.tools.lint.detector.api.Issue, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.AbstractInsnNode)
java.util.List annotations
org.objectweb.asm.tree.FieldInsnNode fieldRef
org.objectweb.asm.tree.FieldNode field
org.objectweb.asm.tree.AbstractInsnNode next
com.android.tools.lint.detector.api.Issue issue
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.AbstractInsnNode instruction
private static org.objectweb.asm.tree.MethodInsnNode findConstructorInvocation (org.objectweb.asm.tree.MethodNode, java.lang.String)
org.objectweb.asm.tree.MethodInsnNode call
org.objectweb.asm.tree.AbstractInsnNode instruction
int i
int n
org.objectweb.asm.tree.MethodNode method
String className
org.objectweb.asm.tree.InsnList nodes
private org.objectweb.asm.tree.FieldNode findField (org.objectweb.asm.tree.ClassNode, java.lang.String, java.lang.String)
org.objectweb.asm.tree.FieldNode field
Object f
java.util.Iterator i$
java.util.List fieldList
org.objectweb.asm.tree.ClassNode classNode
String owner
String name
org.objectweb.asm.tree.ClassNode current
private org.objectweb.asm.tree.MethodNode findMethod (org.objectweb.asm.tree.ClassNode, java.lang.String, boolean)
org.objectweb.asm.tree.MethodNode method
Object f
java.util.Iterator i$
java.util.List methodList
org.objectweb.asm.tree.ClassNode classNode
String name
boolean includeInherited
org.objectweb.asm.tree.ClassNode current
public boolean isSuppressed (com.android.tools.lint.detector.api.Issue, org.objectweb.asm.tree.FieldNode)
java.util.List annotations
com.android.tools.lint.detector.api.Issue issue
org.objectweb.asm.tree.FieldNode field
public boolean isSuppressed (com.android.tools.lint.detector.api.Issue, org.objectweb.asm.tree.ClassNode)
java.util.List annotations
org.objectweb.asm.tree.MethodInsnNode call
org.objectweb.asm.tree.MethodInsnNode call
org.objectweb.asm.tree.MethodNode m
org.objectweb.asm.tree.ClassNode outer
com.android.tools.lint.detector.api.Issue issue
org.objectweb.asm.tree.ClassNode classNode
private static boolean isSuppressed (com.android.tools.lint.detector.api.Issue, java.util.List)
String id
String id
Object v
java.util.Iterator i$
java.util.List list
Object value
String key
int i
int n
String desc
org.objectweb.asm.tree.AnnotationNode annotation
java.util.Iterator i$
com.android.tools.lint.detector.api.Issue issue
java.util.List annotations
private static boolean matches (com.android.tools.lint.detector.api.Issue, java.lang.String)
String issueId
com.android.tools.lint.detector.api.Issue issue
String id
public boolean isSuppressed (com.android.tools.lint.detector.api.JavaContext, com.android.tools.lint.detector.api.Issue, lombok.ast.Node)
lombok.ast.VariableDefinition declaration
lombok.ast.MethodDeclaration declaration
lombok.ast.ConstructorDeclaration declaration
lombok.ast.ClassDeclaration declaration
Class type
com.android.tools.lint.detector.api.JavaContext context
com.android.tools.lint.detector.api.Issue issue
lombok.ast.Node scope
boolean checkComments
private static boolean isSuppressed (com.android.tools.lint.detector.api.Issue, lombok.ast.Modifiers)
lombok.ast.StringLiteral literal
String value
String value
lombok.ast.Expression arrayElement
java.util.Iterator i$
lombok.ast.ArrayInitializer array
lombok.ast.StrictListAccessor expressions
lombok.ast.AnnotationValue valueNode
lombok.ast.AnnotationElement element
java.util.Iterator i$
lombok.ast.StrictListAccessor values
lombok.ast.TypeReference t
String typeName
lombok.ast.Annotation annotation
java.util.Iterator i$
com.android.tools.lint.detector.api.Issue issue
lombok.ast.Modifiers modifiers
lombok.ast.StrictListAccessor annotations
public boolean isSuppressed (com.android.tools.lint.detector.api.XmlContext, com.android.tools.lint.detector.api.Issue, org.w3c.dom.Node)
String id
String[] arr$
int len$
int i$
String ignore
org.w3c.dom.Element element
com.android.tools.lint.detector.api.XmlContext context
com.android.tools.lint.detector.api.Issue issue
org.w3c.dom.Node node
boolean checkComments
static com.android.tools.lint.detector.api.Project access$000 (com.android.tools.lint.client.api.LintDriver)
com.android.tools.lint.client.api.LintDriver x0
static void ()
}
com/android/tools/lint/client/api/LintListener$EventType.classLintListener.java
package com.android.tools.lint.client.api
public final com.android.tools.lint.client.api.LintListener$EventType extends java.lang.Enum {
public static final com.android.tools.lint.client.api.LintListener$EventType STARTING
public static final com.android.tools.lint.client.api.LintListener$EventType SCANNING_PROJECT
public static final com.android.tools.lint.client.api.LintListener$EventType SCANNING_LIBRARY_PROJECT
public static final com.android.tools.lint.client.api.LintListener$EventType SCANNING_FILE
public static final com.android.tools.lint.client.api.LintListener$EventType NEW_PHASE
public static final com.android.tools.lint.client.api.LintListener$EventType CANCELED
public static final com.android.tools.lint.client.api.LintListener$EventType COMPLETED
private static final com.android.tools.lint.client.api.LintListener$EventType[] $VALUES
public static com.android.tools.lint.client.api.LintListener$EventType[] values ()
public static com.android.tools.lint.client.api.LintListener$EventType valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tools/lint/client/api/LintListener.classLintListener.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.LintListener extends java.lang.Object {
public abstract void update (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.client.api.LintListener$EventType, com.android.tools.lint.detector.api.Context)
}
com/android/tools/lint/client/api/LintRequest.classLintRequest.java
package com.android.tools.lint.client.api
public com.android.tools.lint.client.api.LintRequest extends java.lang.Object {
protected final com.android.tools.lint.client.api.LintClient mClient
protected final java.util.List mFiles
protected java.util.EnumSet mScope
protected Boolean mReleaseMode
protected java.util.Collection mProjects
public void (com.android.tools.lint.client.api.LintClient, java.util.List)
com.android.tools.lint.client.api.LintClient client
java.util.List files
public com.android.tools.lint.client.api.LintClient getClient ()
public java.util.List getFiles ()
public java.util.EnumSet getScope ()
public com.android.tools.lint.client.api.LintRequest setScope (java.util.EnumSet)
java.util.EnumSet scope
public java.lang.Boolean isReleaseMode ()
public com.android.tools.lint.client.api.LintRequest setReleaseMode (java.lang.Boolean)
Boolean releaseMode
public java.util.Collection getProjects ()
public void setProjects (java.util.Collection)
java.util.Collection projects
}
com/android/tools/lint/client/api/OtherFileVisitor.classOtherFileVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.OtherFileVisitor extends java.lang.Object {
private final java.util.List mDetectors
private java.util.Map mFiles
void (java.util.List)
java.util.List detectors
void scan (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project)
com.android.tools.lint.detector.api.Detector$OtherFileScanner fileScanner
java.util.EnumSet applicable
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
java.io.File file
java.util.Iterator i$
java.util.List files
java.io.File res
java.util.Iterator i$
java.util.List files
java.io.File assets
java.io.File file
java.util.Iterator i$
java.util.List files
java.io.File srcFolder
java.util.Iterator i$
java.util.List files
java.io.File file
java.util.Iterator i$
java.util.List files
java.io.File classFolder
java.util.Iterator i$
java.util.List files
java.io.File file
java.util.Iterator i$
java.util.List files
java.util.List manifestFiles
com.android.tools.lint.detector.api.Detector$OtherFileScanner fileScanner
java.util.EnumSet appliesTo
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.detector.api.Context context
java.io.File file
java.util.Iterator i$
com.android.tools.lint.detector.api.Scope scope
java.util.List files
java.util.List applicable
java.util.Map$Entry entry
java.util.Iterator i$
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File projectFolder
java.util.EnumSet scopes
java.util.List subset
private static void collectFiles (java.util.List, java.io.File)
java.io.File child
java.io.File[] arr$
int len$
int i$
java.io.File[] children
java.util.List files
java.io.File file
}
com/android/tools/lint/client/api/SdkInfo.classSdkInfo.java
package com.android.tools.lint.client.api
public abstract com.android.tools.lint.client.api.SdkInfo extends java.lang.Object {
public void ()
public boolean isSubViewOf (java.lang.String, java.lang.String)
String parent
String parentViewFqcn
String childViewFqcn
public abstract java.lang.String getParentViewClass (java.lang.String)
public abstract java.lang.String getParentViewName (java.lang.String)
public boolean isLayout (java.lang.String)
String tag
}
com/android/tools/lint/client/api/XmlVisitor.classXmlVisitor.java
package com.android.tools.lint.client.api
com.android.tools.lint.client.api.XmlVisitor extends java.lang.Object {
private final java.util.Map mElementToCheck
private final java.util.Map mAttributeToCheck
private final java.util.List mDocumentDetectors
private final java.util.List mAllElementDetectors
private final java.util.List mAllAttributeDetectors
private final java.util.List mAllDetectors
private final com.android.tools.lint.client.api.IDomParser mParser
static final boolean $assertionsDisabled
void (com.android.tools.lint.client.api.IDomParser, java.util.List)
java.util.List list
String attribute
java.util.Iterator i$
java.util.List list
String element
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$XmlScanner xmlDetector
java.util.Collection attributes
java.util.Collection elements
com.android.tools.lint.detector.api.Detector detector
java.util.Iterator i$
com.android.tools.lint.client.api.IDomParser parser
java.util.List xmlDetectors
void visitFile (com.android.tools.lint.detector.api.XmlContext, java.io.File)
com.android.tools.lint.detector.api.Detector check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector check
java.util.Iterator i$
com.android.tools.lint.detector.api.XmlContext context
java.io.File file
private void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
org.w3c.dom.Attr attribute
String name
java.util.List list
int i
int n
org.w3c.dom.NamedNodeMap attributes
org.w3c.dom.Node child
int i
int n
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
com.android.tools.lint.detector.api.Detector$XmlScanner check
java.util.Iterator i$
com.android.tools.lint.detector.api.XmlContext context
org.w3c.dom.Element element
java.util.List elementChecks
org.w3c.dom.NodeList childNodes
static void ()
}
com/android/tools/lint/detector/
com/android/tools/lint/detector/api/
com/android/tools/lint/detector/api/Category.classCategory.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Category extends java.lang.Object implements java.lang.Comparable {
private final String mName
private final int mPriority
private final com.android.tools.lint.detector.api.Category mParent
public static final com.android.tools.lint.detector.api.Category LINT
public static final com.android.tools.lint.detector.api.Category CORRECTNESS
public static final com.android.tools.lint.detector.api.Category SECURITY
public static final com.android.tools.lint.detector.api.Category PERFORMANCE
public static final com.android.tools.lint.detector.api.Category USABILITY
public static final com.android.tools.lint.detector.api.Category A11Y
public static final com.android.tools.lint.detector.api.Category I18N
public static final com.android.tools.lint.detector.api.Category RTL
public static final com.android.tools.lint.detector.api.Category ICONS
public static final com.android.tools.lint.detector.api.Category TYPOGRAPHY
public static final com.android.tools.lint.detector.api.Category MESSAGES
private void (com.android.tools.lint.detector.api.Category, java.lang.String, int)
com.android.tools.lint.detector.api.Category parent
String name
int priority
public static com.android.tools.lint.detector.api.Category create (java.lang.String, int)
String name
int priority
public static com.android.tools.lint.detector.api.Category create (com.android.tools.lint.detector.api.Category, java.lang.String, int)
com.android.tools.lint.detector.api.Category parent
String name
int priority
public com.android.tools.lint.detector.api.Category getParent ()
public java.lang.String getName ()
public java.lang.String getFullName ()
public int compareTo (com.android.tools.lint.detector.api.Category)
com.android.tools.lint.detector.api.Category other
public volatile int compareTo (java.lang.Object)
Object x0
static void ()
}
com/android/tools/lint/detector/api/ClassContext.classClassContext.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.ClassContext extends com.android.tools.lint.detector.api.Context {
private final java.io.File mBinDir
private final org.objectweb.asm.tree.ClassNode mClassNode
private final byte[] mBytes
private java.io.File mSourceFile
private String mSourceContents
private boolean mSearchedForSource
private final java.io.File mJarFile
private final boolean mFromLibrary
public void (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.io.File, java.io.File, java.io.File, byte[], org.objectweb.asm.tree.ClassNode, boolean, java.lang.String)
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File file
java.io.File jarFile
java.io.File binDir
byte[] bytes
org.objectweb.asm.tree.ClassNode classNode
boolean fromLibrary
String sourceContents
public byte[] getBytecode ()
public org.objectweb.asm.tree.ClassNode getClassNode ()
public java.io.File getJarFile ()
public boolean isFromClassLibrary ()
public java.io.File getSourceFile ()
int index
java.io.File sourceFile
java.io.File dir
java.util.Iterator i$
String relative
java.util.List sources
java.io.File sourceFile
java.io.File dir
java.util.Iterator i$
int start
String relative
java.util.List sources
String topPath
String parentPath
String source
public java.lang.String getSourceContents ()
java.io.File sourceFile
public java.lang.String getSourceContents (boolean)
boolean read
public com.android.tools.lint.detector.api.Location getLocationForLine (int, java.lang.String, java.lang.String, com.android.tools.lint.detector.api.Location$SearchHints)
int line
String patternStart
String patternEnd
com.android.tools.lint.detector.api.Location$SearchHints hints
java.io.File sourceFile
public void report (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
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.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
org.objectweb.asm.tree.ClassNode curr
public void report (com.android.tools.lint.detector.api.Issue, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.AbstractInsnNode, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Issue issue
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.AbstractInsnNode instruction
com.android.tools.lint.detector.api.Location location
String message
Object data
public void report (com.android.tools.lint.detector.api.Issue, org.objectweb.asm.tree.FieldNode, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Issue issue
org.objectweb.asm.tree.FieldNode field
com.android.tools.lint.detector.api.Location location
String message
Object data
public static int findLineNumber (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.AbstractInsnNode curr
public static int findLineNumber (org.objectweb.asm.tree.MethodNode)
org.objectweb.asm.tree.MethodNode node
public static int findLineNumber (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.MethodNode firstMethod
org.objectweb.asm.tree.ClassNode node
public com.android.tools.lint.detector.api.Location getLocation (org.objectweb.asm.tree.ClassNode)
String pattern
org.objectweb.asm.tree.ClassNode classNode
String pattern
int index
private static org.objectweb.asm.tree.MethodNode getFirstRealMethod (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.MethodNode method
Object m
java.util.Iterator i$
java.util.List methods
org.objectweb.asm.tree.ClassNode classNode
public com.android.tools.lint.detector.api.Location getLocation (org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.ClassNode)
String pattern
String pattern
com.android.tools.lint.detector.api.Location$SearchDirection searchMode
org.objectweb.asm.tree.MethodNode methodNode
org.objectweb.asm.tree.ClassNode classNode
String pattern
com.android.tools.lint.detector.api.Location$SearchDirection searchMode
public com.android.tools.lint.detector.api.Location getLocation (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.MethodInsnNode call
int index
org.objectweb.asm.tree.AbstractInsnNode instruction
com.android.tools.lint.detector.api.Location$SearchHints hints
String pattern
int line
private static boolean isAnonymousClass (java.lang.String)
String fqcn
int lastIndex
public static java.lang.String getFqcn (java.lang.String)
String owner
public static java.lang.String createSignature (java.lang.String, java.lang.String, java.lang.String)
org.objectweb.asm.Type returnType
org.objectweb.asm.Type type
org.objectweb.asm.Type[] arr$
int len$
int i$
boolean first
org.objectweb.asm.Type[] argumentTypes
String owner
String name
String desc
StringBuilder sb
private static java.lang.String getTypeString (org.objectweb.asm.Type)
org.objectweb.asm.Type type
String s
public static java.lang.String getInternalName (java.lang.String)
String part
java.util.Iterator i$
String fqcn
StringBuilder sb
String prev
}
com/android/tools/lint/detector/api/Context.classContext.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Context extends java.lang.Object {
public final java.io.File file
protected final com.android.tools.lint.client.api.LintDriver mDriver
private final com.android.tools.lint.detector.api.Project mProject
private final com.android.tools.lint.detector.api.Project mMainProject
private final com.android.tools.lint.client.api.Configuration mConfiguration
private String mContents
private java.util.Map mProperties
private Boolean mContainsCommentSuppress
private static final java.util.regex.Pattern VERSION_PATTERN
private static java.io.File sCachedFolder
private static int sCachedFolderVersion
static final boolean $assertionsDisabled
public void (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.io.File)
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File file
public java.util.EnumSet getScope ()
public com.android.tools.lint.client.api.Configuration getConfiguration ()
public com.android.tools.lint.detector.api.Project getProject ()
public com.android.tools.lint.detector.api.Project getMainProject ()
public com.android.tools.lint.client.api.LintClient getClient ()
public com.android.tools.lint.client.api.LintDriver getDriver ()
public java.lang.String getContents ()
public java.lang.Object getProperty (java.lang.String)
String name
public void setProperty (java.lang.String, java.lang.Object)
String name
Object value
public com.android.tools.lint.client.api.SdkInfo getSdkInfo ()
public boolean isEnabled (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue issue
public void report (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
com.android.tools.lint.client.api.Configuration configuration
com.android.tools.lint.detector.api.Severity severity
public transient void log (java.lang.Throwable, java.lang.String, java.lang.Object[])
Throwable exception
String format
Object[] args
public int getPhase ()
public void requestRepeat (com.android.tools.lint.detector.api.Detector, java.util.EnumSet)
com.android.tools.lint.detector.api.Detector detector
java.util.EnumSet scope
public int getFolderVersion ()
public static int getFolderVersion (java.io.File)
java.util.regex.Matcher matcher
String qualifier
java.util.Iterator i$
java.io.File file
java.io.File parent
protected java.lang.String getSuppressCommentPrefix ()
String path
public boolean containsCommentSuppress ()
String contents
String prefix
public boolean isSuppressedWithComment (int, com.android.tools.lint.detector.api.Issue)
String line
int startOffset
com.android.tools.lint.detector.api.Issue issue
String prefix
String contents
int lineStart
int prevLineStart
int index
private static int findPrefixOnPreviousLine (java.lang.String, int, java.lang.String)
char c
String contents
int lineStart
String prefix
char first
int offset
boolean seenNonWhitespace
static void ()
}
com/android/tools/lint/detector/api/DefaultPosition.classDefaultPosition.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.DefaultPosition extends com.android.tools.lint.detector.api.Position {
private final int mLine
private final int mColumn
private final int mOffset
public void (int, int, int)
int line
int column
int offset
public int getLine ()
public int getOffset ()
public int getColumn ()
}
com/android/tools/lint/detector/api/Detector$ClassScanner.classDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Detector$ClassScanner extends java.lang.Object {
public abstract void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
public abstract int[] getApplicableAsmNodeTypes ()
public abstract void checkInstruction (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.tree.MethodNode, org.objectweb.asm.tree.AbstractInsnNode)
public abstract java.util.List getApplicableCallNames ()
public abstract java.util.List getApplicableCallOwners ()
public abstract 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/Detector$GradleScanner.classDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Detector$GradleScanner extends java.lang.Object {
public abstract void visitBuildScript (com.android.tools.lint.detector.api.Context, java.util.Map)
}
com/android/tools/lint/detector/api/Detector$JavaScanner.classDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Detector$JavaScanner extends java.lang.Object {
public abstract lombok.ast.AstVisitor createJavaVisitor (com.android.tools.lint.detector.api.JavaContext)
public abstract java.util.List getApplicableNodeTypes ()
public abstract java.util.List getApplicableMethodNames ()
public abstract void visitMethod (com.android.tools.lint.detector.api.JavaContext, lombok.ast.AstVisitor, lombok.ast.MethodInvocation)
public abstract boolean appliesToResourceRefs ()
public abstract 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/Detector$OtherFileScanner.classDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Detector$OtherFileScanner extends java.lang.Object {
public abstract java.util.EnumSet getApplicableFiles ()
}
com/android/tools/lint/detector/api/Detector$XmlScanner.classDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Detector$XmlScanner extends java.lang.Object {
public static final java.util.List ALL
public abstract void visitDocument (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Document)
public abstract void visitElement (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
public abstract void visitElementAfter (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Element)
public abstract void visitAttribute (com.android.tools.lint.detector.api.XmlContext, org.w3c.dom.Attr)
public abstract java.util.Collection getApplicableElements ()
public abstract java.util.Collection getApplicableAttributes ()
static void ()
}
com/android/tools/lint/detector/api/Detector.classDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Detector extends java.lang.Object {
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 afterCheckProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void beforeCheckLibraryProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void afterCheckLibraryProject (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
public void beforeCheckFile (com.android.tools.lint.detector.api.Context)
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 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
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 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
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.Collection getApplicableElements ()
public java.util.Collection getApplicableAttributes ()
public java.util.List getApplicableMethodNames ()
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 ()
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 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
public void checkClass (com.android.tools.lint.detector.api.ClassContext, org.objectweb.asm.tree.ClassNode)
com.android.tools.lint.detector.api.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
public 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.ClassContext context
org.objectweb.asm.tree.ClassNode classNode
org.objectweb.asm.tree.MethodNode method
org.objectweb.asm.tree.MethodInsnNode call
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
public boolean appliesToFolder (com.android.tools.lint.detector.api.Scope, com.android.resources.ResourceFolderType)
com.android.tools.lint.detector.api.Scope scope
com.android.resources.ResourceFolderType folderType
public java.util.EnumSet getApplicableFiles ()
public void visitBuildScript (com.android.tools.lint.detector.api.Context, java.util.Map)
com.android.tools.lint.detector.api.Context context
java.util.Map sharedData
static void ()
}
com/android/tools/lint/detector/api/Implementation.classImplementation.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Implementation extends java.lang.Object {
private final Class mClass
private final java.util.EnumSet mScope
private java.util.EnumSet[] mAnalysisScopes
private static final java.util.EnumSet[] EMPTY
public void (java.lang.Class, java.util.EnumSet)
Class detectorClass
java.util.EnumSet scope
public transient void (java.lang.Class, java.util.EnumSet, java.util.EnumSet[])
Class detectorClass
java.util.EnumSet scope
java.util.EnumSet[] analysisScopes
public java.lang.Class getDetectorClass ()
public java.lang.String toString ()
public java.util.EnumSet getScope ()
public java.util.EnumSet[] getAnalysisScopes ()
public boolean isAdequate (java.util.EnumSet)
java.util.EnumSet analysisScope
java.util.EnumSet[] arr$
int len$
int i$
java.util.EnumSet scope
static void ()
}
com/android/tools/lint/detector/api/Issue$1.classIssue.java
package com.android.tools.lint.detector.api
com.android.tools.lint.detector.api.Issue$1 extends java.lang.Object {
static final int[] $SwitchMap$com$android$tools$lint$detector$api$Issue$OutputFormat
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/tools/lint/detector/api/Issue$OutputFormat.classIssue.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Issue$OutputFormat extends java.lang.Enum {
public static final com.android.tools.lint.detector.api.Issue$OutputFormat RAW
public static final com.android.tools.lint.detector.api.Issue$OutputFormat TEXT
public static final com.android.tools.lint.detector.api.Issue$OutputFormat HTML
private static final com.android.tools.lint.detector.api.Issue$OutputFormat[] $VALUES
public static com.android.tools.lint.detector.api.Issue$OutputFormat[] values ()
public static com.android.tools.lint.detector.api.Issue$OutputFormat valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tools/lint/detector/api/Issue.classIssue.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Issue extends java.lang.Object implements java.lang.Comparable {
private static final String HTTP_PREFIX
private final String mId
private final String mBriefDescription
private final String mDescription
private final String mExplanation
private final com.android.tools.lint.detector.api.Category mCategory
private final int mPriority
private final com.android.tools.lint.detector.api.Severity mSeverity
private Object mMoreInfoUrls
private boolean mEnabledByDefault
private com.android.tools.lint.detector.api.Implementation mImplementation
static final boolean $assertionsDisabled
private void (java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.android.tools.lint.detector.api.Category, int, com.android.tools.lint.detector.api.Severity, com.android.tools.lint.detector.api.Implementation)
String id
String shortDescription
String description
String explanation
com.android.tools.lint.detector.api.Category category
int priority
com.android.tools.lint.detector.api.Severity severity
com.android.tools.lint.detector.api.Implementation implementation
public static com.android.tools.lint.detector.api.Issue create (java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.android.tools.lint.detector.api.Category, int, com.android.tools.lint.detector.api.Severity, com.android.tools.lint.detector.api.Implementation)
String id
String briefDescription
String description
String explanation
com.android.tools.lint.detector.api.Category category
int priority
com.android.tools.lint.detector.api.Severity severity
com.android.tools.lint.detector.api.Implementation implementation
public java.lang.String getId ()
public java.lang.String getBriefDescription (com.android.tools.lint.detector.api.Issue$OutputFormat)
com.android.tools.lint.detector.api.Issue$OutputFormat format
public java.lang.String getDescription (com.android.tools.lint.detector.api.Issue$OutputFormat)
com.android.tools.lint.detector.api.Issue$OutputFormat format
public java.lang.String getExplanation (com.android.tools.lint.detector.api.Issue$OutputFormat)
com.android.tools.lint.detector.api.Issue$OutputFormat format
public com.android.tools.lint.detector.api.Category getCategory ()
public int getPriority ()
public com.android.tools.lint.detector.api.Severity getDefaultSeverity ()
public java.util.List getMoreInfo ()
public com.android.tools.lint.detector.api.Issue addMoreInfo (java.lang.String)
String existing
java.util.List list
String moreInfoUrl
public boolean isEnabledByDefault ()
public com.android.tools.lint.detector.api.Implementation getImplementation ()
public void setImplementation (com.android.tools.lint.detector.api.Implementation)
com.android.tools.lint.detector.api.Implementation implementation
public int compareTo (com.android.tools.lint.detector.api.Issue)
com.android.tools.lint.detector.api.Issue other
public com.android.tools.lint.detector.api.Issue setEnabledByDefault (boolean)
boolean enabledByDefault
public java.lang.String toString ()
public static java.lang.String convertMarkup (java.lang.String, boolean)
String tag
int end
char d
String url
int end
char last
char c
int i
String text
boolean html
StringBuilder sb
char prev
int flushIndex
int n
private static void appendEscapedText (java.lang.StringBuilder, java.lang.String, boolean, int, int)
char c
int i
char c
int i
StringBuilder sb
String text
boolean html
int start
int end
public volatile int compareTo (java.lang.Object)
Object x0
static void ()
}
com/android/tools/lint/detector/api/JavaContext.classJavaContext.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.JavaContext extends com.android.tools.lint.detector.api.Context {
static final String SUPPRESS_COMMENT_PREFIX
public lombok.ast.Node compilationUnit
public com.android.tools.lint.client.api.IJavaParser parser
static final boolean $assertionsDisabled
public void (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.io.File)
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File file
public com.android.tools.lint.detector.api.Location getLocation (lombok.ast.Node)
lombok.ast.Node node
public void report (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
public void report (com.android.tools.lint.detector.api.Issue, lombok.ast.Node, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Issue issue
lombok.ast.Node scope
com.android.tools.lint.detector.api.Location location
String message
Object data
public static lombok.ast.Node findSurroundingMethod (lombok.ast.Node)
Class type
lombok.ast.Node scope
public static lombok.ast.ClassDeclaration findSurroundingClass (lombok.ast.Node)
Class type
lombok.ast.Node scope
protected java.lang.String getSuppressCommentPrefix ()
public boolean isSuppressed (lombok.ast.Node, com.android.tools.lint.detector.api.Issue)
lombok.ast.Node scope
com.android.tools.lint.detector.api.Issue issue
String contents
lombok.ast.Position position
int start
static void ()
}
com/android/tools/lint/detector/api/LayoutDetector.classLayoutDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.LayoutDetector extends com.android.tools.lint.detector.api.ResourceXmlDetector {
public void ()
public boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
private static boolean isFillParent (org.w3c.dom.Element, java.lang.String)
org.w3c.dom.Element element
String dimension
String width
protected static boolean isWidthFillParent (org.w3c.dom.Element)
org.w3c.dom.Element element
protected static boolean isHeightFillParent (org.w3c.dom.Element)
org.w3c.dom.Element element
protected boolean hasPadding (org.w3c.dom.Element)
org.w3c.dom.Element root
}
com/android/tools/lint/detector/api/LintUtils.classLintUtils.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.LintUtils extends java.lang.Object {
private static final String UTF_8
private static final String UTF_16
private static final String UTF_16LE
static final boolean $assertionsDisabled
private void ()
public static java.lang.String formatList (java.util.List, int)
int i
int n
java.util.List strings
int maxItems
StringBuilder sb
public static boolean isFileBasedResourceType (com.android.resources.ResourceType)
com.android.resources.ResourceFolderType folderType
java.util.Iterator i$
com.android.resources.ResourceType type
java.util.List folderTypes
public static boolean isXmlFile (java.io.File)
java.io.File file
String string
public static boolean endsWith (java.lang.String, java.lang.String)
String string
String suffix
public static boolean startsWith (java.lang.String, java.lang.String, int)
String string
String prefix
int offset
public static java.lang.String getBaseName (java.lang.String)
String fileName
int extension
public static java.util.List getChildren (org.w3c.dom.Node)
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Node node
org.w3c.dom.NodeList childNodes
java.util.List children
public static int getChildCount (org.w3c.dom.Node)
org.w3c.dom.Node child
int i
int n
org.w3c.dom.Node node
org.w3c.dom.NodeList childNodes
int childCount
public static boolean isRootElement (org.w3c.dom.Element)
org.w3c.dom.Element element
public static java.lang.String stripIdPrefix (java.lang.String)
String id
public static boolean idReferencesMatch (java.lang.String, java.lang.String)
String id1
String id2
public static int editDistance (java.lang.String, java.lang.String)
int i
int j
int deletion
int insertion
int substitution
int i
int j
String s
String t
int m
int n
int[][] d
public static boolean assertionsEnabled ()
boolean assertionsEnabled
public static java.lang.String getLayoutName (java.io.File)
java.io.File layoutFile
String name
int dotIndex
public static java.lang.Iterable splitPath (java.lang.String)
String p
int i
int n
String path
java.util.List combined
public static java.io.File getCommonParent (java.util.List)
int i
java.io.File common
java.util.List files
int fileCount
public static java.io.File getCommonParent (java.io.File, java.io.File)
java.io.File second
java.io.File first
java.io.File file1
java.io.File file2
public static java.lang.String getEncodedString (com.android.tools.lint.client.api.LintClient, java.io.File) throws java.io.IOException
com.android.tools.lint.client.api.LintClient client
java.io.File file
byte[] bytes
public static java.lang.String getEncodedString (byte[])
int lineEnd
java.io.UnsupportedEncodingException u
java.io.UnsupportedEncodingException e
byte[] data
int offset
String defaultCharset
String charset
int length
boolean seenOddZero
boolean seenEvenZero
String text
public static boolean isStaticInnerClass (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.FieldNode field
Object f
java.util.Iterator i$
org.objectweb.asm.tree.ClassNode classNode
java.util.List fieldList
public static boolean isAnonymousClass (org.objectweb.asm.tree.ClassNode)
org.objectweb.asm.tree.ClassNode classNode
String name
int index
public static int getPrevOpcode (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.AbstractInsnNode prev
public static org.objectweb.asm.tree.AbstractInsnNode getPrevInstruction (org.objectweb.asm.tree.AbstractInsnNode)
int type
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.AbstractInsnNode prev
public static int getNextOpcode (org.objectweb.asm.tree.AbstractInsnNode)
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.AbstractInsnNode next
public static org.objectweb.asm.tree.AbstractInsnNode getNextInstruction (org.objectweb.asm.tree.AbstractInsnNode)
int type
org.objectweb.asm.tree.AbstractInsnNode node
org.objectweb.asm.tree.AbstractInsnNode next
public static boolean isManifestFolder (java.io.File)
java.io.File dir
boolean hasManifest
public static java.lang.String getLocaleAndRegion (java.lang.String)
char first
char second
char first
char second
int qualifierLength
String qualifier
java.util.Iterator i$
String folderName
String locale
public static boolean isImported (lombok.ast.Node, java.lang.String)
lombok.ast.ImportDeclaration importDeclaration
String fqn
lombok.ast.Node rootNode
java.util.Iterator i$
lombok.ast.Node compilationUnit
String fullyQualifiedName
int dotIndex
int dotLength
boolean imported
public static java.util.List getStyleAttributes (com.android.tools.lint.detector.api.Project, com.android.tools.lint.client.api.LintClient, java.lang.String, java.lang.String, java.lang.String)
com.android.ide.common.resources.ResourceUrl p
String parentName
com.android.ide.common.rendering.api.StyleResourceValue srv
com.android.ide.common.rendering.api.ResourceValue value
String parent
int index
com.android.ide.common.rendering.api.ResourceValue rv
com.android.ide.common.res2.ResourceItem item
java.util.Iterator i$
com.android.ide.common.rendering.api.ResourceValue front
String name
java.util.List items
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.LintClient client
String styleUrl
String namespace
String attribute
com.android.ide.common.res2.AbstractResourceRepository resources
com.android.ide.common.resources.ResourceUrl style
java.util.List result
java.util.Queue queue
java.util.Set seen
int count
boolean isFrameworkAttribute
public static java.util.List getInheritedStyles (com.android.tools.lint.detector.api.Project, com.android.tools.lint.client.api.LintClient, java.lang.String)
com.android.ide.common.resources.ResourceUrl p
String parentName
com.android.ide.common.rendering.api.StyleResourceValue srv
String parent
int index
com.android.ide.common.rendering.api.ResourceValue rv
com.android.ide.common.res2.ResourceItem item
java.util.Iterator i$
com.android.ide.common.rendering.api.ResourceValue front
String name
java.util.List items
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.client.api.LintClient client
String styleUrl
com.android.ide.common.res2.AbstractResourceRepository resources
com.android.ide.common.resources.ResourceUrl style
java.util.List result
java.util.Queue queue
java.util.Set seen
int count
public static boolean isSameResourceFile (java.io.File, java.io.File)
java.io.File parent1
java.io.File parent2
java.io.File file1
java.io.File file2
static void ()
}
com/android/tools/lint/detector/api/Location$DefaultLocationHandle.classLocation.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Location$DefaultLocationHandle extends java.lang.Object implements com.android.tools.lint.detector.api.Location$Handle {
private final java.io.File mFile
private final String mContents
private final int mStartOffset
private final int mEndOffset
private Object mClientData
public void (com.android.tools.lint.detector.api.Context, int, int)
com.android.tools.lint.detector.api.Context context
int startOffset
int endOffset
public com.android.tools.lint.detector.api.Location resolve ()
public void setClientData (java.lang.Object)
Object clientData
public java.lang.Object getClientData ()
}
com/android/tools/lint/detector/api/Location$Handle.classLocation.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Location$Handle extends java.lang.Object {
public abstract com.android.tools.lint.detector.api.Location resolve ()
public abstract void setClientData (java.lang.Object)
public abstract java.lang.Object getClientData ()
}
com/android/tools/lint/detector/api/Location$ResourceItemHandle.classLocation.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Location$ResourceItemHandle extends java.lang.Object implements com.android.tools.lint.detector.api.Location$Handle {
private final com.android.ide.common.res2.ResourceItem mItem
static final boolean $assertionsDisabled
public void (com.android.ide.common.res2.ResourceItem)
com.android.ide.common.res2.ResourceItem item
public com.android.tools.lint.detector.api.Location resolve ()
com.android.ide.common.res2.ResourceFile source
public void setClientData (java.lang.Object)
Object clientData
public java.lang.Object getClientData ()
static void ()
}
com/android/tools/lint/detector/api/Location$SearchDirection.classLocation.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Location$SearchDirection extends java.lang.Enum {
public static final com.android.tools.lint.detector.api.Location$SearchDirection FORWARD
public static final com.android.tools.lint.detector.api.Location$SearchDirection BACKWARD
public static final com.android.tools.lint.detector.api.Location$SearchDirection EOL_BACKWARD
public static final com.android.tools.lint.detector.api.Location$SearchDirection NEAREST
private static final com.android.tools.lint.detector.api.Location$SearchDirection[] $VALUES
public static com.android.tools.lint.detector.api.Location$SearchDirection[] values ()
public static com.android.tools.lint.detector.api.Location$SearchDirection valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/tools/lint/detector/api/Location$SearchHints.classLocation.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Location$SearchHints extends java.lang.Object {
private final com.android.tools.lint.detector.api.Location$SearchDirection mDirection
private boolean mWholeWord
private boolean mJavaSymbol
private boolean mConstructor
private void (com.android.tools.lint.detector.api.Location$SearchDirection)
com.android.tools.lint.detector.api.Location$SearchDirection direction
public static com.android.tools.lint.detector.api.Location$SearchHints create (com.android.tools.lint.detector.api.Location$SearchDirection)
com.android.tools.lint.detector.api.Location$SearchDirection direction
public com.android.tools.lint.detector.api.Location$SearchHints matchWholeWord ()
public boolean isWholeWord ()
public com.android.tools.lint.detector.api.Location$SearchHints matchJavaSymbol ()
public boolean isJavaSymbol ()
public com.android.tools.lint.detector.api.Location$SearchHints matchConstructor ()
public boolean isConstructor ()
static com.android.tools.lint.detector.api.Location$SearchDirection access$000 (com.android.tools.lint.detector.api.Location$SearchHints)
com.android.tools.lint.detector.api.Location$SearchHints x0
}
com/android/tools/lint/detector/api/Location.classLocation.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Location extends java.lang.Object {
private static final String SUPER_KEYWORD
private final java.io.File mFile
private final com.android.tools.lint.detector.api.Position mStart
private final com.android.tools.lint.detector.api.Position mEnd
private String mMessage
private com.android.tools.lint.detector.api.Location mSecondary
private Object mClientData
static final boolean $assertionsDisabled
protected void (java.io.File, com.android.tools.lint.detector.api.Position, com.android.tools.lint.detector.api.Position)
java.io.File file
com.android.tools.lint.detector.api.Position start
com.android.tools.lint.detector.api.Position end
public java.io.File getFile ()
public com.android.tools.lint.detector.api.Position getStart ()
public com.android.tools.lint.detector.api.Position getEnd ()
public com.android.tools.lint.detector.api.Location getSecondary ()
public void setSecondary (com.android.tools.lint.detector.api.Location)
com.android.tools.lint.detector.api.Location secondary
public void setMessage (java.lang.String)
String message
public java.lang.String getMessage ()
public void setClientData (java.lang.Object)
Object clientData
public java.lang.Object getClientData ()
public java.lang.String toString ()
public static com.android.tools.lint.detector.api.Location create (java.io.File)
java.io.File file
public static com.android.tools.lint.detector.api.Location create (java.io.File, com.android.tools.lint.detector.api.Position, com.android.tools.lint.detector.api.Position)
java.io.File file
com.android.tools.lint.detector.api.Position start
com.android.tools.lint.detector.api.Position end
public static com.android.tools.lint.detector.api.Location create (java.io.File, java.lang.String, int, int)
com.android.tools.lint.detector.api.Position end
char c
int offset
java.io.File file
String contents
int startOffset
int endOffset
int size
com.android.tools.lint.detector.api.Position start
int line
int lineOffset
char prev
public static com.android.tools.lint.detector.api.Location create (java.io.File, java.lang.String, int)
java.io.File file
String contents
int line
public static com.android.tools.lint.detector.api.Location create (java.io.File, java.lang.String, int, java.lang.String, java.lang.String, com.android.tools.lint.detector.api.Location$SearchHints)
int index
int lineEnd
int index
int index
int index
int index
int index
int before
int after
int end
int lineStart
int column
com.android.tools.lint.detector.api.Location$SearchDirection direction
int index
com.android.tools.lint.detector.api.Position position
java.io.File file
String contents
int line
String patternStart
String patternEnd
com.android.tools.lint.detector.api.Location$SearchHints hints
int currentLine
int offset
private static int findPreviousMatch (java.lang.String, int, java.lang.String, com.android.tools.lint.detector.api.Location$SearchHints)
int index
String contents
int offset
String pattern
com.android.tools.lint.detector.api.Location$SearchHints hints
private static int findNextMatch (java.lang.String, int, java.lang.String, com.android.tools.lint.detector.api.Location$SearchHints)
int index
int index
String contents
int offset
String pattern
com.android.tools.lint.detector.api.Location$SearchHints hints
int constructorIndex
private static boolean isMatch (java.lang.String, int, java.lang.String, com.android.tools.lint.detector.api.Location$SearchHints)
char c
int index
char prevChar
int lastIndex
char nextChar
String contents
int offset
String pattern
com.android.tools.lint.detector.api.Location$SearchHints hints
private static int adjustLine (java.lang.String, int, int, int)
String doc
int line
int offset
int newOffset
private static int countLines (java.lang.String, int, int)
char c
int offset
String doc
int start
int end
int lines
public static com.android.tools.lint.detector.api.Location reverse (com.android.tools.lint.detector.api.Location)
com.android.tools.lint.detector.api.Location nextNext
com.android.tools.lint.detector.api.Location location
com.android.tools.lint.detector.api.Location next
static void ()
}
com/android/tools/lint/detector/api/Position.classPosition.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.Position extends java.lang.Object {
public void ()
public abstract int getLine ()
public abstract int getOffset ()
public abstract int getColumn ()
}
com/android/tools/lint/detector/api/Project.classProject.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.Project extends java.lang.Object {
protected final com.android.tools.lint.client.api.LintClient mClient
protected final java.io.File mDir
protected final java.io.File mReferenceDir
protected com.android.tools.lint.client.api.Configuration mConfiguration
protected String mPackage
protected int mMinSdk
protected int mTargetSdk
protected int mBuildSdk
protected boolean mLibrary
protected String mName
protected String mProguardPath
protected boolean mMergeManifests
protected com.android.tools.lint.client.api.SdkInfo mSdkInfo
protected java.util.List mFiles
protected java.util.List mProguardFiles
protected java.util.List mGradleFiles
protected java.util.List mManifestFiles
protected java.util.List mJavaSourceFolders
protected java.util.List mJavaClassFolders
protected java.util.List mJavaLibraries
protected java.util.List mResourceFolders
protected java.util.List mDirectLibraries
protected java.util.List mAllLibraries
protected boolean mReportIssues
protected Boolean mGradleProject
protected Boolean mSupportLib
private static Boolean sAospBuild
private static int sCurrentVersion
static final boolean $assertionsDisabled
public static com.android.tools.lint.detector.api.Project create (com.android.tools.lint.client.api.LintClient, java.io.File, java.io.File)
com.android.tools.lint.client.api.LintClient client
java.io.File dir
java.io.File referenceDir
public boolean isGradleProject ()
public boolean isAndroidProject ()
public com.android.builder.model.AndroidProject getGradleProjectModel ()
public com.android.builder.model.AndroidLibrary getGradleLibraryModel ()
public com.android.builder.model.Variant getCurrentVariant ()
protected 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 dir
java.io.File referenceDir
protected void initialize ()
NumberFormatException nufe
String versionString
int index
java.io.File file
com.android.tools.lint.detector.api.Project libraryPrj
com.android.tools.lint.client.api.CircularDependencyException e
String key
String library
java.io.File libraryDir
java.io.File libraryReferenceDir
int i
String value
String proguardPath
String target
java.io.BufferedInputStream is
java.util.Properties properties
java.io.File propFile
java.io.IOException ioe
public java.lang.String toString ()
public int hashCode ()
public boolean equals (java.lang.Object)
Object obj
com.android.tools.lint.detector.api.Project other
public void addFile (java.io.File)
java.io.File file
public java.util.List getSubset ()
public java.util.List getJavaSourceFolders ()
String top
public java.util.List getJavaClassFolders ()
String relative
java.io.File jar
java.io.File out
java.io.File top
String top
public java.util.List getJavaLibraries ()
public java.util.List getResourceFolders ()
java.io.File folder
java.util.List folders
public java.lang.String getDisplayPath (java.io.File)
int length
java.io.File file
String path
String referencePath
public java.lang.String getRelativePath (java.io.File)
int length
java.io.File file
String path
String referencePath
public java.io.File getDir ()
public java.io.File getReferenceDir ()
public com.android.tools.lint.client.api.Configuration getConfiguration ()
public java.lang.String getPackage ()
public int getMinSdk ()
public int getTargetSdk ()
public int getBuildSdk ()
public void readManifest (org.w3c.dom.Document)
NumberFormatException e
NumberFormatException e
org.w3c.dom.Element element
String minSdk
String targetSdk
org.w3c.dom.Document document
org.w3c.dom.Element root
org.w3c.dom.NodeList usesSdks
public boolean isLibrary ()
public java.util.List getDirectLibraries ()
public java.util.List getAllLibraries ()
java.util.List all
java.util.Set seen
java.util.Set path
private void addLibraryProjects (java.util.Collection, java.util.Set, java.util.Set)
com.android.tools.lint.detector.api.Project library
java.util.Iterator i$
java.util.Collection collection
java.util.Set seen
java.util.Set path
public com.android.tools.lint.client.api.SdkInfo getSdkInfo ()
public java.util.List getManifestFiles ()
java.io.File manifestFile
public java.util.List getProguardFiles ()
java.io.File file
String path
java.util.Iterator i$
com.google.common.base.Splitter splitter
java.io.File file
java.util.List files
public java.util.List getGradleBuildScripts ()
java.io.File build
java.io.File settings
public java.lang.String getName ()
public void setName (java.lang.String)
String name
public void setReportIssues (boolean)
boolean reportIssues
public boolean getReportIssues ()
public void setMergingManifests (boolean)
boolean merging
public boolean isMergingManifests ()
private static boolean isAospBuildEnvironment ()
public static boolean isAospFrameworksProject (java.io.File)
java.io.File dir
java.io.File parent
private static java.lang.String getAospTop ()
private static java.lang.String getAospHostOut ()
private static java.lang.String getAospProductOut ()
private java.util.List getAospJavaSourcePath ()
java.io.File classes
java.io.File dir
java.util.Iterator i$
java.util.List sources
java.io.File src
private java.util.List getAospJavaClassPath ()
java.io.File classes
java.io.File dir
java.util.Iterator i$
java.util.List classDirs
private java.util.List getIntermediateDirs ()
String path
java.io.File file
String moduleClass
String[] arr$
int len$
int i$
String out
String[] arr$
int len$
int i$
java.util.List intermediates
String moduleName
String top
String[] outFolders
String[] moduleClasses
private void extractAospMinSdkVersion ()
NumberFormatException e
String version
java.util.regex.Matcher matcher
String line
java.util.Iterator i$
java.util.List lines
java.util.regex.Pattern p
java.io.IOException ioe
boolean found
java.io.File makefile
private static int findCurrentAospVersion ()
int version
NumberFormatException nufe
String base
String name
int index
java.io.File apiFile
java.io.File[] arr$
int len$
int i$
java.io.File apiDir
java.io.File[] apiFiles
int max
public java.lang.Boolean dependsOn (java.lang.String)
String name
java.io.File file
java.util.Iterator i$
Boolean b
com.android.tools.lint.detector.api.Project dependency
java.util.Iterator i$
String artifact
static void ()
}
com/android/tools/lint/detector/api/ResourceXmlDetector.classResourceXmlDetector.java
package com.android.tools.lint.detector.api
public abstract com.android.tools.lint.detector.api.ResourceXmlDetector extends com.android.tools.lint.detector.api.Detector implements com.android.tools.lint.detector.api.Detector$XmlScanner {
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 boolean appliesTo (com.android.resources.ResourceFolderType)
com.android.resources.ResourceFolderType folderType
public void run (com.android.tools.lint.detector.api.Context)
com.android.tools.lint.detector.api.Context context
static void ()
}
com/android/tools/lint/detector/api/Scope.classScope.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Scope extends java.lang.Enum {
public static final com.android.tools.lint.detector.api.Scope RESOURCE_FILE
public static final com.android.tools.lint.detector.api.Scope ALL_RESOURCE_FILES
public static final com.android.tools.lint.detector.api.Scope JAVA_FILE
public static final com.android.tools.lint.detector.api.Scope ALL_JAVA_FILES
public static final com.android.tools.lint.detector.api.Scope CLASS_FILE
public static final com.android.tools.lint.detector.api.Scope ALL_CLASS_FILES
public static final com.android.tools.lint.detector.api.Scope MANIFEST
public static final com.android.tools.lint.detector.api.Scope PROGUARD_FILE
public static final com.android.tools.lint.detector.api.Scope JAVA_LIBRARIES
public static final com.android.tools.lint.detector.api.Scope GRADLE_FILE
public static final com.android.tools.lint.detector.api.Scope OTHER
public static final java.util.EnumSet ALL
public static final java.util.EnumSet RESOURCE_FILE_SCOPE
public static final java.util.EnumSet ALL_RESOURCES_SCOPE
public static final java.util.EnumSet JAVA_FILE_SCOPE
public static final java.util.EnumSet CLASS_FILE_SCOPE
public static final java.util.EnumSet GRADLE_SCOPE
public static final java.util.EnumSet MANIFEST_SCOPE
public static final java.util.EnumSet OTHER_SCOPE
public static final java.util.EnumSet PROGUARD_SCOPE
public static final java.util.EnumSet JAVA_AND_RESOURCE_FILES
public static final java.util.EnumSet CLASS_AND_ALL_RESOURCE_FILES
public static final java.util.EnumSet ALL_CLASSES_AND_LIBRARIES
public static final java.util.EnumSet JAVA_LIBRARY_SCOPE
private static final com.android.tools.lint.detector.api.Scope[] $VALUES
public static com.android.tools.lint.detector.api.Scope[] values ()
public static com.android.tools.lint.detector.api.Scope valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public static boolean checkSingleFile (java.util.EnumSet)
java.util.EnumSet scopes
int size
public static java.util.EnumSet intersect (java.util.EnumSet, java.util.EnumSet)
java.util.EnumSet scope1
java.util.EnumSet scope2
java.util.EnumSet scope
public static java.util.EnumSet infer (java.util.Collection)
String name
java.io.File file
java.util.Iterator i$
java.util.List subset
com.android.tools.lint.detector.api.Project project
java.util.Iterator i$
java.util.Collection projects
java.util.EnumSet scope
static void ()
}
com/android/tools/lint/detector/api/Severity.classSeverity.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Severity extends java.lang.Enum {
public static final com.android.tools.lint.detector.api.Severity FATAL
public static final com.android.tools.lint.detector.api.Severity ERROR
public static final com.android.tools.lint.detector.api.Severity WARNING
public static final com.android.tools.lint.detector.api.Severity INFORMATIONAL
public static final com.android.tools.lint.detector.api.Severity IGNORE
private final String mDisplay
private static final com.android.tools.lint.detector.api.Severity[] $VALUES
public static com.android.tools.lint.detector.api.Severity[] values ()
public static com.android.tools.lint.detector.api.Severity valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String display
public java.lang.String getDescription ()
public java.lang.String getName ()
public static com.android.tools.lint.detector.api.Severity fromName (java.lang.String)
com.android.tools.lint.detector.api.Severity severity
com.android.tools.lint.detector.api.Severity[] arr$
int len$
int i$
String name
static void ()
}
com/android/tools/lint/detector/api/Speed.classSpeed.java
package com.android.tools.lint.detector.api
public final com.android.tools.lint.detector.api.Speed extends java.lang.Enum {
public static final com.android.tools.lint.detector.api.Speed FAST
public static final com.android.tools.lint.detector.api.Speed NORMAL
public static final com.android.tools.lint.detector.api.Speed SLOW
private final String mDisplayName
private static final com.android.tools.lint.detector.api.Speed[] $VALUES
public static com.android.tools.lint.detector.api.Speed[] values ()
public static com.android.tools.lint.detector.api.Speed valueOf (java.lang.String)
String name
private void (java.lang.String, int, java.lang.String)
String displayName
public java.lang.String getDisplayName ()
static void ()
}
com/android/tools/lint/detector/api/XmlContext.classXmlContext.java
package com.android.tools.lint.detector.api
public com.android.tools.lint.detector.api.XmlContext extends com.android.tools.lint.detector.api.Context {
static final String SUPPRESS_COMMENT_PREFIX
public com.android.tools.lint.client.api.IDomParser parser
public org.w3c.dom.Document document
private final com.android.resources.ResourceFolderType mFolderType
static final boolean $assertionsDisabled
public void (com.android.tools.lint.client.api.LintDriver, com.android.tools.lint.detector.api.Project, com.android.tools.lint.detector.api.Project, java.io.File, com.android.resources.ResourceFolderType)
com.android.tools.lint.client.api.LintDriver driver
com.android.tools.lint.detector.api.Project project
com.android.tools.lint.detector.api.Project main
java.io.File file
com.android.resources.ResourceFolderType folderType
public com.android.tools.lint.detector.api.Location getLocation (org.w3c.dom.Node)
org.w3c.dom.Node node
public com.android.tools.lint.detector.api.Location getLocation (org.w3c.dom.Node, int, int)
org.w3c.dom.Node textNode
int begin
int end
public void report (com.android.tools.lint.detector.api.Issue, org.w3c.dom.Node, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Issue issue
org.w3c.dom.Node scope
com.android.tools.lint.detector.api.Location location
String message
Object data
public void report (com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object)
com.android.tools.lint.detector.api.Issue issue
com.android.tools.lint.detector.api.Location location
String message
Object data
public com.android.resources.ResourceFolderType getResourceFolderType ()
protected java.lang.String getSuppressCommentPrefix ()
public boolean isSuppressed (org.w3c.dom.Node, com.android.tools.lint.detector.api.Issue)
int start
org.w3c.dom.Node node
com.android.tools.lint.detector.api.Issue issue
String contents
static void ()
}
NOTICE