private static boolean checkForRuntimeHintsFactories(final String projectPath,
                                                         final String configurations,
                                                         final File springFactoriesFile,
                                                         final String splitBy) {
        var classes = configurations.split(splitBy);
        for (var it : Arrays.asList(classes)) {
            var sourcePath = "/src/main/java/".replace("/", String.valueOf(File.separator)).trim();
            var clazz = projectPath + sourcePath + it.trim().replace(".", String.valueOf(File.separator)) + ".java";
            var configurationFile = new File(clazz);
            if (!configurationFile.exists()) {
                print("Runtime hint %s does not exist in %s",
                    configurationFile.getAbsolutePath(), springFactoriesFile.getAbsolutePath());
                return false;
            }

            var text = readFile(configurationFile.toPath());
            if (!text.contains("package org.apereo.cas.nativex;")) {
                print("Runtime hint %s must be part of the 'org.apereo.cas.nativex' package.", clazz);
                return false;
            }
        }
        return true;
    }
This is {@link CheckNativeRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
ci/checks/CheckNativeRuntimeHints.java