private void assertThatClassIsOnClasspath()

in src/it/MCOMPILER-391-processorpath-dep-mgmt/annotation-processor/src/main/java/mcompiler391/SimpleAnnotationProcessor.java [78:86]


    private void assertThatClassIsOnClasspath(String fqcn) {
        try {
            getClass().getClassLoader().loadClass(fqcn);
        } catch (ClassNotFoundException cnfe) {
            String msg =
                    String.format("Expected class '%s' to be on the classpath (processorpath), but it wasn't.", fqcn);
            throw new RuntimeException(msg, cnfe);
        }
    }