@Override
  public @NotNull RegExpPattern getPattern() {
    final ASTNode node = getNode().findChildByType(RegExpElementTypes.PATTERN);
    assert node != null;
    return (RegExpPattern)node.getPsi();
  }
@Override
  public @NotNull RegExpPattern getPattern()