Modifier and Type | Required Element and Description |
---|---|
Class<?> |
value
The class to instantiate for a foreign handle.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
useCustomReceiverAccessor
For classes with a custom dispatch, when set to
true the foreign object is translated
by a custom receiver accessor before it's passed to the target method. |
public abstract Class<?> value
For HotSpot to native calls.
NativeObject
.NativeObject
type annotated with the EndPointHandle
.factory
.For native to HotSpot calls.
HSObject
.HSObject
type
annotated with the EndPointHandle
.factory
.public abstract boolean useCustomReceiverAccessor
true
the foreign object is translated
by a custom receiver accessor before it's passed to the target method.CustomReceiverAccessor
,
CustomDispatchAccessor