code: protected final String getClassMessage(String className, String key) {
      registry.load(locale, Strings.substringBeforeLast(className, ".") + ".package");
      Option<TextBundle> bundle = registry.load(locale, className);
      return bundle.isDefined() ? bundle.get().getText(key) : null;
    }
docs: Gets the message from the named resource bundle.