test/com/google/javascript/rhino/jstype/TemplatizedTypeTest.java
/** Returns an unspecialized type with the provided name and two type parameters. */
Returns an unspecialized type with the provided name and two type parameters.
Returns an unspecialized type with the provided name and two type parameters .
private ObjectType createCustomTemplatizedType(String rawName) {
    FunctionType ctor = 
        registry.createConstructorType(
            rawName,
            null,
            null,
            null,
            ImmutableList.of(registry.createTemplateType("T"), registry.createTemplateType("U")),
            false);
    return ctor.getInstanceType(); 
  }
private ObjectType createCustomTemplatizedType ( String rawName ) { FunctionType ctor = registry . createConstructorType ( rawName , null , null , null , ImmutableList . of ( registry . createTemplateType ( "T" ) , registry . createTemplateType ( "U" ) ) , false ) ; return ctor . getInstanceType ( ) ; }
Returns an unspecialized type with the provided name and two type parameters.
Returns an unspecialized type with the provided name and two type parameters .
// function<T,U>(new:Foo<T,U>) // Foo<T, U> == Foo