test_class.file: everrest-core/src/test/java/org/everrest/core/impl/LifecycleComponentTest.java
test_class.identifier: LifecycleComponentTest
test_case.body: @Test
      public void invokesDestroyMethodWithDefaultLifecycleMethodStrategy() throws Exception {
          Resource instance  = new Resource();
          LifecycleComponent lifecycleComponent = new LifecycleComponent(instance);
          lifecycleComponent.destroy();
  
          assertEquals(1, instance.destroyVisitsCounter.get());
      }
test_case.class_method_signature: LifecycleComponentTest.invokesDestroyMethodWithDefaultLifecycleMethodStrategy()
test_case.full_signature: @Test public void invokesDestroyMethodWithDefaultLifecycleMethodStrategy()
test_case.identifier: invokesDestroyMethodWithDefaultLifecycleMethodStrategy
test_case.invocations: destroy assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void invokesDestroyMethodWithDefaultLifecycleMethodStrategy()
focal_class.declarator: defaultStrategy = new AnnotatedLifecycleMethodStrategy()
focal_class.modifier: private static final
focal_class.original_string: private static final LifecycleMethodStrategy defaultStrategy = new AnnotatedLifecycleMethodStrategy();
focal_class.type: LifecycleMethodStrategy
focal_class.var_name: defaultStrategy
focal_class.declarator: component
focal_class.modifier: private final
focal_class.original_string: private final Object                  component;
focal_class.type: Object
focal_class.var_name: component
focal_class.declarator: lifecycleStrategy
focal_class.modifier: private final
focal_class.original_string: private final LifecycleMethodStrategy lifecycleStrategy;
focal_class.type: LifecycleMethodStrategy
focal_class.var_name: lifecycleStrategy
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/LifecycleComponent.java
focal_class.identifier: LifecycleComponent
focal_class.class_method_signature: LifecycleComponent.LifecycleComponent(Object component)
focal_class.full_signature: public  LifecycleComponent(Object component)
focal_class.identifier: LifecycleComponent
focal_class.modifiers: public
focal_class.parameters: (Object component)
focal_class.signature:  LifecycleComponent(Object component)
focal_class.class_method_signature: LifecycleComponent.LifecycleComponent(Object component, LifecycleMethodStrategy lifecycleStrategy)
focal_class.full_signature: public  LifecycleComponent(Object component, LifecycleMethodStrategy lifecycleStrategy)
focal_class.identifier: LifecycleComponent
focal_class.modifiers: public
focal_class.parameters: (Object component, LifecycleMethodStrategy lifecycleStrategy)
focal_class.signature:  LifecycleComponent(Object component, LifecycleMethodStrategy lifecycleStrategy)
focal_class.class_method_signature: LifecycleComponent.initialize()
focal_class.full_signature: public void initialize()
focal_class.identifier: initialize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_class.class_method_signature: LifecycleComponent.destroy()
focal_class.full_signature: public void destroy()
focal_class.identifier: destroy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void destroy()
focal_class.class_method_signature: LifecycleComponent.getComponent()
focal_class.full_signature: public Object getComponent()
focal_class.identifier: getComponent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getComponent()
focal_method.body: public void destroy() {
          lifecycleStrategy.invokeDestroyMethods(component);
      }
focal_method.class_method_signature: LifecycleComponent.destroy()
focal_method.full_signature: public void destroy()
focal_method.identifier: destroy
focal_method.invocations: invokeDestroyMethods
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void destroy()