{
boolean allInterfaceOperationsHaveBinding = true;
QName bindingQN = binding.getName();
String bindingName = bindingQN != null ? bindingQN.getLocalPart() : null;
Interface interfac = binding.getInterface();
if(interfac == null)
return true;
BindingOperation[] bindingOperations = binding.getBindingOperations();
int numBindingOperations = bindingOperations.length;
List usedInterfaceOperationList = new ArrayList();
for(int i = 0; i < numBindingOperations; i++)
{
InterfaceOperation io = bindingOperations[i].getInterfaceOperation();
if(io != null)
usedInterfaceOperationList.add(io);
}
// Check the interface operations.
if(!checkAllInterfaceOperationsHaveBinding(bindingName, interfac, usedInterfaceOperationList, errorReporter))
allInterfaceOperationsHaveBinding = false;
Interface[] extendedInterfaces = interfac.getExtendedInterfaces();
if(extendedInterfaces != null)
{
int numExtendedInterfaces = extendedInterfaces.length;
for(int i = 0; i < numExtendedInterfaces; i++)
{