A C D E F G I K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSTRACT - com.google.errorprone.annotations.Modifier
- allowedOnPath() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
-
Allow the restricted API on paths matching this regular expression.
- allowlistAnnotations() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
-
Allow calls to the restricted API in methods or classes with this annotation.
- allowlistWithWarningAnnotations() - Method in annotation type com.google.errorprone.annotations.RestrictedApi
-
Emit warnings, not errors, on calls to the restricted API for callers with this annotation.
C
- CanIgnoreReturnValue - Annotation Type in com.google.errorprone.annotations
-
Indicates that the return value of the annotated API(s) can be safely ignored.
- CheckReturnValue - Annotation Type in com.google.errorprone.annotations
-
Indicates that the return value of the annotated method must be used.
- 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
- DEFAULT - com.google.errorprone.annotations.Modifier
- 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
- FINAL - com.google.errorprone.annotations.Modifier
- 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.
- imports() - Method in annotation type com.google.errorprone.annotations.InlineMe
-
The new imports to (optionally) add to the caller.
- IncompatibleModifiers - Annotation Type in com.google.errorprone.annotations
-
Annotation declaring that the target annotation is incompatible with any one of the provided modifiers.
- InlineMe - Annotation Type in com.google.errorprone.annotations
-
Indicates that callers of this API should be inlined.
- InlineMeValidationDisabled - Annotation Type in com.google.errorprone.annotations
-
An annotation that disables validation of the
InlineMe
annotation's correctness (i.e.: that it accurately represents an inlining of the annotated method).
K
- Keep - Annotation Type in com.google.errorprone.annotations
-
Indicates that the annotated element should not be removed, and that its visibility, modifiers, type, and name should not be modified.
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
-
Deprecated.the correctness of this annotation is not enforced; it will soon be removed.
M
- modifier() - Method in annotation type com.google.errorprone.annotations.IncompatibleModifiers
-
The incompatible modifiers.
- modifier() - Method in annotation type com.google.errorprone.annotations.RequiredModifiers
-
The required modifiers.
- Modifier - Enum in com.google.errorprone.annotations
-
Modifiers in the Java language, as specified in: https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-8.1.1 https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-8.3.1 https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-8.4.3 https://docs.oracle.com/javase/specs/jls/se11/html/jls-9.html#jls-9.4
- 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
- NATIVE - com.google.errorprone.annotations.Modifier
- 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.
P
- PRIVATE - com.google.errorprone.annotations.Modifier
- PROTECTED - com.google.errorprone.annotations.Modifier
- PUBLIC - com.google.errorprone.annotations.Modifier
R
- replacement() - Method in annotation type com.google.errorprone.annotations.InlineMe
-
What the caller should be replaced with.
- 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 allowlist annotation.
S
- STATIC - com.google.errorprone.annotations.Modifier
- staticImports() - Method in annotation type com.google.errorprone.annotations.InlineMe
-
The new static imports to (optionally) add to the caller.
- STRICTFP - com.google.errorprone.annotations.Modifier
- SuppressPackageLocation - Annotation Type in com.google.errorprone.annotations
-
Indicates that the PackageLocation warning should be suppressed for this package.
- SYNCHRONIZED - com.google.errorprone.annotations.Modifier
T
U
- UnlockMethod - Annotation Type in com.google.errorprone.annotations.concurrent
-
Deprecated.the correctness of this annotation is not enforced; it will soon be removed.
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
-
Deprecated.
- value() - Method in annotation type com.google.errorprone.annotations.concurrent.UnlockMethod
-
Deprecated.
- 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
-
Deprecated.use
IncompatibleModifiers.modifier()
instead - value() - Method in annotation type com.google.errorprone.annotations.InlineMeValidationDisabled
-
An explanation as to why the validation is disabled (e.g.: moving from a constructor to a static factory method that delegates to this constructor, which is behavior-perserving, but isn't strictly an inlining).
- value() - Method in annotation type com.google.errorprone.annotations.RequiredModifiers
-
Deprecated.use
RequiredModifiers.modifier()
instead - valueOf(String) - Static method in enum com.google.errorprone.annotations.Modifier
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.errorprone.annotations.Modifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Var - Annotation Type in com.google.errorprone.annotations
-
The parameter or local variable to which this annotation is applied is non-final.
- VOLATILE - com.google.errorprone.annotations.Modifier
All Classes All Packages