def METHOD_NAME(self, name, info, ifcond, features, arg_type, boxed):
    print('event %s %s' % (name, arg_type and arg_type.name))
    print('    boxed=%s' % boxed)
    self._print_if(ifcond)
    self._print_features(features)