code: protected void addIfMatching(final Test test, final String fqn) {
          try {
              final ClassLoader loader = getClassLoader();
              if (test.doesMatchClass()) {
                  final String externalName = fqn.substring(0, fqn.indexOf('.')).replace('/', '.');
                  if (LOGGER.isDebugEnabled()) {
                      LOGGER.debug("Checking to see if class " + externalName + " matches criteria [" + test + ']');
                  }
  
                  final Class<?> type = loader.loadClass(externalName);
                  if (test.matches(type)) {
                      classMatches.add(type);
                  }
              }
              if (test.doesMatchResource()) {
                  URL url = loader.getResource(fqn);
                  if (url == null) {
                      url = loader.getResource(fqn.substring(1));
                  }
                  if (url != null && test.matches(url.toURI())) {
                      resourceMatches.add(url.toURI());
                  }
              }
          } catch (final Throwable t) {
              LOGGER.warn("Could not examine class '" + fqn, t);
          }
      }
docs: Add the class designated by the fully qualified class name provided to the set of resolved classes if and only if
  it is approved by the Test supplied.
  
  @param test
  the test used to determine if the class matches
  @param fqn
  the fully qualified name of a class