[project model] API: mark addLibrary(Module)Entries methods in ModifiableRootModel as Experimental (IJ-CR-12440)

In the future we plan to optimize addLibraryEntry/addModuleOrderEntry, so these methods may become unnecessary.

GitOrigin-RevId: cf647c580466ea66e5c1824cc958566d6097f17f
This commit is contained in:
Nikolay Chashnikov
2021-07-30 11:15:22 +00:00
committed by intellij-monorepo-bot
parent 8e082b2d16
commit 54cc4282f0
@@ -94,6 +94,7 @@ public interface ModifiableRootModel extends ModuleRootModel {
* Adds dependencies on several {@code libraries} and sets the specified {@code scope} and {@code exported} flag for them. This works
* faster than adding these dependencies one-by-one via {@link #addLibraryEntry}.
*/
@ApiStatus.Experimental
void addLibraryEntries(@NotNull List<Library> libraries, @NotNull DependencyScope scope, boolean exported);
@NotNull
@@ -106,6 +107,7 @@ public interface ModifiableRootModel extends ModuleRootModel {
* Adds dependencies on several {@code modules} and sets the specified {@code scope} and {@code exported} flag for them. This works
* faster than adding these dependencies one-by-one via {@link #addModuleOrderEntry}.
*/
@ApiStatus.Experimental
void addModuleEntries(@NotNull List<Module> modules, @NotNull DependencyScope scope, boolean exported);
@Nullable