public @Nullable PsiClass getParentClass(@NotNull PsiExpression initializerExpression) {
    boolean compileTimeConstant = LocalToFieldHandler.isCompileTimeConstant(initializerExpression, initializerExpression.getType());
    PsiElement parent = initializerExpression.getUserData(ElementToWorkOn.PARENT);
    PsiClass aClass = PsiTreeUtil.getParentOfType((parent == null) ? initializerExpression : parent, PsiClass.class);
    while (aClass != null) {
      if (!myIsConstant || compileTimeConstant || LocalToFieldHandler.isStaticFieldAllowed(aClass)) return aClass;
      aClass = PsiTreeUtil.getParentOfType(aClass, PsiClass.class);
    }
    return null;
  }
public @Nullable PsiClass getParentClass(@NotNull PsiExpression initializerExpression)