GradleTestSource (@NotNull BaseGradleVersionSource annotation) { return new GradleTestSource() { @Override public Class<? extends Annotation> annotationType() { return GradleTestSource.class; } @Override public String[] values() { return annotation.value(); } @Override public String value() { return VersionMatcherRule.BASE_GRADLE_VERSION; } @Override public char separator() { return ','; } @Override public char delimiter() { return ':'; } }; }