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();
    }

}

@@ -70,23 +70,16 @@
  %7B%0A%0A    
-public 
 StartRes

Remove unnecessary modifier