Library lib = table.getLibraryByName(ERLANG_LIBRARY_NAME);
String[] urls = lib == null ? ArrayUtil.EMPTY_STRING_ARRAY : lib.getUrls(OrderRootType.CLASSES);
return VfsUtilCore.urlToPath(ObjectUtils.notNull(ArrayUtil.getFirstElement(urls), ""));
}
finally {
token.finish();
}
}
private void setUpOrUpdateSdk(@NotNull final String path) {
ApplicationManager.getApplication().runWriteAction(new Runnable() {