Annotation Type Required
-
@Retention(RUNTIME) @Target(METHOD) public @interface RequiredMarks a method (typically a JavaBean setter method) as being 'required': that is, the setter method must be configured to be dependency-injected with a value.
@Retention(RUNTIME)
@Target(METHOD)
public @interface Required