@Override
  protected boolean acceptsElement(Object element) {
    return !(element instanceof Library library) || myAcceptedLibraries.test(library);
  }
@Override
  protected boolean acceptsElement(Object element)