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
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the parameter name.
  • Element Details

    • value

      @AliasFor(annotation=io.micronaut.core.bind.annotation.Bindable.class, member="value") String 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:
      ""