private void handleNotification(GameNotification notification) {
    String serializedNotificationObject = notification.getSerializedNotificationObject();

    U notificationObject =
        (U)
            this.getNotificationParser()
                .parseToObject(serializedNotificationObject, this.notificationClazz);

    this.getObserver().notify(notificationObject);
  }
 private boolean canHandleNotification(GameNotification notification) {
   return this.notificationType.getType().equals(notification.getType());
 }