docs: private static Object decode(Class<?> type, String value) throws ClassNotFoundException {
          String name = type.getName();
          switch (name) {
          case "java.lang.String":
              return value;
          case "boolean":
              // CHECKSTYLE:OFF
              return Boolean.valueOf(value);
              // CHECKSTYLE:ON
          case "int":
              return Integer.valueOf(value);
          case "long":
              return Long.valueOf(value);
          case "float":
              return Float.valueOf(value);
          case "double":
              return Double.valueOf(value);
          case "short":
              return Short.valueOf(value);
          case "byte":
              return Byte.valueOf(value);
          case "java.lang.Class":
              return Class.forName(value);
          }
          return null;
      }