public static void doWithClassScanResult(final Consumer<ScanResult> scanResultConsumer) {
        try (ScanResult scanResult =
                new ClassGraph()
                        .enableAllInfo()             // Scan classes, methods, fields, annotations
                        .acceptPackages(STROOM_PACKAGE_NAME)  // Scan com.xyz and subpkgs (omit to scan all packages)
                        .scan()) {                   // Start the scan

            NullSafe.consume(scanResult, scanResultConsumer);
        }
    }
@param subPath A path to a file in the stroom-docs repo that is relative to the
               stroom-docs repo root.
@return An absolute path to the file which has been tested to see if it exists and
is a regular file.
stroom-test-common/src/main/java/stroom/test/common/docs/StroomDocsUtil.java