LeafElement (@NotNull IElementType type, @NotNull CharSequence text) { if (PyTokenTypes.STRING_NODES.contains(type)) { return new PyPlainStringElementImpl(type, text); } return super.createLeaf(type, text); }