rem: var typeName = null; var arrayDims = null; if (typeNode && typeNode.attributes) { typeName = typeNode.attributes.instance ? typeNode.attributes.instance : typeNode.attributes.type; arrayDims = typeNode.attributes.arrayDimensions; 
add:  if (types.length == 0 && typeNode.attributes) { typeName = typeNode.attributes.instance ? typeNode.attributes.instance : typeNode.attributes.type;  if (typeName != undefined) { dims = typeNode.attributes.dimensions;  if (typeof dims == "number" && dims > 0) { types.push({ "type" : typeName, "dimensions" : dims }); } else { types.push({ "type" : typeName }); } } } 
context: qx.Proto._createTypeHtml = function(typeNode, packageBaseClass, defaultType, useShortName) {  if (useShortName == null) {    useShortName = true;  }  var typeHtml;  var typeName = null;  var arrayDims = null;  if (typeNode && typeNode.attributes) {    typeName = typeNode.attributes.instance ? typeNode.attributes.instance : typeNode.attributes.type;    arrayDims = typeNode.attributes.arrayDimensions;  }  if (typeName == null) {    typeHtml = defaultType;  } else {    if (api.ClassViewer.PRIMITIVES[typeName]) {      typeHtml = typeName;    } else {      var linkText = typeName;      if (useShortName) {        var lastDot = typeName.lastIndexOf(".");        if (lastDot != -1) {          linkText += " " + typeName.substring(lastDot + 1);        }      }      typeHtml = this._createItemLinkHtml(linkText, packageBaseClass, false, true);    }    if (arrayDims) {      for (var i = 0; i < parseInt(arrayDims); i++) {        typeHtml += "[]";      }    }  }  return typeHtml;}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/8e31ecbed04f109a99f7a15e07a5b07ddfb08f0f/ClassViewer.js/clean/qooxdoo/frontend/api/source/class/api/ClassViewer.js