Annotation Type 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:
    Init, Command
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Default value of the parameter.
    • Element Detail

      • value

        java.lang.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