01: package org.codehaus.aspectwerkz.annotation;
02:
03: import java.lang.annotation.Annotation;
04:
05: /**
06: * @author <a href="mailto:alex@gnilux.com">Alexandre Vasseur</a>
07: */
08: public @interface Not {
09: Class<? extends Annotation> value(); // DOES NOT WORK!
10: }
11: //@interface And {
12: // String value();
13: //}
14: //
15: //
16: ////@Not(
17: //// @And(
18: //// "Deprecated.class")
19: //// )
20: ////class Foo {}
21: //
22: ////@interface Gen{}
23: //
24: //@interface Ping {
25: // Pong value();
26: //}
27: //@interface Pong {//extends Gen{
28: // String value();
29: //}
30: //
31: //@Ping(
32: // @Pong("dd")
33: // )
34: //class Foo{}
|