@Override
  public <P extends JpsElement> void changeType(JpsModuleSourceRootType<P> newType, P properties) {
    mySourceRoot = JpsElementFactory.getInstance().createModuleSourceRoot(mySourceRoot.getUrl(), newType, properties);
  }
@Override
  public <P extends JpsElement> void changeType(JpsModuleSourceRootType<P> newType, P properties)