code: public String resolveExpressionOfEventName(VariableScope scope) {
      if (isExpressionAvailable()) {
        return (String) eventName.getValue(scope);
      } else {
        return null;
      }
    }
docs: Resolves the event name within the given scope.