boolean (@NotNull PsiMember member) { final PsiClass containingClass = member.getContainingClass(); if (containingClass == null) return false; return containingClass.hasModifierProperty(PsiModifier.FINAL); }