dep.checkParams();
}
}
public ModuleDescriptorBuilder createDescriptor(final Iterable<String> resourceRootPaths) {
final ModuleDescriptorBuilder desc = ModuleDescriptors.xmlDescriptor(this.name, this.slot);
desc.mainClass(this.mainClass);
desc.resourceRoots(resourceRootPaths);
desc.dependencies(this.dependencies);
return desc;
}