Set<MetricEvent> (@NotNull Project project) { EntryPointsManagerBase entryPointManager = EntryPointsManagerBase.getInstance(project); Set<MetricEvent> result = new LinkedHashSet<>(); addAdditionalAnnotationsMetric(result, entryPointManager.getCustomAdditionalAnnotations()); result.add(WRITE_ANNOTATIONS.metric(!entryPointManager.getWriteAnnotations().isEmpty())); result.add(CLASS_PATTERNS.metric(!entryPointManager.getPatterns().isEmpty())); return result; }