All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.otto.jlineup.cli.graalvm.RuntimeReflectionRegistrationFeature Maven / Gradle / Ivy

There is a newer version: 4.13.1
Show newest version
package de.otto.jlineup.cli.graalvm;

import com.oracle.svm.core.annotate.AutomaticFeature;
import org.graalvm.nativeimage.hosted.Feature;


@SuppressWarnings("unused")
@AutomaticFeature
public class RuntimeReflectionRegistrationFeature implements Feature {

    public void beforeAnalysis(BeforeAnalysisAccess access) {
//        try {
//            RuntimeReflection.register(HttpCheckConfig.class.getDeclaredConstructor());
//        } catch (NoSuchMethodException e) {
//            throw new RuntimeException(e);
//        }
    }

    @Override
    public void duringSetup(DuringSetupAccess access) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy