code: public JSType getResolvedTemplateType(TemplateType key) {
      int index = getTemplateTypeIndex(key);
      return (index == -1)
          ? registry.getNativeType(JSTypeNative.UNKNOWN_TYPE)
          : resolvedTemplateValues[index];
    }
docs: Returns the JSType value associated with the specified template key. If no
  JSType value is associated, returns UNKNOWN_TYPE.