void (@NotNull PsiJavaCodeReferenceElement ref, PsiElement parent, @NotNull QuickFixActionRegistrar registrar) { HighlightingFeature feature; if (parent instanceof PsiParameter && ((PsiParameter)parent).getDeclarationScope() instanceof PsiLambdaExpression) { feature = HighlightingFeature.VAR_LAMBDA_PARAMETER; } else { feature = HighlightingFeature.LVTI; } registerIncreaseLevelFixes(ref, feature, registrar); }