public final TransitionSet getTransitions(
Application application,
RootModuleDefinition originalDefinition, RootModuleDefinition newDefinition) {
GraphAwareModificationExtractor delegate = newDelegate();
TransitionSet transitions = delegate.getTransitions(application, originalDefinition, newDefinition);
GraphModuleStateHolder moduleStateHolder = ObjectUtils.cast(application.getModuleStateHolder(), GraphModuleStateHolder.class);
//method marked as final means this will be called
moduleStateHolder.setDependencyManager(delegate.getNewDependencyManager());