use of org.projectnessie.tools.compatibility.api.NessieVersion in project nessie by projectnessie.
the class AbstractMultiVersionExtension method populateNessieVersionAnnotatedFields.
Version populateNessieVersionAnnotatedFields(ExtensionContext context, Object instance) {
Optional<Version> nessieVersion = nessieVersionFromContext(context);
if (!nessieVersion.isPresent()) {
return null;
}
Version version = nessieVersion.get();
populateAnnotatedFields(context, instance, NessieVersion.class, f -> version);
return version;
}
Aggregations