VarargEventId (String eventId, EventField<?>... extraFields) { EventField<?>[] baseFields = { EventFields.InputEvent, EventFields.ActionPlace, ActionsEventLogGroup.CONTEXT_MENU, EventFields.CurrentFile }; return GROUP.registerVarargEvent(eventId, ArrayUtil.mergeArrays(baseFields, extraFields)); }