Class Contract.Postcondition

java.lang.Object
org.checkerframework.framework.util.Contract
org.checkerframework.framework.util.Contract.Postcondition
Enclosing class:
Contract

public static class Contract.Postcondition extends Contract
A postcondition contract.
  • Constructor Details

    • Postcondition

      public Postcondition(String expressionString, AnnotationMirror annotation, AnnotationMirror contractAnnotation)
      Create a postcondition contract.
      Parameters:
      expressionString - the Java expression that should have a type qualifier
      annotation - the type qualifier that expressionString should have
      contractAnnotation - the postcondition annotation that the programmer wrote; used for diagnostic messages