Hi bwj,
at the Moment i don't remember the exactly API but you can check the type of the node, i.e.
for (NodeInstance ni : myNodeInstances) {
if(ni instanceof EventNodeInstance){
EventNodeInstance eventNi=(EventNodeInstance)ni;
System.out.println(ni.getEventType());
}
}