@Override
  @Nullable
  public PsiElement resolve() {
    final ResolveResult res = doResolve();
    return res != null ? res.getElement() : null;
  }
@Override
  @Nullable
  public PsiElement resolve()