Annotation Interface Default


@Target(PARAMETER) @Retention(RUNTIME) public @interface Default
Marker annotation to identify default value of a parameter of a method.
Since:
6.0.0
Author:
dennis
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Default value of the parameter.
  • Element Details

    • value

      String value
      Default value of the parameter. It is string when you assign it in annotation, and will coerce to the corresponding type of the parameter if parameter value is not null.
      Returns:
      default value of the parameter