FrameworkLibraryVersionFilter () { return new FrameworkLibraryVersionFilter() { @Override public boolean isAccepted(@NotNull FrameworkLibraryVersion version) { return myConfigurable.getLibraryVersionFilter().isAccepted(version) && ((FrameworkLibraryVersionImpl)version).getAvailabilityCondition().isAvailableFor(myModel); } @Override public String toString() { return "FrameworkSupportOptionsFilter(filter = " + myConfigurable.getLibraryVersionFilter() + ")"; } }; }