Set<TypeConstraint> (final CompletionParameters params) { Set<TypeConstraint> set = CollectionFactory.createCustomHashingStrategySet(EXPECTED_TYPE_INFO_STRATEGY); Collections.addAll(set, getExpectedTypes(params)); return set; }