A C D E F G H I L M O P R S T V W X

A

addLocalResources(URL) - Method in class com.android.tools.lint.Reporter
Returns a URL to a local copy of the given resource, or null.
appendEscapedText(String) - Method in class com.android.tools.lint.HtmlReporter
 

C

com.android.tools.lint - package com.android.tools.lint
 
compareTo(Warning) - Method in class com.android.tools.lint.Warning
 
computeMissingIssues(List<Warning>) - Method in class com.android.tools.lint.HtmlReporter
 
createCompilerOptions() - Static method in class com.android.tools.lint.EcjParser
Create the default compiler options
createConfigurationFromFile(File) - Method in class com.android.tools.lint.LintCliClient
 
createLintRequest(List<File>) - Method in class com.android.tools.lint.LintCliClient
Creates a lint request
createLocationHandle(JavaContext, Node) - Method in class com.android.tools.lint.EcjParser
 
createLocationHandle(XmlContext, Node) - Method in class com.android.tools.lint.LintCliXmlParser
 

D

data - Variable in class com.android.tools.lint.Warning
 
dispose(JavaContext, Node) - Method in class com.android.tools.lint.EcjParser
 

E

EcjParser - Class in com.android.tools.lint
Java parser which uses ECJ for parsing and type attribution
EcjParser(LintCliClient, Project) - Constructor for class com.android.tools.lint.EcjParser
 
equals(Object) - Method in class com.android.tools.lint.Warning
 
ERRNO_ERRORS - Static variable in class com.android.tools.lint.LintCliFlags
 
ERRNO_EXISTS - Static variable in class com.android.tools.lint.LintCliFlags
 
ERRNO_HELP - Static variable in class com.android.tools.lint.LintCliFlags
 
ERRNO_INVALID_ARGS - Static variable in class com.android.tools.lint.LintCliFlags
 
ERRNO_SUCCESS - Static variable in class com.android.tools.lint.LintCliFlags
 
ERRNO_USAGE - Static variable in class com.android.tools.lint.LintCliFlags
 
errorLine - Variable in class com.android.tools.lint.Warning
 

F

file - Variable in class com.android.tools.lint.Warning
 
fileContents - Variable in class com.android.tools.lint.Warning
 

G

getClassesOverride() - Method in class com.android.tools.lint.LintCliFlags
Gets the optional manual override of the class file directories.
getClassPath(Project) - Method in class com.android.tools.lint.LintCliClient
 
getConfiguration(Project) - Method in class com.android.tools.lint.LintCliClient
 
getDefaultConfiguration() - Method in class com.android.tools.lint.LintCliFlags
Returns the default configuration file to use as a fallback
getEnabledIds() - Method in class com.android.tools.lint.LintCliFlags
Returns the set of issue id's to enable.
getExactCheckedIds() - Method in class com.android.tools.lint.LintCliFlags
Returns the exact set of issues to check, or null to run the issues that are enabled by default plus any issues enabled via LintCliFlags.getEnabledIds() and without issues disabled via LintCliFlags.getSuppressedIds().
getExcludedVariantNames() - Method in class com.android.tools.lint.Warning
 
getIncludedVariantNames() - Method in class com.android.tools.lint.Warning
 
getJavaParser(Project) - Method in class com.android.tools.lint.LintCliClient
 
getLanguageLevel(int, int) - Static method in class com.android.tools.lint.EcjParser
 
getLibrariesOverride() - Method in class com.android.tools.lint.LintCliFlags
Gets the optional manual override of the library directories.
getLocation(JavaContext, Node) - Method in class com.android.tools.lint.EcjParser
 
getLocation(XmlContext, Node) - Method in class com.android.tools.lint.LintCliXmlParser
 
getLocation(XmlContext, Node, int, int) - Method in class com.android.tools.lint.LintCliXmlParser
 
getNodeEndOffset(XmlContext, Node) - Method in class com.android.tools.lint.LintCliXmlParser
 
getNodeStartOffset(XmlContext, Node) - Method in class com.android.tools.lint.LintCliXmlParser
 
getRelativeResourceUrl(File) - Method in class com.android.tools.lint.Reporter
Returns a URL to a local copy of the given file, or null
getReporters() - Method in class com.android.tools.lint.LintCliFlags
Returns the list of error reports to generate.
getResourceFolders(Project) - Method in class com.android.tools.lint.LintCliClient
 
getResourcesOverride() - Method in class com.android.tools.lint.LintCliFlags
Gets the optional manual override of the resources directories.
getSeverityOverrides() - Method in class com.android.tools.lint.LintCliFlags
Returns a map of manually configured severities to use
getSourcesOverride() - Method in class com.android.tools.lint.LintCliFlags
Gets the optional manual override of the source directories.
getSuppressedIds() - Method in class com.android.tools.lint.LintCliFlags
Returns the set of issue id's to suppress.
getTitle() - Method in class com.android.tools.lint.Reporter
 
getType(JavaContext, Node) - Method in class com.android.tools.lint.EcjParser
 
getXmlParser() - Method in class com.android.tools.lint.LintCliClient
 
gradleProject - Variable in class com.android.tools.lint.Warning
 

H

hashCode() - Method in class com.android.tools.lint.Warning
 
haveErrors() - Method in class com.android.tools.lint.LintCliClient
 
HtmlReporter - Class in com.android.tools.lint
A reporter which emits lint results into an HTML report.
HtmlReporter(LintCliClient, File) - Constructor for class com.android.tools.lint.HtmlReporter
Creates a new HtmlReporter

I

includesMoreThanExcludes() - Method in class com.android.tools.lint.Warning
 
