test_class.file: core/src/test/java/net/adamcin/oakpal/core/repoinit/DefaultRepoInitFactoryTest.java
test_class.identifier: DefaultRepoInitFactoryTest
test_case.body: @Test(expected = RepoInitParsingException.class)
      public void testBindParserProcessor_throws() throws Exception {
          final OakMachine.RepoInitProcessor processor =
                  DefaultRepoInitFactory.bindParser(
                          new ParserType(reader -> {
                              throw new RepoInitParsingException("expected error", null);
                          }));
  
          processor.apply(null, new StringReader(""));
      }
test_case.class_method_signature: DefaultRepoInitFactoryTest.testBindParserProcessor_throws()
test_case.full_signature: @Test(expected = RepoInitParsingException.class) public void testBindParserProcessor_throws()
test_case.identifier: testBindParserProcessor_throws
test_case.invocations: bindParser apply
test_case.modifiers: @Test(expected = RepoInitParsingException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBindParserProcessor_throws()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(DefaultRepoInitFactory.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(DefaultRepoInitFactory.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: REPO_INIT_PARSER_IMPL_CLASS =
              "org.apache.sling.repoinit.parser.impl.RepoInitParserService"
focal_class.modifier: private static final
focal_class.original_string: private static final String REPO_INIT_PARSER_IMPL_CLASS =
              "org.apache.sling.repoinit.parser.impl.RepoInitParserService";
focal_class.type: String
focal_class.var_name: REPO_INIT_PARSER_IMPL_CLASS
focal_class.declarator: parserClazz
focal_class.original_string: Class<? extends RepoInitParser> parserClazz;
focal_class.type: Class<? extends RepoInitParser>
focal_class.var_name: parserClazz
focal_class.declarator: NOOP_PROCESSOR = (admin, reader) -> {
          throw new RepoInitParsingException("repoinit processor is not available", null);
      }
focal_class.modifier: static final
focal_class.original_string: static final OakMachine.RepoInitProcessor NOOP_PROCESSOR = (admin, reader) -> {
          throw new RepoInitParsingException("repoinit processor is not available", null);
      };
focal_class.type: OakMachine.RepoInitProcessor
focal_class.var_name: NOOP_PROCESSOR
focal_class.file: core/src/main/java/net/adamcin/oakpal/core/repoinit/DefaultRepoInitFactory.java
focal_class.identifier: DefaultRepoInitFactory
focal_class.class_method_signature: DefaultRepoInitFactory.DefaultRepoInitFactory(final @Nullable Class<? extends RepoInitParser> parserClazz)
focal_class.full_signature:   DefaultRepoInitFactory(final @Nullable Class<? extends RepoInitParser> parserClazz)
focal_class.identifier: DefaultRepoInitFactory
focal_class.parameters: (final @Nullable Class<? extends RepoInitParser> parserClazz)
focal_class.signature:  DefaultRepoInitFactory(final @Nullable Class<? extends RepoInitParser> parserClazz)
focal_class.class_method_signature: DefaultRepoInitFactory.newFactoryInstance(final @NotNull ClassLoader parserCl)
focal_class.full_signature: public static DefaultRepoInitFactory newFactoryInstance(final @NotNull ClassLoader parserCl)
focal_class.identifier: newFactoryInstance
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull ClassLoader parserCl)
focal_class.return: DefaultRepoInitFactory
focal_class.signature: DefaultRepoInitFactory newFactoryInstance(final @NotNull ClassLoader parserCl)
focal_class.class_method_signature: DefaultRepoInitFactory.loadClazz(final @NotNull ClassLoader classLoader,
                                                        final @NotNull Class<T> iface,
                                                        final @NotNull String clazzName)
focal_class.full_signature: static Class<? extends T> loadClazz(final @NotNull ClassLoader classLoader,
                                                        final @NotNull Class<T> iface,
                                                        final @NotNull String clazzName)
focal_class.identifier: loadClazz
focal_class.modifiers: static
focal_class.parameters: (final @NotNull ClassLoader classLoader,
                                                        final @NotNull Class<T> iface,
                                                        final @NotNull String clazzName)
focal_class.return: Class<? extends T>
focal_class.signature: Class<? extends T> loadClazz(final @NotNull ClassLoader classLoader,
                                                        final @NotNull Class<T> iface,
                                                        final @NotNull String clazzName)
focal_class.class_method_signature: DefaultRepoInitFactory.newDefaultRepoInitProcessor(
              final @NotNull ClassLoader defaultClassLoader)
focal_class.full_signature: public static OakMachine.RepoInitProcessor newDefaultRepoInitProcessor(
              final @NotNull ClassLoader defaultClassLoader)
focal_class.identifier: newDefaultRepoInitProcessor
focal_class.modifiers: public static
focal_class.parameters: (
              final @NotNull ClassLoader defaultClassLoader)
focal_class.return: OakMachine.RepoInitProcessor
focal_class.signature: OakMachine.RepoInitProcessor newDefaultRepoInitProcessor(
              final @NotNull ClassLoader defaultClassLoader)
focal_class.class_method_signature: DefaultRepoInitFactory.newInstance()
focal_class.full_signature:  OakMachine.RepoInitProcessor newInstance()
focal_class.identifier: newInstance
focal_class.parameters: ()
focal_class.return: OakMachine.RepoInitProcessor
focal_class.signature: OakMachine.RepoInitProcessor newInstance()
focal_class.class_method_signature: DefaultRepoInitFactory.bindParser(final @NotNull RepoInitParser parser)
focal_class.full_signature: public static OakMachine.RepoInitProcessor bindParser(final @NotNull RepoInitParser parser)
focal_class.identifier: bindParser
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull RepoInitParser parser)
focal_class.return: OakMachine.RepoInitProcessor
focal_class.signature: OakMachine.RepoInitProcessor bindParser(final @NotNull RepoInitParser parser)
focal_class.class_method_signature: DefaultRepoInitFactory.newParser()
focal_class.full_signature:  RepoInitParser newParser()
focal_class.identifier: newParser
focal_class.parameters: ()
focal_class.return: RepoInitParser
focal_class.signature: RepoInitParser newParser()
focal_class.class_method_signature: DefaultRepoInitFactory.newOpsProcessor()
focal_class.full_signature: static JcrRepoInitOpsProcessor newOpsProcessor()
focal_class.identifier: newOpsProcessor
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: JcrRepoInitOpsProcessor
focal_class.signature: JcrRepoInitOpsProcessor newOpsProcessor()
focal_method.body: public static OakMachine.RepoInitProcessor bindParser(final @NotNull RepoInitParser parser) {
          final JcrRepoInitOpsProcessor processor = newOpsProcessor();
          return (admin, reader) -> {
              final List<Operation> parsed = parser.parse(reader);
              processor.apply(admin, parsed);
          };
      }
focal_method.class_method_signature: DefaultRepoInitFactory.bindParser(final @NotNull RepoInitParser parser)
focal_method.full_signature: public static OakMachine.RepoInitProcessor bindParser(final @NotNull RepoInitParser parser)
focal_method.identifier: bindParser
focal_method.invocations: newOpsProcessor parse apply
focal_method.modifiers: public static
focal_method.parameters: (final @NotNull RepoInitParser parser)
focal_method.return: OakMachine.RepoInitProcessor
focal_method.signature: OakMachine.RepoInitProcessor bindParser(final @NotNull RepoInitParser parser)