com.ryanm.preflect.annote
Annotation Type Variable


@Documented
@Target(value={FIELD,METHOD,TYPE})
@Retention(value=RUNTIME)
@Inherited
public @interface Variable

Annotation for marking types, fields and methods that are configurable. You'd better be sure that you form a tree structure with your variables, because I'm not going to check for cycles when I walk the graph. You have been warned.

Types:

Primitive, enum and String fields:

Variable type fields:

Encapsulated fields: Use a method to get and set the values - allows validation of input

Action Methods: Invoked when the configuration is applied

Author:
ryanm

Optional Element Summary
 java.lang.String value
          The name of the resulting type or variable.
 

value

public abstract java.lang.String value
The name of the resulting type or variable. Leave blank or specify "" to just use the type, field or method name

Default:
""