2

I am looking for alternative specification languages options for Java, like JML.

Does any one know any?

Thanks.

PeeHaa
  • 71,436
  • 58
  • 190
  • 262
Tiago Veloso
  • 8,513
  • 17
  • 64
  • 85

1 Answers1

4

Contracts for Java (http://code.google.com/p/cofoja/) is a Google project that enables you to write method contracts in Java annotations.

The framework can automatically insert the contracts as dynamic runtime checks using an offline bytecode rewriter.

Todd Schiller
  • 476
  • 7
  • 17