@Nullable
  public static PsiElement getContextElement(@Nullable SourcePosition position) {
    return position == null ? null : position.getElementAt();
  }
@Nullable
  public static PsiElement getContextElement(@Nullable SourcePosition position)