code: function(name) {
          var list = this.getMethods();
          for (var i in list) {
              if (list[i].getName() === name) {
                  return list[i];
              }
          }
          throw 'Method "' + name + '" does not exist.';
      }
docs: Returns an instance of JOII.Reflection.Method of a method by the
  given name.
  
  @param  string name
  @return JOII.Reflection.Method