if (v1annotation != null) {
return new ServiceBuilder<>(
new V1ServiceFactory<>(serviceType, v1annotation));
}
CustomServiceInterface customAnnotation =
serviceType.getAnnotation(CustomServiceInterface.class);
if (customAnnotation != null) {
return new ServiceBuilder<>(
new CustomServiceFactory<>(serviceType, customAnnotation));