Top Description Inners Methods
javax.annotation

public @Interface Nonnull

extends Annotation
Annotations
@Documented
@TypeQualifier
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .Retention, .RetentionPolicy, javax.annotation.meta.TypeQualifier, .TypeQualifierValidator, .When

The annotated element must not be null.

Annotated fields must not be null after construction has completed.

When this annotation is applied to a method it applies to the method return value.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Method Summary

Modifier and TypeMethod and Description
public When
when()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

whenback to summary
public When when()
javax.annotation back to summary

public Class Nonnull.Checker

extends Object
implements TypeQualifierValidator<Nonnull>
Class Inheritance
All Implemented Interfaces
javax.annotation.meta.TypeQualifierValidator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public When
forConstantValue(Nonnull
the type qualifier
qualifierArgument
,
Object
the value to check
value
)

Implements javax.annotation.meta.TypeQualifierValidator.forConstantValue.

Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Checkerback to summary
public Checker()

Method Detail

forConstantValueback to summary
public When forConstantValue(Nonnull qualifierArgument, Object value)

Implements javax.annotation.meta.TypeQualifierValidator.forConstantValue.

Doc from javax.annotation.meta.TypeQualifierValidator.forConstantValue.

Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.

Parameters
qualifierArgument:Nonnull

the type qualifier

value:Object

the value to check

Returns:When

a value indicating whether or not the value is an member of the values denoted by the type qualifier