- generateHtml(HtmlBuilder, int, int, boolean) - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
- get() - Static method in class com.android.tools.lint.LintCoreApplicationEnvironment
-
- getBaselineCreationMessage(File) - Method in class com.android.tools.lint.LintCliClient
-
- getBaselineFile() - Method in class com.android.tools.lint.LintCliFlags
-
Returns the baseline file to use, if any.
- getBaselineVariantName() - Method in class com.android.tools.lint.LintCliClient
-
- 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
-
- getClientRevision() - Method in class com.android.tools.lint.LintCliClient
-
- getCompileSdkVersionOverride() - Method in class com.android.tools.lint.LintCliFlags
-
Gets the optional compileSdkVersion override.
- getConfiguration(Project, LintDriver) - Method in class com.android.tools.lint.LintCliClient
-
- getConfiguration() - Method in class com.android.tools.lint.LintCliClient
-
Returns the configuration used by this client
- getDefaultConfiguration() - Method in class com.android.tools.lint.LintCliFlags
-
Returns the default configuration file to use as a fallback
- getDefaultSeverity(Issue) - Method in class com.android.tools.lint.LintCliClient.CliConfiguration
-
- getDisabledCategories() - Method in class com.android.tools.lint.LintCliFlags
-
Returns the set of categories to disable, if any.
- getEnabledCategories() - Method in class com.android.tools.lint.LintCliFlags
-
Returns the set of categories to enable, if any.
- getEnabledIds() - Method in class com.android.tools.lint.LintCliFlags
-
Returns the set of issue id's to enable.
- getExactCategories() - Method in class com.android.tools.lint.LintCliFlags
-
Returns the set of exact categories to check, if any.
- getExactCheckedIds() - Method in class com.android.tools.lint.LintCliFlags
-
- getExcludedVariantNames() - Method in class com.android.tools.lint.Warning
-
- getExternalAnnotationsRoots(VirtualFile) - Method in class com.android.tools.lint.LintExternalAnnotationsManager
-
- getFlags() - Method in class com.android.tools.lint.LintCliClient
-
- getGradleVisitor() - Method in class com.android.tools.lint.LintCliClient
-
- getIdeaProject() - Method in class com.android.tools.lint.LintCliClient
-
- getIncludedVariantNames() - Method in class com.android.tools.lint.Warning
-
- getLibrariesOverride() - Method in class com.android.tools.lint.LintCliFlags
-
Gets the optional manual override of the library directories.
- getLocation(XmlContext, Node) - Method in class com.android.tools.lint.LintCliXmlParser
-
- getLocation(File, Node) - Method in class com.android.tools.lint.LintCliXmlParser
-
- getLocation(XmlContext, Node, int, int) - Method in class com.android.tools.lint.LintCliXmlParser
-
- getMergedManifest(Project) - Method in class com.android.tools.lint.LintCliClient
-
- getNameLocation(XmlContext, Node) - 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
-
- getOutput() - Method in class com.android.tools.lint.Reporter
-
The report file, if any (reporters may write to stdout/stderr too)
- getPaths() - Method in class com.android.tools.lint.LintCoreProjectEnvironment
-
- getProjectDescriptorOverride() - Method in class com.android.tools.lint.LintCliFlags
-
Gets the optional manual override of the project hierarchy.
- getProjectEnvironment() - Method in class com.android.tools.lint.LintCliClient
-
- 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.
- getSeverity(Issue) - Method in class com.android.tools.lint.LintCliClient.CliConfiguration
-
- 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.
- getTargetName(String) - Method in class com.android.tools.lint.LintCliClient
-
- getTitle() - Method in class com.android.tools.lint.Reporter
-
- getUastParser(Project) - Method in class com.android.tools.lint.LintCliClient
-
- getValueLocation(XmlContext, Attr) - Method in class com.android.tools.lint.LintCliXmlParser
-
- getXmlParser() - Method in class com.android.tools.lint.LintCliClient
-
- gradleProject - Variable in class com.android.tools.lint.Warning
-
- ignoreInference(PsiModifierListOwner, String) - Method in class com.android.tools.lint.LintInferredAnnotationsManager
-
- includesMoreThanExcludes() - Method in class com.android.tools.lint.Warning
-
- initializeDriver(LintDriver) - Method in class com.android.tools.lint.Main
-
Hook intended for tests
- initializeLineNumberMap() - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
- initializeProjects(Collection<? extends Project>) - Method in class com.android.tools.lint.LintCliClient
-
- isAutoFix() - Method in class com.android.tools.lint.LintCliFlags
-
Whether to apply safe suggestions
- isCheckAllWarnings() - Method in class com.android.tools.lint.LintCliFlags
-
Returns whether lint should check all warnings, including those off by default
- isCheckDependencies() - Method in class com.android.tools.lint.LintCliFlags
-
Returns whether lint should check all dependencies too as part of its analysis.
- isCheckGeneratedSources() - Method in class com.android.tools.lint.LintCliFlags
-
Returns whether lint should run checks on generated sources.
- isCheckTestSources() - Method in class com.android.tools.lint.LintCliFlags
-
Returns whether lint should run all checks on test sources, instead of just the lint checks
that have been specifically written to include tests (e.g.
- isDedent() - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
Whether the highlighter should dedent the code (removing shared whitespace on the left) to
make as much code visible as possible
- isDisplayEmpty() - Method in class com.android.tools.lint.Reporter
-
Returns whether this report should display info 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
- isForceSingleLineRange() - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
- isForwardSlashPaths() - Method in class com.android.tools.lint.TextReporter
-
Gets whether the reporter should convert paths to forward slashes
- isFullPath() - Method in class com.android.tools.lint.LintCliFlags
-
Whether lint should display full paths in the error output.
- isIgnoreTestSources() - Method in class com.android.tools.lint.LintCliFlags
-
Like
LintCliFlags.isCheckTestSources(), but always skips analyzing tests -- meaning that it also
ignores checks that have explicitly asked to look at test sources, such as the unused
resource check.
- isIgnoreWarnings() - Method in class com.android.tools.lint.LintCliFlags
-
Returns whether lint will only check for errors (ignoring warnings)
- isInferredAnnotation(PsiAnnotation) - Method in class com.android.tools.lint.LintInferredAnnotationsManager
-
- isOverridingConfiguration() - Method in class com.android.tools.lint.LintCliClient
-
- isPadCaretLine() - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
Whether we should pad the caret line with spaces to ensure background colors are shown
- 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)
- isRemoveFixedBaselineIssues() - Method in class com.android.tools.lint.LintCliFlags
-
Whether lint will update the baseline file to remove any issues that are no longer present in
the codebase.
- 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)
- 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
- isWriteBaselineIfMissing() - Method in class com.android.tools.lint.LintCliFlags
-
If true, write the baseline file if missing.
- SDK_ANNOTATIONS_PATH - Static variable in class com.android.tools.lint.LintExternalAnnotationsManager
-
- setAutoFix(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether to apply safe suggestions
- setBaselineFile(File) - Method in class com.android.tools.lint.LintCliFlags
-
Sets the baseline file, if any.
- setCheckAllWarnings(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether lint should check all warnings, including those off by default
- setCheckDependencies(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether lint should check dependencies too
- setCheckGeneratedSources(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether lint should check generated sources
- setCheckTestSources(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether lint should run all the normal checks on test sources
- setClassesOverride(List<File>) - Method in class com.android.tools.lint.LintCliFlags
-
Sets the optional manual override of the class file directories.
- setCompileSdkVersionOverride(String) - Method in class com.android.tools.lint.LintCliFlags
-
Sets the optional compileSdkVersion override.
- setDedent(boolean) - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
Whether the highlighter should dedent the code (removing shared whitespace on the left) to
make as much code visible as possible
- 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 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
- setForceSingleLineRange(boolean) - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
- setForwardSlashPaths(boolean) - Method in class com.android.tools.lint.TextReporter
-
Sets whether the reporter should convert paths to forward slashes
- setFullPath(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether lint should display full paths in the error output.
- setIgnoreTestSources(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether we should completely skip test sources.
- 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.
- setPadCaretLine(boolean) - Method in class com.android.tools.lint.LintSyntaxHighlighter
-
Whether we should pad the caret line with spaces to ensure background colors are shown
- setProjectDescriptorOverride(File) - Method in class com.android.tools.lint.LintCliFlags
-
Sets the optional manual override of the project hierarchy.
- 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)
- setRemovedFixedBaselineIssues(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
Sets whether lint should remove fixed baseline issues.
- 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)
- setSourcesOverride(List<File>) - Method in class com.android.tools.lint.LintCliFlags
-
Sets the optional manual override of the source directories.
- setStripPrefix(String) - Method in class com.android.tools.lint.Reporter
-
Sets path prefix to strip from displayed file names
- 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
- setWriteBaselineIfMissing(boolean) - Method in class com.android.tools.lint.LintCliFlags
-
If true, write the baseline file if missing.
- setWriteStats(boolean) - Method in class com.android.tools.lint.TextReporter
-
Whether the report should include stats.
- severity - Variable in class com.android.tools.lint.Warning
-
- STDERR - Static variable in class com.android.tools.lint.Reporter
-
- STDOUT - Static variable in class com.android.tools.lint.Reporter
-
- stripPath(String) - Method in class com.android.tools.lint.Reporter
-
- syncConfigOptions() - Method in class com.android.tools.lint.LintCliClient
-
Synchronizes any options specified in lint.xml with the
LintCliFlags object