code: public boolean accept(ClassInfo classInfo, ClassHierarchyResolver hierarchyResolver) {
      Map<String, ClassInfo> superClasses;
      if (baseClass.isInterface())
        superClasses = hierarchyResolver.findAllInterfaces(classInfo);
      else
        superClasses = hierarchyResolver.findAllSuperClasses(classInfo);
  
      return superClasses.keySet().contains(baseClass.getName());
    }
docs: Perform the acceptance test on the loaded <tt>Class</tt> object.
  
  @return <tt>true</tt> if the class name matches,
  <tt>false</tt> if it doesn't