docs: function (def, classpath, member) {
          var res;
          if (typeUtils.isFunction(def)) {
              // should already be normalized:
              return __simpleFunctionDefinition;
          } else if (typeUtils.isString(def)) {
              res = {
                  $type : def
              };
          } else if (typeUtils.isArray(def)) {
              return __simpleArrayDefinition;
          } else if (typeUtils.isObject(def)) {
              res = def;
          } else {
              return null;
          }
          var memberType = res.$type;
          if (!__acceptedMemberTypes[memberType]) {
              // the error is logged later
              return null;
          }
          if (!(require("./JsonValidator")).normalize({
              json : res,
              beanName : "aria.core.CfgBeans.ItfMember" + memberType + "Cfg"
          })) {
              return null;
          }
          return res;
      }