01: package org.caramba.annotations;
02:
03: import static java.lang.annotation.ElementType.FIELD;
04: import java.lang.annotation.Retention;
05: import static java.lang.annotation.RetentionPolicy.RUNTIME;
06: import java.lang.annotation.Target;
07:
08: /**
09: * Use this annotation for configuring the componentId of your class member (by default the name of the
10: * member is used.
11: *
12: * @author Pieter Degraeuwe
13: */
14: @Target({FIELD})
15: @Retention(RUNTIME)
16: public @interface ComponentId {
17: String value();
18: }
|