Top Description Methods
org.graalvm.nativebridge

public @Interface GenerateNativeToHotSpotBridge

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

Generate a native to HotSpot bridge for an annotated class. For the annotated class, the processor generates a bridge delegating calls to the object in a HotSpot heap. Further information can be found in the native bridge tutorial.

Method Summary

Modifier and TypeMethod and Description
public Class<?>
jniConfig()

The native bridge configuration.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

jniConfigback to summary
public Class<?> jniConfig()

The native bridge configuration. The returned class must have an accessible static getInstance() method returning a JNIConfig instance. The returned JNIConfig instance is used for marshallers' lookup.