VirtualFile[] roots = library.getFiles(OrderRootType.CLASSES);
return LibraryUtil.isClassAvailableInLibrary(roots, DETECTOR_CLASS);
}
public static FrameworkLibraryValidator getValidator(FacetEditorContext context, FacetValidatorsManager manager) {
CustomLibraryDescription description = DownloadableLibraryService.getInstance().createDescriptionForType(OsgiCoreLibraryType.class);
return FacetEditorsFactoryImpl.getInstanceImpl().createLibraryValidator(description, context, manager, ID);
}