void (@NotNull GrNamedArgument argument) { final GrArgumentLabel label = argument.getLabel(); if (label != null) { PsiType expectedType = label.getExpectedArgumentType(); if (expectedType != null) { expectedType = TypeConversionUtil.erasure(expectedType); final GrExpression expr = argument.getExpression(); if (expr != null) { final PsiType argType = expr.getType(); if (argType != null) { final PsiClassType listType = JavaPsiFacade.getInstance(argument.getProject()).getElementFactory() .createTypeByFQClassName(CommonClassNames.JAVA_UTIL_LIST, argument.getResolveScope()); if (listType.isAssignableFrom(argType)) return; //this is constructor arguments list checkAssignability(expectedType, expr, argument); } } } } }