netbeans - How do we apply JML (openJML) to Java Code? -


how apply jml java code? i'm still new in design contracts , quite lost on how apply program.

http://jmlspecs.sourceforge.net/

using:

  • openjml
  • netbeans 7.3
  • java sdk 1.7

i have added openjml jar files classpath of netbeans. tried cofoga google jml version import com.google.java.contract.ensures; import com.google.java.contract.requires can add pre , post conditions

how specify pre condition , post condition using openjml in program?

i found needed; importing library annotations:

import org.jmlspecs.annotation.requires; import org.jmlspecs.annotation.ensures; 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -