Question

Hashmap as parameter in Function throwing error
Here's how can we define a function with hashmap as parameter in JAVA
public static void mapEDPIBeaconFields(String page, int ind, Map<String, Object> map)
{
System.out.println("\nmapEDPIBeaconFields: "+map.get("id").toString());
System.out.println("\nmapEDPIBeaconFields: "+page);
System.out.println("\nmapEDPIBeaconFields: "+ind);
}
I tried to create a function in Pega , it is throwing error. Attached the screenshot of the error and the Util library used.