/src/main/java/net/finmath/montecarlo/interestrate/products/components/ProductCollection.java
underlyingNames = null;
underlyingNames = productUnderlyingNames;
public Set<String> queryUnderlyings() { Set<String> underlyingNames = null; for(final AbstractProductComponent product : products) { final Set<String> productUnderlyingNames = product.queryUnderlyings(); if(productUnderlyingNames != null) { if(underlyingNames == null) { <extra_id_0> } else { underlyingNames.addAll(productUnderlyingNames); } } } return underlyingNames;