use of com.intellij.openapi.roots.libraries.PersistentLibraryKind in project azure-tools-for-java by Microsoft.
the class SparkLibraryOptionsPanel method calculateSuitableLibraries.
private List<Library> calculateSuitableLibraries() {
ArrayList suitableLibraries = new ArrayList();
Library[] libraries = this.librariesContainer.getAllLibraries();
for (int i = 0; i < libraries.length; ++i) {
Library library = libraries[i];
PersistentLibraryKind type = ((LibraryEx) library).getKind();
if (type != null && type instanceof SparkLibraryKind) {
suitableLibraries.add(library);
}
}
return suitableLibraries;
}
Aggregations