Annotation Interface Assisted


@Target({FIELD,PARAMETER,METHOD}) @Retention(RUNTIME) public @interface Assisted
Annotates an injected parameter or field whose value comes from an argument to a factory method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The unique name for this parameter.
  • Element Details

    • value

      String value
      The unique name for this parameter. This is matched to the @Assisted constructor parameter with the same value. Names are not necessary when the parameter types are distinct.
      Default:
      ""