code: @edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = "EXS_EXCEPTION_SOFTENING_RETURN_FALSE", justification = "No other simple way to determine whether class exists")
      private boolean generalPurpose(final String className) {
  
          if (className.startsWith("java.") || className.startsWith("javax.")) {
              return true;
          }
  
          try {
              JavaClass cls = Repository.lookupClass(className);
              JavaClass[] infs = cls.getAllInterfaces();
              for (JavaClass inf : infs) {
                  String infName = inf.getClassName();
                  if ("java.io.Serializable".equals(infName) || "java.lang.Cloneable".equals(infName) || "java.lang.Comparable".equals(infName)
                          || "java.lang.Runnable".equals(infName)) {
                      continue;
                  }
                  if (infName.startsWith("java.lang.") || infName.startsWith("javax.lang.")) {
                      return true;
                  }
              }
              JavaClass[] sups = cls.getSuperClasses();
              for (JavaClass sup : sups) {
                  String supName = sup.getClassName();
                  if (Values.DOTTED_JAVA_LANG_OBJECT.equals(supName) || Values.DOTTED_JAVA_LANG_EXCEPTION.equals(supName)
                          || Values.DOTTED_JAVA_LANG_RUNTIMEEXCEPTION.equals(supName) || "java.lang.Throwable".equals(supName)) {
                      continue;
                  }
                  if (supName.startsWith("java.lang.") || supName.startsWith("javax.lang.")) {
                      return true;
                  }
              }
          } catch (ClassNotFoundException cfne) {
              bugReporter.reportMissingClass(cfne);
              return true;
          }
  
          return false;
      }
docs: checks to see if the specified class is a built in class, or implements a simple interface
  
  @param className
  the class in question
  
  @return whether or not the class is general purpose