Annotation Interface AltMethod


public @interface AltMethod
Alternative builder step.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The alternative parameter type.
    Stringified java expression converting the alternative type into the actual type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    If specified, this parameter name is used instead of the constructor parameter name.
  • Element Details

    • type

      Class<?> type
      The alternative parameter type.
    • value

      String value
      Stringified java expression converting the alternative type into the actual type.
    • parameter_name

      String parameter_name
      If specified, this parameter name is used instead of the constructor parameter name.
      Default:
      ""