1 package java.lang.reflect; 2 3 import java.lang.annotation.Retention; 4 import java.lang.annotation.RetentionPolicy; 5 6 /** 7 * The Accessor Annotation 8 */ 9 @Retention(RetentionPolicy.RUNTIME) 10 public @interface Accessor { 11 12 /** 13 * The name of the field for that the annotated Method is emulating the access to. 14 * If the name is not specified, the runtime tries to determine the name based on the methodname 15 * @return the name of the field. 16 */ 17 String value() default ""; 18 19 } 20