public static enum Contract.Kind extends Enum<Contract.Kind>
| Enum Constant and Description | 
|---|
| CONDITIONALPOSTCONDITIONA conditional postcondition. | 
| POSTCONDITIONA postcondition. | 
| PRECONDITIONA precondition. | 
| Modifier and Type | Field and Description | 
|---|---|
| String | errorKeyUsed for constructing error messages. | 
| Class<? extends Annotation> | frameworkContractClassThe built-in framework qualifier for this contract. | 
| Class<? extends Annotation> | frameworkContractListClassThe built-in framework qualifier for repeated occurrences of this contract. | 
| Class<? extends Annotation> | metaAnnotationThe 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> frameworkContractListClass
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