boolean (ParameterInfoImpl[] expected, PsiVariable[] actual, PsiElement context) { if (actual.length != expected.length) { return false; } for (int i = 0; i < actual.length; i++) { if (!TypeConversionUtil.isAssignable(actual[i].getType(), expected[i].getTypeWrapper().getType(context))) { return false; } } return true; }