Class Contract.Postcondition
- java.lang.Object
-
- org.checkerframework.framework.util.Contract
-
- org.checkerframework.framework.util.Contract.Postcondition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.checkerframework.framework.util.Contract
Contract.ConditionalPostcondition, Contract.Kind, Contract.Postcondition, Contract.Precondition
-
-
Field Summary
-
Fields inherited from class org.checkerframework.framework.util.Contract
annotation, contractAnnotation, expressionString, kind
-
-
Constructor Summary
Constructors Constructor Description Postcondition(java.lang.String expressionString, javax.lang.model.element.AnnotationMirror annotation, javax.lang.model.element.AnnotationMirror contractAnnotation)
Create a postcondition contract.
-
-
-
Constructor Detail
-
Postcondition
public Postcondition(java.lang.String expressionString, javax.lang.model.element.AnnotationMirror annotation, javax.lang.model.element.AnnotationMirror contractAnnotation)
Create a postcondition contract.- Parameters:
expressionString
- the Java expression that should have a type qualifierannotation
- the type qualifier thatexpressionString
should havecontractAnnotation
- the postcondition annotation that the programmer wrote; used for diagnostic messages
-
-