Lines 737-742
Link Here
|
737 |
// but method cannot have a "generic-enabled" parameter type |
737 |
// but method cannot have a "generic-enabled" parameter type |
738 |
if (substituteMethod.hasSubstitutedParameters() && method.areParameterErasuresEqual(substituteMethod)) |
738 |
if (substituteMethod.hasSubstitutedParameters() && method.areParameterErasuresEqual(substituteMethod)) |
739 |
return method.typeVariables == Binding.NO_TYPE_VARIABLES && !hasGenericParameter(method); |
739 |
return method.typeVariables == Binding.NO_TYPE_VARIABLES && !hasGenericParameter(method); |
|
|
740 |
|
741 |
// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=279836 |
742 |
if (method.declaringClass.isRawType() && substituteMethod.declaringClass.isRawType()) |
743 |
if (method.hasSubstitutedParameters() && substituteMethod.hasSubstitutedParameters()) |
744 |
return areMethodsCompatible(method, substituteMethod); |
745 |
|
740 |
return false; |
746 |
return false; |
741 |
} |
747 |
} |
742 |
|
748 |
|