Class Annotate


  • public class Annotate
    extends Object
    Merge Daikon-generated invariants into Java source code as ESC/JML/DBC annotations. All original .java files are left unmodified; copies are created.

    The first argument is a Daikon .inv file -- a serialized file of Invariant objects. All subsequent arguments are Foo.java files that are rewritten into Foo.java-jmlannotated versions; alternately, use the -r flag to process every .java file under the current directory.