Top Description Methods
com.google.common.hash

pack-priv @Interface ParametricNullness

extends Annotation
Annotations
@GwtCompatible
@Retention:RUNTIME
@Target:FIELD, METHOD, PARAMETER
@TypeQualifierNickname
@Nonnull
when:UNKNOWN
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .RetentionPolicy.RUNTIME

Annotates a "top-level" type-variable usage that takes its nullness from the type argument supplied by the user of the class. For example, Multiset.Entry.getElement() returns @ParametricNullness E, which means: This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework. Contrast the method above to:

Consumers of this annotation include:

This annotation is a temporary hack. We will remove it after we're able to adopt the JSpecify nullness annotations and tools no longer need it.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString