boolean (@NotNull List<? extends VirtualFile> files, @NotNull final LibraryKind kind) { return !LibraryDetectionManager.getInstance().processProperties(files, new LibraryDetectionManager.LibraryPropertiesProcessor() { @Override public <P extends LibraryProperties> boolean processProperties(@NotNull LibraryKind processedKind, @NotNull P properties) { return !kind.equals(processedKind); } }); }