attempt to fix bug with default type arguments (due to caching of
ProducedReference.getTypeArguments())