else if (ownerDescriptor instanceof ClassDescriptor) {
<BUG>SignaturesPropagationData propagated = externalSignatureResolver
</BUG>
.resolvePropagatedSignature(method, (ClassDescriptor) ownerDescriptor, returnType, null, valueParameters,
methodTypeParameters);
<BUG>superFunctions = propagated.getSuperFunctions();
</BUG>
effectiveSignature = externalSignatureResolver
<BUG>.resolveAlternativeMethodSignature(method, !superFunctions.isEmpty(), propagated.getModifiedReturnType(),
propagated.getModifiedReceiverType(), propagated.getModifiedValueParameters(),
propagated.getModifiedTypeParameters());
signatureErrors = new ArrayList<String>(propagated.getSignatureErrors());
signatureErrors.addAll(effectiveSignature.getErrors());</BUG>
}

else if (ownerDescriptor instanceof ClassDescriptor) {
ExternalSignatureResolver.PropagatedMethodSignature propagated = externalSignatureResolver
.resolvePropagatedSignature(method, (ClassDescriptor) ownerDescriptor, returnType, null, valueParameters,
methodTypeParameters);
superFunctions = propagated.getSuperMethods();
effectiveSignature = externalSignatureResolver
.resolveAlternativeMethodSignature(method, !superFunctions.isEmpty(), propagated.getReturnType(),
propagated.getReceiverType(), propagated.getValueParameters(),
propagated.getTypeParameters());
signatureErrors = new ArrayList<String>(propagated.getErrors());
signatureErrors.addAll(effectiveSignature.getErrors());
}
