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