EventLogGroup (@NotNull String groupId) { if (!myGroups.containsKey(groupId)) { LOG.error( "Cannot record event because group '" + groupId + "' is not registered. " + "To fix it add '<statistics.counterUsagesCollector groupId=\"" + groupId + "\" version=\"1\"/>' in plugin.xml"); return null; } return myGroups.get(groupId); }