default @Nullable PsiElement getElementByReference(@NotNull PsiReference ref, final int flags) {
    return null;
  }
default @Nullable PsiElement getElementByReference(@NotNull PsiReference ref, final int flags)