public @NotNull Self beforeLeaf(final @NlsSafe String @NotNull ... withText) {
    return beforeLeaf(psiElement().withText(StandardPatterns.string().oneOf(withText)));
  }
public @NotNull Self beforeLeaf(final @NlsSafe String @NotNull ... withText)