escape generics in code example