private static void applyMockMakerSettingsFromUser(IMockMaker.IMockCreationSettings settings, MockSettings mockitoSettings) {
    IMockMakerSettings mockMakerSettings = settings.getMockMakerSettings();
    if (mockMakerSettings instanceof MockitoMockMakerSettings) {
      MockitoMockMakerSettings mockitoMakerSettings = (MockitoMockMakerSettings) mockMakerSettings;
      mockitoMakerSettings.applySettings(mockitoSettings);
    }
  }
Resolves the inline mock maker of Mockito, via different ways, depending on the Mockito version.

@return The inline mock maker of Mockito
spock-core/src/main/java/org/spockframework/mock/runtime/mockito/MockitoMockMakerImpl.java