class ZzzzzzNodePostProcessor extends NodePostProcessor {
    public ZzzzzzNodePostProcessor(Document document) {
    }

    @Override
    public void process(@NotNull NodeTracker state, @NotNull Node node) {

    }

    private void processText(NodeTracker state, Text node) {<FILL_FUNCTION_BODY>}

    public static class Factory extends NodePostProcessorFactory {
        public Factory() {
            super(false);

            addNodeWithExclusions(Text.class, DoNotDecorate.class/*, Heading.class*/);
            //addNodes(HtmlBlock.class, HtmlCommentBlock.class);
        }

        @NotNull
        @Override
        public NodePostProcessor apply(@NotNull Document document) {
            return new ZzzzzzNodePostProcessor(document);
        }
    }
}

        BasedSequence original = node.getChars();
        boolean wrapInTextBase = !(node.getParent() instanceof TextBase);
        TextBase textBase = null;

        while (wrapInTextBase) {
            if (wrapInTextBase) {
                wrapInTextBase = false;
                textBase = new TextBase(original);
                node.insertBefore(textBase);
                textBase.appendChild(node);
                state.nodeAdded(textBase);
            }
        }
    
<methods>public non-sealed void <init>() ,public final @NotNull Document processDocument(@NotNull Document) <variables>