code: public void computeType(XSetLiteral literal, ITypeComputationState state) {
  		JvmGenericType setType = findDeclaredType(Set.class, state);
  		if (setType == null) {
  			handleCollectionTypeNotAvailable(literal, state, Set.class);
  			return;
  		}
  		JvmGenericType mapType = findDeclaredType(Map.class, state);
  		for(ITypeExpectation expectation: state.getExpectations()) {
  			computeType(literal, setType, mapType, expectation, state);
  		}
  	}
docs: Entry point from the {@link XbaseTypeComputer}.