code: public String typeName() {
          return (type instanceof ClassDoc || type instanceof TypeVariable)
                  ? type.typeName()       // omit formal type params or bounds
                  : type.toString();
      }
docs: Get type name of this parameter.
  For example if parameter is the short 'index', returns "short".