ovm.polyd.tags
Annotation Type Preload


@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.

See Also:
Seq, Descriptor

Required Element Summary
 Seq[] value
          The combinations that should be preloaded.
 

Element Detail

value

public abstract Seq[] value
The combinations that should be preloaded.