public static enum Contract.Kind extends Enum<Contract.Kind>
| Enum Constant and Description | 
|---|
CONDITIONALPOSTCONDITION
A conditional postcondition. 
 | 
POSTCONDITION
A postcondition. 
 | 
PRECONDITION
A precondition. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
String | 
errorKey
Used for constructing error messages. 
 | 
String | 
expressionElementName
The name of the element that contains the Java expressions on which a contract is
 enforced. 
 | 
Class<? extends Annotation> | 
frameworkContractClass
The built-in framework qualifier for this contract. 
 | 
Class<? extends Annotation> | 
frameworkContractsClass
The built-in framework qualifier for repeated occurrences of this contract. 
 | 
Class<? extends Annotation> | 
metaAnnotation
The meta-annotation identifying annotations of this kind. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Contract.Kind | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Contract.Kind[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Contract.Kind PRECONDITION
public static final Contract.Kind POSTCONDITION
public static final Contract.Kind CONDITIONALPOSTCONDITION
public final String errorKey
public final Class<? extends Annotation> metaAnnotation
public final Class<? extends Annotation> frameworkContractClass
public final Class<? extends Annotation> frameworkContractsClass
public final String expressionElementName
public static Contract.Kind[] values()
for (Contract.Kind c : Contract.Kind.values()) System.out.println(c);
public static Contract.Kind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null