1 package ejava.examples.javase5;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8
9 /**
10 * This is a test interface that will be used to designate which methods
11 * of a class should get called, and in what order, within a demo. An
12 * optional name is supplied with each method.
13 *
14 * @author jcstaff
15 * $Id:$
16 */
17 @Retention(RetentionPolicy.RUNTIME)
18 @Target(ElementType.METHOD)
19 public @interface CallMe {
20 int order();
21 String alias() default "";
22 }