Annotation Interface InstantiatedMember


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface InstantiatedMember

An annotation that can be used on another annotation member that returns a class to indicate that the value of the annotation should be populated as an instance of the specified class.

This allows the computed annotation metadata to produce an instantiated instance without using dynamic classloading or reflective APIs.

Note that the member should be a simple POJO with a public no argument constructor.

Since:
1.1
Author:
graemerocher