void (@NotNull PsiLambdaExpression expression) { super.visitLambdaExpression(expression); if (IGNORE_UNCHECKED_ASSIGNMENT) return; PsiElement body = expression.getBody(); if (body instanceof PsiExpression) { PsiType interfaceReturnType = LambdaUtil.getFunctionalInterfaceReturnType(expression); if (interfaceReturnType != null && !PsiTypes.voidType().equals(interfaceReturnType)) { PsiType type = ((PsiExpression)body).getType(); if (type != null) { checkRawToGenericsAssignment(body, (PsiExpression)body, interfaceReturnType, type, () -> LocalQuickFix.EMPTY_ARRAY); } } } }