UsageGroup (@NotNull Usage usage, UsageTarget @NotNull [] targets) { MockUsage mockUsage = (MockUsage)usage; if (mockUsage.getId() > 1000) return null; return mockUsage.getId() % 2 == 0 ? EVEN : ODD; }