Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
// A Java 1.3/1.4 Annotation with backport175
public interface Asynchronous {
    int timeout();
    String label();
}

// A Java 1.3/1.4 annotated method
// the resulting class will have to be post compiled 
// with backport175 "AnnotationC -src *.java. -target compiled/"
/**
 * @Asynchronous(timeout=5, label="will run for a while")
 */
public Object someMethod() {
    ...
}

...