public String getType() {
   Class<?> mainType = first(serviceDescriptor.types());
   if (mainType == null) {
     return null;
   }
   return mainType.getName();
 }
 public String getVisibility() {
   return serviceDescriptor.visibility().name();
 }
 public String getId() {
   return serviceDescriptor.identity();
 }