fact: Definition resultNonNullEnsures (m:Method) : option MethodSpecClause := if METHOD.isNullable m then None else match METHODSIGNATURE.result (METHOD.signature m) with | Some (ReferenceType _) => Some (ensuresC false (: \result != null :)%jml) | Some (PrimitiveType _) => None | None => None end.
imports: JML(Prelude) Coq(ZArith) Coq(Bool) Coq(List) JML(TaggedList) JML(ListHelpers) JML(ListFunctions) JML(OptionHelpers) JML(JMLProgramPlusImpl) JML(JMLFull2Basic) JML(JMLExpressionNotations)