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