@Override
    void scan(final URL codeSourceLocation, final File dir) throws IOException {
        assert dir.isDirectory() : dir + " is not a directory";
        for (final String entry : dir.list()) {
            final File child = new File(dir, entry);
            final String name = child.getName();
            if (child.isDirectory())
                scan(codeSourceLocation, child);
            else if (name.endsWith(".class"))
                scanClass(codeSourceLocation, child);
            else if (Inquisitor.isArchive(name)) {
                inquisitor.inquire(child.toURI().toURL());
            } else if (ignore(name)) {
                //System.err.println("ignore " + child);
            } else
                LOG.warning("unknown resource " + dir + " / " + name);
        }
    }