@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
@Repeatable(NamedParams.class)
public @interface NamedParam
Marker interface used to indicate that the name of the annotated parameter (or specified optional name) is a valid key name when using named arguments and that the parameter type is applicable for type checking purposes.
Indicates whether the named argument must be supplied.
Defaults to false.
true if the named argument is requiredReturns the expected value type for the named argument. Defaults to Object.
Returns the accepted named-argument key. Defaults to Undefined.STRING, which indicates the annotated parameter name.