added support for specifying event if conditions with a method name symbol