boolean (@NotNull PsiVariable var) { if (!(var instanceof PsiField)) return false; PsiClass containingClass = ((PsiField)var).getContainingClass(); return containingClass != null && System.class.getName().equals(containingClass.getQualifiedName()); }