code: function getJavaType(type) {
      var result
  
  
      if (-1 == NativeTypes.indexOf(type.name)) {
          result = "<a href='javascript:showInterface(\"" + type.name + "\"); void(0);'>" + type.name + "</a>"
      }
      else {
          result = IDL2Java[type.name]
          if (!result) {
              result = "?" + type.name + "?"
              console.log("Unable to translate IDL type to Java: " + type.name)
          }
      }
  
      for (var i=0; i<type.rank; i++) {
          result += "[]"
      }
  
      return "<span class='type'>" + result + "</span>"
  }
docs: -----------------------------------------------------------------------------