boolean ( @Nullable PsiElement element) { if (!(element instanceof PsiModifierListOwner variable)) { return false; } return AnnotationUtil.isAnnotated(variable, AnnotationUtil.NON_NLS, CHECK_EXTERNAL); }