in java/nativeWrappers/src/main/java/com/epam/deltix/dfp/JavaWrappers.java [81:120]
private static String cppTypeToJava(String type) {
type = getCppType(type);
switch (type) {
case "_Decimal64":
case "decimal64":
case "D64Bits":
case "BID_UINT64":
return "long";
case "int8":
case "uint8":
case "Int8":
case "UInt8":
return "byte";
case "int16":
case "uint16":
case "Int16":
case "UInt16":
return "short";
case "int32":
case "uint32":
case "Int32":
case "UInt32":
return "int";
case "int64":
case "uint64":
case "Int64":
case "UInt64":
return "long";
case "float":
case "Float32":
return "float";
case "double":
case "Float64":
return "double";
case "intBool":
return "boolean";
default:
throw new RuntimeException("Can't convert C++ type (='" + type + "') to Java type.");
}
}