@Nullable
  public static PsiField getSimplyReturnedField(@Nullable PsiExpression value) {
    value = PsiUtil.skipParenthesizedExprDown(value);
    if (!(value instanceof PsiReferenceExpression reference)) {
      return null;
    }

    if (hasSubstantialQualifier(reference)) {
      return null;
    }

    final PsiElement referent = reference.resolve();
    if (!(referent instanceof PsiField)) {
      return null;
    }

    return (PsiField)referent;
  }
@Nullable
  public static PsiField getSimplyReturnedField(@Nullable PsiExpression value)