code: public static MultiMap<String, Method> defineLifecycleMethod(final Component<?> component) {
  
          final MultiMap<String, Method> lifecycleMethod = new MultiMap<>();
  
          manageLifecycleAnnotation(component, lifecycleMethod, BeforeInit.class);
          manageLifecycleAnnotation(component, lifecycleMethod, AfterInit.class);
          manageLifecycleAnnotation(component, lifecycleMethod, OnRelease.class);
  
          return lifecycleMethod;
      }
docs: Parse all methods to search annotated methods that are attached to a lifecycle phase.
  
  @param component the JRebirth component to manage
  
  @return the map that store all method that should be call sorted by lifecycle phase