Annotation Interface CustomDispatchFactory


@Retention(CLASS) @Target(METHOD) public @interface CustomDispatchFactory
Marks a method as a factory for custom dispatch API objects. In the class with a custom dispatch, the method is used to create a custom dispatch API object from a receiver transferred by a reference. The method annotated by CustomDispatchFactory must be a non-private static method taking a receiver parameter and returning the custom dispatch API object.
See Also: