code: String factoryName(String key) {
          return Stream.of(key.split("[\\.-]"))
                  .skip(2)
                  .map(s -> Character.toUpperCase(s.charAt(0)) + s.substring(1))
                  .collect(Collectors.joining(""));
      }
docs: Form the name of a factory method/field given a resource key.