Sdk (@NotNull Sdk sdk, @NotNull OrderRootType rootType, VirtualFile @NotNull ... roots) { return modifyJdkRoots(sdk, sdkModificator -> { for (VirtualFile root : roots) { sdkModificator.setName(sdkModificator.getName() + "+" + root.getPath()); sdkModificator.addRoot(root, rootType); } }); }