docs: function (interfaceMethods, interceptor, allInterceptors) {
          var interceptedMethods = allInterceptors || {};
          // for a class object, intercept specific methods
          for (var m in interfaceMethods) {
              if (interfaceMethods.hasOwnProperty(m) && __hasBeenIntercepted(m, interceptor)) {
                  (interceptedMethods[m] || (interceptedMethods[m] = [])).push({
                      fn : __callInterceptorMethod,
                      scope : interceptor
                  });
              }
          }
          return interceptedMethods;
      }