mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Ctrl-Q: detect acceptable method with respect to assignability (IDEA-77139)
This commit is contained in:
@@ -157,10 +157,12 @@ public class JavaDocUtil {
|
||||
|
||||
for (int k = 0; k < parms.length; k++) {
|
||||
PsiParameter parm = parms[k];
|
||||
final PsiType parmType = parm.getType();
|
||||
if (
|
||||
types[k] != null &&
|
||||
!TypeConversionUtil.erasure(parm.getType()).getCanonicalText().equals(types[k].getCanonicalText()) &&
|
||||
!parm.getType().getCanonicalText().equals(types[k].getCanonicalText())
|
||||
!TypeConversionUtil.erasure(parmType).getCanonicalText().equals(types[k].getCanonicalText()) &&
|
||||
!parmType.getCanonicalText().equals(types[k].getCanonicalText()) &&
|
||||
!TypeConversionUtil.isAssignable(parmType, types[k])
|
||||
) {
|
||||
continue MethodsLoop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user