void (@NotNull PsiReferenceExpression expression) { PsiElement resolved = expression.resolve(); if (!(resolved instanceof PsiModifierListOwner owner)) return; checkPreviewFeature(expression, expression, owner); }