1
2
3
4
5 package test.expression;
6
7
8 /***
9 * Target test class for annotations unit.
10 *
11 * @author <a href="mailto:the_mindstorm@evolva.ro">Alex Popescu</a>
12 * @version $Revision: 1.1 $
13 */
14 public class AnnotationTarget {
15 /***
16 * @Service
17 */
18 public static class ClassLevelAnnotation {
19 /***
20 * @DefaultConstructor
21 */
22 public ClassLevelAnnotation() {
23 }
24
25 /***
26 * @Asynch
27 */
28 public void innerMethodAsynch() {
29 }
30
31 /***
32 * @Persistable
33 */
34 Object m_innerField;
35 }
36
37 /***
38 * @Asynch
39 */
40 public void methodOneAsynch() {
41 }
42
43 /***
44 * @DefaultConstructor
45 */
46 public AnnotationTarget() {
47 }
48
49 /***
50 * @Persistable
51 */
52 private Object m_annotatedField;
53
54
55 public static interface IConstructorAnnotation {
56 String value();
57 }
58
59 public static interface IServiceAnnotation {
60 String value();
61 }
62
63 public static interface IPersistableAnnotation {
64 String value();
65 }
66
67 public static interface IAsynchronousAnnotation {
68 String value();
69 }
70 }