@Override
  public @Nullable PsiElement resolve() {
    PsiClass enumClass = myEnumClass.resolve();
    if (enumClass == null) return null;
    return enumClass.findFieldByName(getRangeText(), false);
  }
@Override
  public @Nullable PsiElement resolve()