public Parser factoryParagraph() {
        if (factoryParagraphParser == null) {
           FutureParser future = scoped("factoryParagraph");
           factoryParagraphParser = future;
           future.setParser(
               sequence(
                   choice(
                       token("FACTORY"),
                       token("STATIC")
                   ),
                   optional(
                       token(".")
                   ),
                   optional(
                       sequence(
                           token("IMPLEMENTS"),
                           plus(
                               interfaceName()
                           ),
                           token(".")
                       )
                   )
               )
           );
        }

        return factoryParagraphParser;
    }