boolean (PsiField field) { return field.hasModifierProperty(PsiModifier.FINAL) && field.hasModifierProperty(PsiModifier.STATIC) && field.getContainingClass() == PsiUtil.resolveClassInClassTypeOnly(field.getType()); }