package org.commonmark.internal;

public interface BlockParserFactory {

    public StartResult tryStart(ParserState state);

    interface ParserState {
        String getLine();

        int getOffset();

        int getNextNonSpace();

        BlockParser getActiveBlockParser();

        int getLineNumber();
    }

    interface StartResult {
    }

    interface NoStart extends StartResult {
    }

    interface BlockStart extends StartResult {
        Iterable<BlockParser> getBlockParsers();

        int getNewOffset();

        boolean replaceActiveBlockParser();
    }

}

package org.commonmark.internal;

public interface BlockParserFactory {

    StartResult tryStart(ParserState state);

    interface ParserState {
        String getLine();

        int getOffset();

        int getNextNonSpace();

        BlockParser getActiveBlockParser();

        int getLineNumber();
    }

    interface StartResult {
    }

    interface NoStart extends StartResult {
    }

    interface BlockStart extends StartResult {
        Iterable<BlockParser> getBlockParsers();

        int getNewOffset();

        boolean replaceActiveBlockParser();
    }

}

Remove unnecessary modifier