001 package fj.test.reflect; 002 003 import java.lang.annotation.Documented; 004 import java.lang.annotation.ElementType; 005 import java.lang.annotation.Inherited; 006 import java.lang.annotation.Retention; 007 import java.lang.annotation.RetentionPolicy; 008 import java.lang.annotation.Target; 009 010 /** 011 * The name of a property to be used in reporting. 012 * 013 * @version %build.number%<br> 014 * <ul> 015 * <li>$LastChangedRevision: 5 $</li> 016 * <li>$LastChangedDate: 2008-12-06 16:49:43 +1000 (Sat, 06 Dec 2008) $</li> 017 * <li>$LastChangedBy: tonymorris $</li> 018 * </ul> 019 */ 020 @Documented 021 @Target({ElementType.FIELD, ElementType.METHOD}) 022 @Retention(RetentionPolicy.RUNTIME) 023 @Inherited 024 public @interface Name { 025 /** 026 * The name of a property to be used in reporting. 027 * 028 * @return The name of a property to be used in reporting. 029 */ 030 String value(); 031 }