VarargEventId (String eventId, EventField<?>... extraFields) { EventField<?>[] baseFields = {EventFields.PluginInfoFromInstance, EventFields.FileType, EventFields.AnonymizedPath, SCHEMA}; return GROUP.registerVarargEvent(eventId, ArrayUtil.mergeArrays(baseFields, extraFields)); }