|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface IfNull
Use this tag to specify the interpretation of null arguments.
If this tag is specified for a given parameter, the
supplied class will be used to perform the dispatching
whenever the corresponding argument is null
.
You cannot use this tag with a raw
argument.
Required Element Summary | |
---|---|
java.lang.Class |
value
This class will be the one used to select the best method, rather than the real class of the argument, when the argument is null . |
Element Detail |
---|
public abstract java.lang.Class value
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |