public IMockMaker.IStaticMock makeStaticMock(IMockMaker.IMockCreationSettings settings) {
    try {
      MockSettings mockitoSettings = Mockito.withSettings();
      mockitoSettings.mockMaker(INLINE);
      //We do not need the verification logic of Mockito
      mockitoSettings.stubOnly();

      applyMockMakerSettingsFromUser(settings, mockitoSettings);
      Class<?> type = settings.getMockType();
      MockCreationSettings<Object> mockitoCreationSettings = mockitoSettings.build(uncheckedCast(type));
      SpockMockHandler handler = new SpockMockHandler(settings.getMockInterceptor());

      return new MockitoStaticMock(type, () -> inlineMockMaker.createStaticMock(uncheckedCast(type), mockitoCreationSettings, handler));
    } catch (MockitoException ex) {
      throw cannotCreateMockException(settings.getMockType(), ex);
    }
  }
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