code: private String stripLevel(String eventName) {
          int i = eventName.lastIndexOf('.');
          return i > 1 ? eventName.substring(0, i) : "";
      }
docs: Strips the lowest hierarchical level from the event type.
  
  @param eventName Event type.
  @return Event type with the lowest level removed.