docs: public static boolean check() {
          Class<?> objectType;
          Class<?>  type;
          Class<?>  constants;
          Class<?>  emptyVis;
          Class<?>  repository;
          try {
              objectType = Class.forName(ORG_APACHE_BCEL_GENERIC_OBJECT_TYPE);
              type = Class.forName(ORG_APACHE_BCEL_GENERIC_TYPE);
              constants = Class.forName(ORG_APACHE_BCEL_CONSTANTS);
              emptyVis = Class.forName(ORG_APACHE_BCEL_CLASSFILE_EMPTY_VISITOR);
              repository = Class.forName(ORG_APACHE_BCEL_REPOSITORY);
  
          } catch (ClassNotFoundException e) {
              LOG.error("One or more required BCEL classes were missing."
                      + " Ensure that bcel.jar is placed at the same directory with spotbugs.jar");
              return false;
          }
          if (isFinal(objectType)) {
              error(ORG_APACHE_BCEL_GENERIC_OBJECT_TYPE);
              return false;
          }
          if (isFinal(type)) {
              error(ORG_APACHE_BCEL_GENERIC_TYPE);
              return false;
          }
          if (isFinal(constants)) {
              error(ORG_APACHE_BCEL_CONSTANTS);
              return false;
          }
          if (isFinal(emptyVis)) {
              error(ORG_APACHE_BCEL_CLASSFILE_EMPTY_VISITOR);
              return false;
          }
          if (isFinal(repository)) {
              error(ORG_APACHE_BCEL_REPOSITORY);
              return false;
          }
          return true;
      }