made EventTypeGetter getFromList generic