boolean (PsiExpression qualifier) { PsiElement target = qualifier instanceof PsiReferenceExpression ? ((PsiReferenceExpression)qualifier).resolve() : null; return target instanceof PsiField && ((PsiField)target).hasModifierProperty(PsiModifier.VOLATILE); }