code: private boolean isCollection(@SlashedClassName String className) {
          try {
              JavaClass cls = Repository.lookupClass(className);
              return cls.implementationOf(collectionClass) && !exceptionClasses.contains(cls);
          } catch (ClassNotFoundException cnfe) {
              bugReporter.reportMissingClass(cnfe);
              return false;
          }
      }
docs: returns whether the class name is derived from java.util.Collection
  
  @param className
  the class to check
  @return whether the class is a collection