docs: @Override
      public final String format(String key, ClassAnnotation primaryClass) {
          if ("class.givenClass".equals(key)) {
              return shorten(primaryClass.getPackageName(), className);
          }
          if ("simpleClass".equals(key)) {
              return ClassName.extractSimpleName(className);
          }
          if ("class".equals(key)) {
              return className;
          }
          if ("package".equals(key)) {
              return getPackageName();
          }
          if ("".equals(key) && FindBugsDisplayFeatures.isAbridgedMessages() && primaryClass != null) {
              return formatPackageMember("givenClass", primaryClass);
          }
          return formatPackageMember(key, primaryClass);
      }