public static <P extends JpsElement> void addSourceRoot(
     Module module, final VirtualFile vDir, @NotNull final JpsModuleSourceRootType<P> rootType) {
   addSourceRoot(module, vDir, rootType, rootType.createDefaultProperties());
 }
 @NotNull
 @Override
 public <P extends JpsElementProperties> JpsModuleSourceRoot addSourceRoot(
     @NotNull JpsModuleSourceRootType<P> rootType, @NotNull String url) {
   return addSourceRoot(rootType, url, rootType.createDefaultProperties());
 }