Top Description Methods
org.graalvm.nativebridge

public @Interface CustomDispatchFactory

extends Annotation
Annotations
@Retention:CLASS
@Target:METHOD
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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
CustomDispatchAccessor, CustomReceiverAccessor

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString