|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Preload
This tag is used to pre-initialize the dispatching cache at dispatcher-building time (and to perform early consistency checks).
It specifies an array of combinations of classes, each of which will be passed on to the dispatching policy to "peek" in advance which method would be called with arguments of those classes, and to check whether one exists and whether there are any ambiguities.
Note that, due to limitations in the structure of
Java annotations, this tag cannot be used to preload
arbitrary raw arguments (except for classes). If that
is required, consider building the descriptor manually
instead, using a Descriptor
.
Seq
,
Descriptor
Required Element Summary | |
---|---|
Seq[] |
value
The combinations that should be preloaded. |
Element Detail |
---|
public abstract Seq[] value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |