public class JNIRegistrationUtil extends Object
Constructor and Description |
---|
JNIRegistrationUtil() |
Modifier and Type | Method and Description |
---|---|
void |
afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess access) |
protected static Class<?> |
clazz(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access,
String className) |
protected static Constructor<?> |
constructor(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access,
String className,
Class<?>... parameterTypes) |
protected static Field[] |
fields(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access,
String className,
String... fieldNames) |
protected static boolean |
isDarwin() |
protected static boolean |
isLinux() |
protected static boolean |
isPosix() |
protected static boolean |
isRunOnce(Consumer<org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess> callback)
Intended to be used from within a callback to ensure that it is run only once.
|
protected static boolean |
isWindows() |
protected static Method |
method(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access,
String className,
String methodName,
Class<?>... parameterTypes) |
protected static void |
registerForThrowNew(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access,
String... exceptionClassNames) |
protected static void |
rerunClassInit(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access,
String... classNames) |
protected static boolean isPosix()
protected static boolean isLinux()
protected static boolean isDarwin()
protected static boolean isWindows()
protected static void rerunClassInit(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access, String... classNames)
protected static Class<?> clazz(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access, String className)
protected static Method method(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access, String className, String methodName, Class<?>... parameterTypes)
protected static Constructor<?> constructor(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access, String className, Class<?>... parameterTypes)
protected static Field[] fields(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access, String className, String... fieldNames)
protected static void registerForThrowNew(org.graalvm.nativeimage.hosted.Feature.FeatureAccess access, String... exceptionClassNames)
protected static boolean isRunOnce(Consumer<org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess> callback)
public void afterAnalysis(org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess access)