@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((applicableBinding == null) ? 0 : applicableBinding.hashCode());
   result = prime * result + ((endpointQualifier == null) ? 0 : endpointQualifier.hashCode());
   result = prime * result + ((providingModule == null) ? 0 : providingModule.hashCode());
   result = prime * result + ((resolvedService == null) ? 0 : resolvedService.hashCode());
   result = prime * result + ((serviceRef == null) ? 0 : serviceRef.hashCode());
   return result;
 }
 @Check
 public void checkServiceIsUsed(Service service) {
   List<EObject> allConsumers = svcQueries.findAllServiceConsumers(service);
   if (allConsumers.isEmpty()) {
     warning(
         "The service "
             + nameProvider.getFullyQualifiedName(service)
             + " version "
             + service.getVersion().getVersion()
             + " is not being used by a service or solution.",
         ServiceDslPackage.Literals.SERVICE__NAME);
   }
 }
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   ServiceRefBindingDescription other = (ServiceRefBindingDescription) obj;
   if (applicableBinding == null) {
     if (other.applicableBinding != null) return false;
   } else if (!applicableBinding.equals(other.applicableBinding)) return false;
   if (endpointQualifier == null) {
     if (other.endpointQualifier != null) return false;
   } else if (!endpointQualifier.equals(other.endpointQualifier)) return false;
   if (providingModule == null) {
     if (other.providingModule != null) return false;
   } else if (!providingModule.equals(other.providingModule)) return false;
   if (resolvedService == null) {
     if (other.resolvedService != null) return false;
   } else if (!resolvedService.equals(other.resolvedService)) return false;
   if (serviceRef == null) {
     if (other.serviceRef != null) return false;
   } else if (!serviceRef.equals(other.serviceRef)) return false;
   return true;
 }