docs: public static PrimitiveValue parse(
          final String value, final PrimitiveType primitiveType, final String characterEncoding)
      {
          if (PrimitiveType.CHAR != primitiveType)
          {
              throw new IllegalArgumentException("primitiveType must be char: " + primitiveType);
          }
  
          if (value.length() > 1)
          {
              throw new IllegalArgumentException("Constant char value malformed: " + value);
          }
  
          return new PrimitiveValue(value.getBytes(forName(characterEncoding))[0], characterEncoding);
      }