public ParameterizedTypeReference toInstanceTypeReference ( ) { ParameterizedTypeReference result = getOwner ( ) . newParameterizedTypeReference ( getType ( ) ) ; for ( LightweightTypeReference typeArgument : getTypeArguments ( ) ) { result . addTypeArgument ( typeArgument . getInvariantBoundSubstitute ( ) ) ; } return result ; }
Returns a projection of this type to the instance level . That is type arguments will be replaced by their invariant bounds .