private static String getChar(int type) {
    return switch (type) {
      case CodeConstants.TYPE_BYTE -> "B";
      case CodeConstants.TYPE_CHAR -> "C";
      case CodeConstants.TYPE_DOUBLE -> "D";
      case CodeConstants.TYPE_FLOAT -> "F";
      case CodeConstants.TYPE_INT -> "I";
      case CodeConstants.TYPE_LONG -> "J";
      case CodeConstants.TYPE_SHORT -> "S";
      case CodeConstants.TYPE_BOOLEAN -> "Z";
      case CodeConstants.TYPE_VOID -> "V";
      case CodeConstants.TYPE_GROUP2EMPTY -> "G";
      case CodeConstants.TYPE_NOTINITIALIZED -> "N";
      case CodeConstants.TYPE_ADDRESS -> "A";
      case CodeConstants.TYPE_BYTECHAR -> "X";
      case CodeConstants.TYPE_SHORTCHAR -> "Y";
      case CodeConstants.TYPE_UNKNOWN -> "U";
      case CodeConstants.TYPE_NULL, CodeConstants.TYPE_OBJECT -> null;
      default -> throw new RuntimeException("Invalid type");
    };
  }
private static String getChar(int type)