@Override
  public void configureModule(@NotNull Module module, boolean newProject) {
    Function<Pair<Module, Collection<VirtualFile>>, ? extends STATE> detector = myAutoDetector;
    if (newProject || detector == null) {
      // For new project only copy from app.
      // For opened only copy if no autoconfiguration
      myClasses.copyFromAppToModule(module);
      return;
    }


    //Try to autodetect
    AppExecutorUtil.getAppScheduledExecutorService().schedule(() -> autodetectSettings(module, detector), 10, TimeUnit.SECONDS);
  }
@Override
  public void configureModule(@NotNull Module module, boolean newProject)