Index

A B C D E F G I L N P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

altNames - Variable in class com.google.errorprone.BugPatternInstance
 
altNames() - Element in annotation interface com.google.errorprone.BugPattern
Alternate identifiers for this bug, which may also be used in @SuppressWarnings.
annotationKeyValues(AnnotationMirror) - Static method in class com.google.errorprone.BugPatternInstance
 
AUTOGENERATED - Enum constant in enum class com.google.errorprone.BugPattern.LinkType
Link to autogenerated documentation, hosted on the error-prone web site.

B

BugPattern - Annotation Interface in com.google.errorprone
Describes a bug pattern detected by error-prone.
BugPattern.LinkType - Enum Class in com.google.errorprone
The type of link to generate in the compiler error message.
BugPattern.SeverityLevel - Enum Class in com.google.errorprone
The severity of the diagnostic.
BugPattern.StandardTags - Class in com.google.errorprone
A collection of standardized tags that can be applied to BugPatterns.
BugPatternInstance - Class in com.google.errorprone
A serialization-friendly POJO of the information in a BugPattern.
BugPatternInstance() - Constructor for class com.google.errorprone.BugPatternInstance
 
BugPatternValidator - Class in com.google.errorprone
Validates an @BugPattern annotation for wellformedness.
BugPatternValidator() - Constructor for class com.google.errorprone.BugPatternValidator
 

C

category - Variable in class com.google.errorprone.BugPatternInstance
 
className - Variable in class com.google.errorprone.BugPatternInstance
 
cleanup() - Method in class com.google.errorprone.DocGenProcessor
Perform cleanup after last round of annotation processing.
com.google.errorprone - package com.google.errorprone
 
com.google.errorprone.annotations - package com.google.errorprone.annotations
 
CONCURRENCY - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check points out potential issues when operating in a concurrent context
CUSTOM - Enum constant in enum class com.google.errorprone.BugPattern.LinkType
Custom string.

D

disableable() - Element in annotation interface com.google.errorprone.BugPattern
True if the check can be disabled using command-line flags.
DocGenProcessor - Class in com.google.errorprone
Annotation processor which visits all classes that have a BugPattern annotation, and writes a tab-delimited text file dumping the data found.
DocGenProcessor() - Constructor for class com.google.errorprone.DocGenProcessor
 
documentSuppression - Variable in class com.google.errorprone.BugPatternInstance
 
documentSuppression() - Element in annotation interface com.google.errorprone.BugPattern
Generate an explanation of how to suppress the check.

E

ERROR - Enum constant in enum class com.google.errorprone.BugPattern.SeverityLevel
 
explanation - Variable in class com.google.errorprone.BugPatternInstance
 
explanation() - Element in annotation interface com.google.errorprone.BugPattern
A longer explanation of the problem that this checker detects.

F

FRAGILE_CODE - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check detects code that may technically be working within a limited domain, but is fragile, or violates generally-accepted assumptions of behavior.
fromElement(Element) - Static method in class com.google.errorprone.BugPatternInstance
 

G

generateExamplesFromTestCases() - Element in annotation interface com.google.errorprone.BugPattern
Deprecated.
this is a no-op that will be removed in the future
getAnnotation(Element, String) - Static method in class com.google.errorprone.BugPatternInstance
 
getSupportedSourceVersion() - Method in class com.google.errorprone.DocGenProcessor
 
gson - Variable in class com.google.errorprone.DocGenProcessor
 

I

ImmutableTypeParameter - Annotation Interface in com.google.errorprone.annotations
The type parameter to which this annotation is applied should only be instantiated with immutable types.
init(ProcessingEnvironment) - Method in class com.google.errorprone.DocGenProcessor

L

LIKELY_ERROR - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check, for reasons of backwards compatibility or difficulty in cleaning up, should be considered very likely to represent a real error in the vast majority (>99.9%) of cases, but couldn't otherwise be turned on as an ERROR.
link() - Element in annotation interface com.google.errorprone.BugPattern
The link URL to use if linkType() is LinkType.CUSTOM.
linkType() - Element in annotation interface com.google.errorprone.BugPattern
The type of link to generate in the compiler error message.
LinkType() - Constructor for enum class com.google.errorprone.BugPattern.LinkType
 

N

name - Variable in class com.google.errorprone.BugPatternInstance
 
name() - Element in annotation interface com.google.errorprone.BugPattern
A unique identifier for this bug, used for @SuppressWarnings and in the compiler error message.
NONE - Enum constant in enum class com.google.errorprone.BugPattern.LinkType
No link should be displayed.

P

PERFORMANCE - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check detects a potential performance issue, where an easily-identifiable replacement for the code being made will always result in a net positive performance improvement.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.errorprone.DocGenProcessor
pw - Variable in class com.google.errorprone.DocGenProcessor
 

R

REFACTORING - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check performs a refactoring, for example migrating to a new version of an API.

S

severity - Variable in class com.google.errorprone.BugPatternInstance
 
severity() - Element in annotation interface com.google.errorprone.BugPattern
 
SeverityLevel() - Constructor for enum class com.google.errorprone.BugPattern.SeverityLevel
 
SIMPLIFICATION - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check points out a coding pattern that, while functional, has an easier-to-read or faster alternative.
StandardTags() - Constructor for class com.google.errorprone.BugPattern.StandardTags
 
STYLE - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check detects a coding pattern that is valid within the Java language and doesn't represent a runtime defect, but is otherwise discouraged for reasons of consistency within a project or ease of understanding by other programmers.
SUGGESTION - Enum constant in enum class com.google.errorprone.BugPattern.SeverityLevel
Note that this level generally disables the bug checker.
summary - Variable in class com.google.errorprone.BugPatternInstance
 
summary() - Element in annotation interface com.google.errorprone.BugPattern
A short summary of the problem that this checker detects.
suppressionAnnotations - Variable in class com.google.errorprone.BugPatternInstance
 
suppressionAnnotations() - Element in annotation interface com.google.errorprone.BugPattern
A set of annotation types that can be used to suppress the check.

T

tags - Variable in class com.google.errorprone.BugPatternInstance
 
tags() - Element in annotation interface com.google.errorprone.BugPattern
A list of Stringly-typed tags to apply to this check.

V

validate(BugPattern) - Static method in class com.google.errorprone.BugPatternValidator
 
ValidationException - Exception Class in com.google.errorprone
An exception that indicates that BugPattern validation failed.
ValidationException(String) - Constructor for exception class com.google.errorprone.ValidationException
 
valueOf(String) - Static method in enum class com.google.errorprone.BugPattern.LinkType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.google.errorprone.BugPattern.SeverityLevel
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.google.errorprone.BugPattern.LinkType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.google.errorprone.BugPattern.SeverityLevel
Returns an array containing the constants of this enum class, in the order they are declared.

W

WARNING - Enum constant in enum class com.google.errorprone.BugPattern.SeverityLevel
 
A B C D E F G I L N P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form