@Retention(value=CLASS) @Target(value=TYPE) public @interface GenerateNativeToNativeBridge
Modifier and Type | Required Element and Description |
---|---|
Class<?> |
jniConfig
The native bridge configuration.
|
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends BooleanSupplier> |
include
If the supplier returns
true , the bridge entry points are added automatically when
building a shared library. |
public abstract Class<?> jniConfig
public abstract Class<? extends BooleanSupplier> include
true
, the bridge entry points are added automatically when
building a shared library. This means the bridge entry points are root methods for
compilation, and everything reachable from them is compiled too. The provided class must have
a nullary constructor, which is used to instantiate the class. The
BooleanSupplier.getAsBoolean()
} function is called on the newly instantiated
instance.