updated javadoc in EventType onEvent and applyFilter