if(fd.isSystemFunction(FunctionLibrary.CONVERT) || fd.isSystemFunction(FunctionLibrary.CAST)) { String dataType = (String) ((Constant)args[1]).getValue(); Class<?> dataTypeClass = metadata.getDataTypeClass(dataType); } else if(fd.isSystemFunction(FunctionLibrary.LOOKUP)) { ResolverUtil.ResolvedLookup lookup = ResolverUtil.resolveLookup(function, metadata); fd = library.copyFunctionChangeReturnType(fd, lookup.getReturnElement().getType()); } else if (fd.isSystemFunction(FunctionLibrary.ARRAY_GET)) { if (args[0].getType() != null && args[0].getType().isArray()) { fd = library.copyFunctionChangeReturnType(fd, args[0].getType().getComponentType());
if(fd.isSystemFunction(FunctionLibrary.CONVERT) || fd.isSystemFunction(FunctionLibrary.CAST)) { String dataType = (String) ((Constant)args[1]).getValue(); Class<?> dataTypeClass = metadata.getDataTypeClass(dataType); } else if(fd.isSystemFunction(FunctionLibrary.LOOKUP)) { ResolverUtil.ResolvedLookup lookup = ResolverUtil.resolveLookup(function, metadata); fd = library.copyFunctionChangeReturnType(fd, lookup.getReturnElement().getType()); } else if (fd.isSystemFunction(FunctionLibrary.ARRAY_GET)) { if (args[0].getType() != null && args[0].getType().isArray()) { fd = library.copyFunctionChangeReturnType(fd, args[0].getType().getComponentType());
if(fd.isSystemFunction(FunctionLibrary.CONVERT) || fd.isSystemFunction(FunctionLibrary.CAST)) { String dataType = (String) ((Constant)args[1]).getValue(); Class<?> dataTypeClass = metadata.getDataTypeClass(dataType); } else if(fd.isSystemFunction(FunctionLibrary.LOOKUP)) { ResolverUtil.ResolvedLookup lookup = ResolverUtil.resolveLookup(function, metadata); fd = library.copyFunctionChangeReturnType(fd, lookup.getReturnElement().getType()); } else if (fd.isSystemFunction(FunctionLibrary.ARRAY_GET)) { if (args[0].getType() != null && args[0].getType().isArray()) { fd = library.copyFunctionChangeReturnType(fd, args[0].getType().getComponentType());