isCheckAllWarnings() - Method in class com.android.tools.lint.LintCliFlags
Returns whether lint should check all warnings, including those off by default
isDisplayEmpty() - Method in class com.android.tools.lint.Reporter
Returns whether this report should display info (such as a path to the report) if no issues were found
isExplainIssues() - Method in class com.android.tools.lint.LintCliFlags
Whether text reports should include full explanation texts.
isFatalOnly() - Method in class com.android.tools.lint.LintCliFlags
Returns true if we should only check fatal issues
isFullPath() - Method in class com.android.tools.lint.LintCliFlags
Whether lint should display full paths in the error output.
isIgnoreWarnings() - Method in class com.android.tools.lint.LintCliFlags
Returns whether lint will only check for errors (ignoring warnings)
isQuiet() - Method in class com.android.tools.lint.LintCliFlags
Returns whether lint should be quiet (for example, not show progress dots for each analyzed file)
isSetExitCode() - Method in class com.android.tools.lint.LintCliFlags
Whether lint should set the exit code of the process if errors are found
isShowEverything() - Method in class com.android.tools.lint.LintCliFlags
Returns whether lint should include all output (e.g.
isShowSourceLines() - Method in class com.android.tools.lint.LintCliFlags
Whether lint should include the source lines in the output where errors occurred (true by default)
isSimpleFormat() - Method in class com.android.tools.lint.Reporter
Returns whether the report should use simple formatting (meaning no JavaScript, embedded images, etc).
issue - Variable in class com.android.tools.lint.Warning
 
isVariantSpecific() - Method in class com.android.tools.lint.Warning
 
isWarningsAsErrors() - Method in class com.android.tools.lint.LintCliFlags
Returns whether lint should treat all warnings as errors

L

line - Variable in class com.android.tools.lint.Warning
 
LintCliClient - Class in com.android.tools.lint
Lint client for command line usage.
LintCliClient() - Constructor for class com.android.tools.lint.LintCliClient
Creates a CLI driver
LintCliClient(LintCliFlags) - Constructor for class com.android.tools.lint.LintCliClient
 
LintCliFlags - Class in com.android.tools.lint
Flags used by the LintCliClient
LintCliFlags() - Constructor for class com.android.tools.lint.LintCliFlags
 
LintCliXmlParser - Class in com.android.tools.lint
A customization of the PositionXmlParser which creates position objects that directly extend the lint Position class.
LintCliXmlParser() - Constructor for class com.android.tools.lint.LintCliXmlParser
 
location - Variable in class com.android.tools.lint.Warning
 
log(Severity, Throwable, String, Object...) - Method in class com.android.tools.lint.LintCliClient
 
log(Throwable, String, Object...) - Method in class com.android.tools.lint.Main
 

M

Main - Class in com.android.tools.lint
Command line driver for the lint framework
Main() - Constructor for class com.android.tools.lint.Main
Creates a CLI driver
main(String[]) - Static method in class com.android.tools.lint.Main
Runs the static analysis command line driver
mBundleResources - Variable in class com.android.tools.lint.Reporter
 
mClient - Variable in class com.android.tools.lint.Reporter
 
mDisplayEmpty - Variable in class com.android.tools.lint.Reporter
 
mDriver - Variable in class com.android.tools.lint.LintCliClient
 
mErrorCount - Variable in class com.android.tools.lint.LintCliClient
 
message - Variable in class com.android.tools.lint.Warning
 
mFlags - Variable in class com.android.tools.lint.LintCliClient
 
mHasErrors - Variable in class com.android.tools.lint.LintCliClient
 
mNameToFile - Variable in class com.android.tools.lint.Reporter
 
mOutput - Variable in class com.android.tools.lint.Reporter
 
mRegistry - Variable in class com.android.tools.lint.LintCliClient
 
mResources - Variable in class com.android.tools.lint.Reporter
 
mResourceUrl - Variable in class com.android.tools.lint.Reporter
 
mSimpleFormat - Variable in class com.android.tools.lint.Reporter
 
mTitle - Variable in class com.android.tools.lint.Reporter
 
MultiProjectHtmlReporter - Class in com.android.tools.lint
"Multiplexing" reporter which allows output to be split up into a separate report for each separate project.
MultiProjectHtmlReporter(LintCliClient, File) - Constructor for class com.android.tools.lint.MultiProjectHtmlReporter
 
mUrlMap - Variable in class com.android.tools.lint.Reporter
 
mWarningCount - Variable in class com.android.tools.lint.LintCliClient
 
mWarnings - Variable in class com.android.tools.lint.LintCliClient
 
mWriter - Variable in class com.android.tools.lint.HtmlReporter
 

O

offset - Variable in class com.android.tools.lint.Warning
 

P

parse(CompilerOptions, List<ICompilationUnit>, List<String>, Map<ICompilationUnit, CompilationUnitDeclaration>) - Static method in class com.android.tools.lint.EcjParser
Parse the given source units and class path and store it into the given output map
parseJava(JavaContext) - Method in class com.android.tools.lint.EcjParser
 
parseXml(XmlContext) - Method in class com.android.tools.lint.LintCliXmlParser
 
path - Variable in class com.android.tools.lint.Warning
 
prepareJavaParse(List<JavaContext>) - Method in class com.android.tools.lint.EcjParser
 
project - Variable in class com.android.tools.lint.Warning
 

R

readFile(File) - Method in class com.android.tools.lint.LintCliClient
 
report(Context, Issue, Severity, Location, String, Object) - Method in class com.android.tools.lint.LintCliClient
 
Reporter - Class in com.android.tools.lint
A reporter is an output generator for lint warnings
Reporter(LintCliClient, File) - Constructor for class com.android.tools.lint.Reporter
 
resolve(JavaContext, Node) - Method in class com.android.tools.lint.EcjParser
 
run(IssueRegistry, List<File>) - Method in class com.android.tools.lint.LintCliClient
Runs the static analysis command line driver.
run(String[]) - Method in class com.android.tools.lint.Main
Runs the static analysis command line driver

S

setBundleResources(boolean) - Method in class com.android.tools.lint.Reporter
Sets whether the report should bundle up resources along with the HTML report.
setCheckAllWarnings(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should check all warnings, including those off by default
setClassesOverride(List<File>) - Method in class com.android.tools.lint.LintCliFlags
Sets the optional manual override of the class file directories.
setDefaultConfiguration(File) - Method in class com.android.tools.lint.LintCliFlags
Sets the default config file to use as a fallback.
setDisplayEmpty(boolean) - Method in class com.android.tools.lint.Reporter
Sets whether this report should display info (such as a path to the report) if no issues were found
setExactCheckedIds(Set<String>) - Method in class com.android.tools.lint.LintCliFlags
Sets the exact set of issues to check.
setExplainIssues(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether text reports should include full explanation texts.
setFatalOnly(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether we should only check fatal issues
setFullPath(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should display full paths in the error output.
setIgnoreWarnings(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint will only check for errors (ignoring warnings)
setLibrariesOverride(List<File>) - Method in class com.android.tools.lint.LintCliFlags
Sets the optional manual override of the library directories.
setQuiet(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should be quiet (for example, not show progress dots for each analyzed file)
setResourcesOverride(List<File>) - Method in class com.android.tools.lint.LintCliFlags
Gets the optional manual override of the resource directories.
setSetExitCode(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should set the exit code of the process if errors are found
setSeverityOverrides(Map<String, Severity>) - Method in class com.android.tools.lint.LintCliFlags
Sets a map of severities to use
setShowEverything(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should include all output (e.g.
setShowSourceLines(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should include the source lines in the output where errors occurred (true by default)
setSimpleFormat(boolean) - Method in class com.android.tools.lint.Reporter
Sets whether the report should use simple formatting (meaning no JavaScript, embedded images, etc).
setSourcesOverride(List<File>) - Method in class com.android.tools.lint.LintCliFlags
Sets the optional manual override of the source directories.
setTitle(String) - Method in class com.android.tools.lint.Reporter
Sets the report title
setUrlMap(Map<String, String>) - Method in class com.android.tools.lint.Reporter
Set mapping of path prefixes to corresponding URLs in the HTML report
setWarningsAsErrors(boolean) - Method in class com.android.tools.lint.LintCliFlags
Sets whether lint should treat all warnings as errors
severity - Variable in class com.android.tools.lint.Warning
 

T

TextReporter - Class in com.android.tools.lint
A reporter which emits lint warnings as plain text strings
TextReporter(LintCliClient, LintCliFlags, Writer, boolean) - Constructor for class com.android.tools.lint.TextReporter
Constructs a new TextReporter
TextReporter(LintCliClient, LintCliFlags, File, Writer, boolean) - Constructor for class com.android.tools.lint.TextReporter
Constructs a new TextReporter

V

variants - Variable in class com.android.tools.lint.Warning
 

W

Warning - Class in com.android.tools.lint
A Warning represents a specific warning that a LintClient has been told about.
Warning(Issue, String, Severity, Project, Object) - Constructor for class com.android.tools.lint.Warning
 
write(int, int, List<Warning>) - Method in class com.android.tools.lint.HtmlReporter
 
write(int, int, List<Warning>) - Method in class com.android.tools.lint.MultiProjectHtmlReporter
 
write(int, int, List<Warning>) - Method in class com.android.tools.lint.Reporter
Write the given warnings into the report
write(int, int, List<Warning>) - Method in class com.android.tools.lint.TextReporter
 
write(int, int, List<Warning>) - Method in class com.android.tools.lint.XmlReporter
 
writeStyleSheet() - Method in class com.android.tools.lint.HtmlReporter
 

X

XmlReporter - Class in com.android.tools.lint
A reporter which emits lint results into an XML report.
XmlReporter(LintCliClient, File) - Constructor for class com.android.tools.lint.XmlReporter
Constructs a new XmlReporter

A C D E F G H I L M O P R S T V W X