Annotation Interface GenerateNativeToHotSpotBridge


@Retention(CLASS) @Target(TYPE) public @interface GenerateNativeToHotSpotBridge
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.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The native bridge configuration.
  • Element Details

    • jniConfig

      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.