Top Description Fields Constructors Methods
javax.annotation.meta

public final Enum When

extends Enum<When>
Class Inheritance

Used to describe the relationship between a qualifier T and the set of values S possible on an annotated element. In particular, an issues should be reported if an ALWAYS or MAYBE value is used where a NEVER value is required, or if a NEVER or MAYBE value is used where an ALWAYS value is required.

Field Summary

Modifier and TypeField and Description
public static final When
ALWAYS

S is a subset of T

public static final When
MAYBE

S intersection T is non empty and S - T is nonempty

public static final When
NEVER

S intersection T is empty

public static final When
UNKNOWN

nothing definitive is known about the relation between S and T

Constructor Summary

AccessConstructor and Description
private
When()

Method Summary

Modifier and TypeMethod and Description
public static When
public static When[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ALWAYSback to summary
public static final When ALWAYS

S is a subset of T

MAYBEback to summary
public static final When MAYBE

S intersection T is non empty and S - T is nonempty

NEVERback to summary
public static final When NEVER

S intersection T is empty

UNKNOWNback to summary
public static final When UNKNOWN

nothing definitive is known about the relation between S and T

Constructor Detail

Whenback to summary
private When()

Method Detail

valueOfback to summary
public static When valueOf(String name)
valuesback to summary
public static When[] values()