How can I get access to the project LibraryTable in Maia?
For IJ 9 beta 2 (code name Maia) the call:
com.intellij.openapi.project.Project project;
// initialize project with a valid value.
LibraryTable libraryTable = project.getComponent(LibraryTable.class);
returns null.
I used this code to get access to the project library table. What should I use instead?
Please sign in to leave a comment.
I figure out by myself: LibraryTable libraryTable = LibraryTablesRegistrar.getInstance().getLibraryTable(project);