@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface AllArguments
By default, this annotation applies a
AllArguments.Assignment.STRICT
assignment of the source method's parameters to the array. This implies that parameters that are not assignable to
the annotated array's component type make the method with this parameter unbindable. To avoid this, you can
use a AllArguments.Assignment.SLACK
assignment
which simply skips non-assignable values instead.Modifier and Type | Optional Element and Description |
---|---|
AllArguments.Assignment |
value
Defines the type of
AllArguments.Assignment
type that is applied for filling the annotated array with values. |
public abstract AllArguments.Assignment value
AllArguments.Assignment
type that is applied for filling the annotated array with values.Copyright © 2014–2015. All rights reserved.