Annotation Type EnsuresMinLenIf

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String[] expression
      Returns Java expression(s) that are a sequence with the given minimum length after the method returns result().
      boolean result
      Returns the return value of the method under which the postcondition to hold.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int targetValue
      Returns the minimum number of elements in the sequence.
    • Element Detail

      • expression

        String[] expression
        Returns Java expression(s) that are a sequence with the given minimum length after the method returns result().
        Returns:
        an array of Java expression(s), each of which is a sequence with the given minimum length after the method returns result()
      • result

        boolean result
        Returns the return value of the method under which the postcondition to hold.
        Returns:
        the return value of the method under which the postcondition to hold
      • targetValue

        @QualifierArgument("value")
        int targetValue
        Returns the minimum number of elements in the sequence.
        Returns:
        the minimum number of elements in the sequence
        Default:
        0