public abstract static class ContractsUtils.Contract extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContractsUtils.Contract.Kind |
| Modifier and Type | Field and Description |
|---|---|
AnnotationMirror |
annotation
The annotation that must be on the type of expression as part of this contract.
|
String |
expression
The expression for which the condition must hold, such as
"foo" in
@RequiresNonNull("foo"). |
ContractsUtils.Contract.Kind |
kind |
| Constructor and Description |
|---|
Contract(String expression,
AnnotationMirror annotation,
ContractsUtils.Contract.Kind kind) |
public final String expression
"foo" in
@RequiresNonNull("foo").public final AnnotationMirror annotation
public final ContractsUtils.Contract.Kind kind
public Contract(String expression, AnnotationMirror annotation, ContractsUtils.Contract.Kind kind)