Contract.ConditionalPostcondition, Contract.Kind, Contract.Postcondition, Contract.Preconditionannotation, contractAnnotation, expression, kind| Constructor and Description |
|---|
Postcondition(String expression,
AnnotationMirror annotation,
AnnotationMirror contractAnnotation)
Create a postcondition contract.
|
public Postcondition(String expression, AnnotationMirror annotation, AnnotationMirror contractAnnotation)
expression - the Java expression that should have a type qualifierannotation - the type qualifier that expression should havecontractAnnotation - the postcondition annotation that the programmer wrote; used
for diagnostic messages