Package io.micronaut.context.annotation
Annotation Interface Parameter
@Target({FIELD,METHOD,PARAMETER,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
@Qualifier
@Bindable
public @interface Parameter
Specifies that an argument to a bean constructor is user provided.
Should be applied only to constructor arguments and Bean
factory methods
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Optional Element Summary
-
Element Details
-
value
Specifies the parameter name. Useful as metadata at times for reflection on classes already compiled without -parameters argument to javac- Returns:
- An optional name of the parameter.
- Default:
- ""
-