/** * Extends the template type map associated with this type, merging in the * keys and values of the specified map. */ public void extendTemplateTypeMap(TemplateTypeMap otherMap) { templateTypeMap = templateTypeMap.extend(otherMap); }
/** * Extends the template type map associated with this type, merging in the * keys and values of the specified map. */ public void extendTemplateTypeMap(TemplateTypeMap otherMap) { templateTypeMap = templateTypeMap.extend(otherMap); }
FunctionBuilder withExtendedTemplate(TemplateType key, JSType value) { this.templateTypeMap = templateTypeMap.extend( registry.createTemplateTypeMap(ImmutableList.of(key), ImmutableList.of(value))); return this; }
null, createTemplateTypeMap(ImmutableList.of(arrayElementTemplateKey), null) .extend(createTemplateTypeMap( ImmutableList.of(iObjectElementTemplateKey), ImmutableList.<JSType>of(arrayElementTemplateKey))),