test_class.declarator: registry = ParsingHookRegistry.getInstance()
test_class.modifier: private final
test_class.original_string: private final ParsingHookRegistry registry = ParsingHookRegistry.getInstance();
test_class.type: ParsingHookRegistry
test_class.var_name: registry
test_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/test/java/org/apache/shardingsphere/sql/parser/hook/ParsingHookRegistryTest.java
test_class.identifier: ParsingHookRegistryTest
test_case.body: @Test
      public void assertFinishFailure() {
          registry.finishFailure(null);
          assertTrue(ParsingHookFixture.containsAction("finishFailure"));
      }
test_case.class_method_signature: ParsingHookRegistryTest.assertFinishFailure()
test_case.full_signature: @Test public void assertFinishFailure()
test_case.identifier: assertFinishFailure
test_case.invocations: finishFailure assertTrue containsAction
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertFinishFailure()
focal_class.declarator: INSTANCE = new ParsingHookRegistry()
focal_class.modifier: private static final
focal_class.original_string: private static final ParsingHookRegistry INSTANCE = new ParsingHookRegistry();
focal_class.type: ParsingHookRegistry
focal_class.var_name: INSTANCE
focal_class.declarator: hooks
focal_class.modifier: private final
focal_class.original_string: private final Collection<ParsingHook> hooks;
focal_class.type: Collection<ParsingHook>
focal_class.var_name: hooks
focal_class.file: shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/hook/ParsingHookRegistry.java
focal_class.identifier: ParsingHookRegistry
focal_class.class_method_signature: ParsingHookRegistry.ParsingHookRegistry()
focal_class.full_signature: private  ParsingHookRegistry()
focal_class.identifier: ParsingHookRegistry
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ParsingHookRegistry()
focal_class.class_method_signature: ParsingHookRegistry.getInstance()
focal_class.full_signature: public static ParsingHookRegistry getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: ParsingHookRegistry
focal_class.signature: ParsingHookRegistry getInstance()
focal_class.class_method_signature: ParsingHookRegistry.start(final String sql)
focal_class.full_signature: public void start(final String sql)
focal_class.identifier: start
focal_class.modifiers: public
focal_class.parameters: (final String sql)
focal_class.return: void
focal_class.signature: void start(final String sql)
focal_class.class_method_signature: ParsingHookRegistry.finishSuccess(final SQLStatement sqlStatement)
focal_class.full_signature: public void finishSuccess(final SQLStatement sqlStatement)
focal_class.identifier: finishSuccess
focal_class.modifiers: public
focal_class.parameters: (final SQLStatement sqlStatement)
focal_class.return: void
focal_class.signature: void finishSuccess(final SQLStatement sqlStatement)
focal_class.class_method_signature: ParsingHookRegistry.finishFailure(final Exception cause)
focal_class.full_signature: public void finishFailure(final Exception cause)
focal_class.identifier: finishFailure
focal_class.modifiers: public
focal_class.parameters: (final Exception cause)
focal_class.return: void
focal_class.signature: void finishFailure(final Exception cause)
focal_method.body: public void finishFailure(final Exception cause) {
          hooks.forEach(each -> each.finishFailure(cause));
      }
focal_method.class_method_signature: ParsingHookRegistry.finishFailure(final Exception cause)
focal_method.full_signature: public void finishFailure(final Exception cause)
focal_method.identifier: finishFailure
focal_method.invocations: forEach finishFailure
focal_method.modifiers: public
focal_method.parameters: (final Exception cause)
focal_method.return: void
focal_method.signature: void finishFailure(final Exception cause)