mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ignore implicit extends Object bound e.g. we skip it already in com.intellij.psi.impl.compiled.SignatureParsing.parseTypeParameter (IDEA-92740)
This commit is contained in:
@@ -306,6 +306,8 @@ public class MethodSignatureUtil {
|
||||
for (PsiClassType superSuper : superTypeParameter.getSuperTypes()) {
|
||||
superSupers.add(methodSubstitutor.substitute(PsiUtil.captureToplevelWildcards(result.substitute(superSuper), methodTypeParameter)));
|
||||
}
|
||||
methodSupers.remove(PsiType.getJavaLangObject(methodTypeParameter.getManager(), methodTypeParameter.getResolveScope()));
|
||||
superSupers.remove(PsiType.getJavaLangObject(superTypeParameter.getManager(), superTypeParameter.getResolveScope()));
|
||||
if (!methodSupers.equals(superSupers)) return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user