Index

A C D E F G I L M N O R S U V W 
All Classes|All Packages

A

allowedOnPath() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
Allow the restricted API on paths matching this regular expression.

C

CanIgnoreReturnValue - Annotation Type in com.google.errorprone.annotations
Indicates that the return value of the annotated method can be safely ignored.
CheckReturnValue - Annotation Type in com.google.errorprone.annotations
Indicates that the return value of the annotated method must be checked.
com.google.errorprone.annotations - package com.google.errorprone.annotations
 
com.google.errorprone.annotations.concurrent - package com.google.errorprone.annotations.concurrent
 
CompatibleWith - Annotation Type in com.google.errorprone.annotations
Declares that a parameter to a method must be "compatible with" one of the type parameters in the method's enclosing class, or on the method itself.
CompileTimeConstant - Annotation Type in com.google.errorprone.annotations
Annotation for method parameter and class field declarations, which denotes that corresponding actual values must be compile-time constant expressions.
containerOf() - Method in annotation type com.google.errorprone.annotations.Immutable
When annotating a generic type as immutable, containerOf specifies which type parameters must be instantiated with immutable types for the container to be deeply immutable.

D

DoNotCall - Annotation Type in com.google.errorprone.annotations
The method to which this annotation is applied cannot be called.
DoNotMock - Annotation Type in com.google.errorprone.annotations
Annotation representing a type that should not be mocked.

E

explanation() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
Explanation why the API is restricted, to be inserted into the compiler output.

F

FormatMethod - Annotation Type in com.google.errorprone.annotations
Annotation for a method that takes a printf-style format string as an argument followed by arguments for that format string.
FormatString - Annotation Type in com.google.errorprone.annotations
Annotation for method parameter declarations which denotes that actual parameters will be used as a format string in printf-style formatting.
ForOverride - Annotation Type in com.google.errorprone.annotations
Indicates that the annotated method is provided only to be overridden: it should not be invoked from outside its declaring source file (as if it is private), and overriding methods should not be directly invoked at all.

G

GuardedBy - Annotation Type in com.google.errorprone.annotations.concurrent
Indicates that the annotated element should be used only while holding the specified lock.

I

Immutable - Annotation Type in com.google.errorprone.annotations
The class to which this annotation is applied is immutable.
IncompatibleModifiers - Annotation Type in com.google.errorprone.annotations
Annotation declaring that the target annotation is incompatible with any one of the provided modifiers.

L

LazyInit - Annotation Type in com.google.errorprone.annotations.concurrent
Use this annotation on any static or field that will be initialized lazily, where races yield no semantic difference in the code (as, for example, is the case with String.hashCode()).
link() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
Link explaining why the API is restricted
LockMethod - Annotation Type in com.google.errorprone.annotations.concurrent
The method to which this annotation is applied acquires one or more locks.

M

MustBeClosed - Annotation Type in com.google.errorprone.annotations
Annotation for constructors of AutoCloseables or methods that return an AutoCloseable and require that the resource is closed.

N

NoAllocation - Annotation Type in com.google.errorprone.annotations
Annotation for method declarations, which denotes that this method will not cause allocations that are visible from source code.

O

OverridingMethodsMustInvokeSuper - Annotation Type in com.google.errorprone.annotations
Indicates that any concrete method that overrides the annotated method, directly or indirectly, must invoke super.theAnnotatedMethod(...) at some point.

R

RequiredModifiers - Annotation Type in com.google.errorprone.annotations
Annotation declaring that the target annotation requires all the specified modifiers.
RestrictedApi - Annotation Type in com.google.errorprone.annotations
Restrict this method to callsites with a whitelist annotation.

S

SuppressPackageLocation - Annotation Type in com.google.errorprone.annotations
Indicates that the PackageLocation warning should be suppressed for this package.

U

UnlockMethod - Annotation Type in com.google.errorprone.annotations.concurrent
The method to which this annotation is applied releases one or more locks.

V

value() - Method in annotation type com.google.errorprone.annotations.CompatibleWith
 
value() - Method in annotation type com.google.errorprone.annotations.concurrent.GuardedBy
The lock that should be held, specified in the format given in the documentation for the corresponding Error Prone check.
value() - Method in annotation type com.google.errorprone.annotations.concurrent.LockMethod
 
value() - Method in annotation type com.google.errorprone.annotations.concurrent.UnlockMethod
 
value() - Method in annotation type com.google.errorprone.annotations.DoNotCall
An optional explanation of why the method should not be called.
value() - Method in annotation type com.google.errorprone.annotations.DoNotMock
The reason why the annotated type should not be mocked.
value() - Method in annotation type com.google.errorprone.annotations.IncompatibleModifiers
The incompatible modifiers.
value() - Method in annotation type com.google.errorprone.annotations.RequiredModifiers
The required modifiers.
Var - Annotation Type in com.google.errorprone.annotations
The parameter or local variable to which this annotation is applied is non-final.

W

whitelistAnnotations() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
Allow calls to the restricted API in methods or classes with this annotation.
whitelistWithWarningAnnotations() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
Emit warnings, not errors, on calls to the restricted API for callers with this annotation.
A C D E F G I L M N O R S U V W 
All Classes|All Packages