diff --git a/core/runtime/src/main/java/io/quarkus/runtime/NativeImageFeatureUtils.java b/core/runtime/src/main/java/io/quarkus/runtime/NativeImageFeatureUtils.java deleted file mode 100644 index cdecbd71dcedf..0000000000000 --- a/core/runtime/src/main/java/io/quarkus/runtime/NativeImageFeatureUtils.java +++ /dev/null @@ -1,20 +0,0 @@ -package io.quarkus.runtime; - -import java.lang.reflect.Method; - -public class NativeImageFeatureUtils { - - public static Method lookupMethod(Class declaringClass, String methodName, Class... parameterTypes) - throws NoSuchMethodException { - Method result = declaringClass.getDeclaredMethod(methodName, parameterTypes); - result.setAccessible(true); - return result; - } - - public static Module findModule(String moduleName) { - if (moduleName == null) { - return ClassLoader.getSystemClassLoader().getUnnamedModule(); - } - return ModuleLayer.boot().findModule(moduleName).orElseThrow(); - } -}