public String getName() {
      String className = this.getClass().getSimpleName();
      final String extName = ResourceAnalyzer.class.getSimpleName();
      if (className.endsWith(extName)) {
        return className.substring(0, className.length() - extName.length());
      } else {
        return className;
      }
    }
Name of the resource analyzed. By default extracted from the class name, but can be
overridden by the subclasses.
hbase-common/src/test/java/org/apache/hadoop/hbase/ResourceChecker.java