code: private boolean implementsCommonInterface(String name) {
          try {
              JavaClass cls = Repository.lookupClass(name);
              JavaClass[] infs = cls.getAllInterfaces();
  
              for (JavaClass inf : infs) {
                  String infName = inf.getClassName();
                  if (ignorableInterfaces.contains(infName)) {
                      continue;
                  }
                  if (infName.startsWith("java.")) {
                      return true;
                  }
              }
              return false;
  
          } catch (ClassNotFoundException cnfe) {
              bugReporter.reportMissingClass(cnfe);
              return true;
          }
      }
docs: return whether or not a class implements a common or marker interface
  
  @param name
  the class name to check
  
  @return if this class implements a common or marker interface