There's no point returning the specific HashMap type here.
Return the generic interface type instead.
Note that no users are actually calling these functions yet,
since at present they always fail.
package com.redhat.et.libguestfs;
import java.util.HashMap;
+import java.util.Map;
import com.redhat.et.libguestfs.LibGuestFSException;
import com.redhat.et.libguestfs.PV;
import com.redhat.et.libguestfs.VG;
| RStructList (_, typ) ->
let name = java_name_of_struct typ in
pr "%s[] " name;
- | RHashtable _ -> pr "HashMap<String,String> ";
+ | RHashtable _ -> pr "Map<String,String> ";
);
if native then pr "_%s " name else pr "%s " name;