boolean (GrMethodCallExpression call, GroovyResolveResult result, GroovyClosureType closureType) { List<Argument> arguments = ArgumentsKt.getArguments(call); PsiType returnType = closureType.returnType(arguments); return isRawType(returnType, result.getSubstitutor()); }