Annotation Type 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.
    Author:
    jmourits@google.com (Jerome Mourits), jessewilson@google.com (Jesse Wilson)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      The unique name for this parameter.
    • Element Detail

      • 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:
        ""