KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > annotation > Within


1 package org.codehaus.aspectwerkz.annotation;
2
3 import java.lang.annotation.Target JavaDoc;
4 import java.lang.annotation.ElementType JavaDoc;
5 import java.lang.annotation.Retention JavaDoc;
6 import java.lang.annotation.RetentionPolicy JavaDoc;
7 import java.lang.annotation.Annotation JavaDoc;
8 import java.lang.reflect.Modifier JavaDoc;
9
10 @Target JavaDoc({ElementType.METHOD, ElementType.FIELD})
11         @Retention JavaDoc(RetentionPolicy.RUNTIME)
12         public @interface Within {
13     int modifiers() default Modifier.PRIVATE | Modifier.PROTECTED; // FIXME: etc.
14
Class JavaDoc<? extends Annotation>[] annotations() default Null.class;
15
16     Class JavaDoc type() default Null.class;
17     // anonymous = Annotations only
18
Class JavaDoc<? extends Annotation>[] value() default Null.class;
19 }
20
21
22
Popular Tags