public @Nullable PsiElement getElementAtCaret(boolean tryInjected) {
    PsiFile file = getPsiFile();
    return file == null ? null : getElementAtCaret(file, tryInjected);
  }
public @Nullable PsiElement getElementAtCaret(boolean tryInjected)