void (@NotNull PsiVariable variable) { if (variable instanceof PsiParameter && ((PsiParameter)variable).getDeclarationScope() instanceof PsiLambdaExpression) { return; } PsiTypeElement typeElement = getTypeElementToExpand(variable); if (typeElement != null) { registerTypeElementProblem(typeElement); } }