FrameworkAvailabilityCondition (Artifact version) { RequiredFrameworkVersion groupVersion = version.getRequiredFrameworkVersion(); if (groupVersion != null) { return new FrameworkLibraryAvailabilityCondition(groupVersion.myGroupId, groupVersion.myVersion); } return FrameworkAvailabilityCondition.ALWAYS_TRUE; }