code: function getMessageFromPackage(messageType, type, callback) {
    var packageName = getPackageNameFromMessageType(messageType);
    var messageName = getMessageNameFromMessageType(messageType);
    packages.findPackage(packageName, function(error, directory) {
      var filePath;
      filePath = path.join(directory, type, messageName + '.' + type);
      getMessageFromFile(messageType, filePath, type, callback);
    });
  }
docs: --------------------------------------------------------- private functions /* get message or service definition class