de.otto.jlineup.cli.graalvm.RuntimeReflectionRegistrationFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jlineup-cli Show documentation
Show all versions of jlineup-cli Show documentation
The cli version of JLineup
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) {
}
}