code: function (search) {
          findFilterRes = null;
          findFilterSearch = search;
          if (typeUtils.isString(search)) {
              return findByClasspath;
          } else if (typeUtils.isInstanceOf(search, "aria.core.IOFilter")) {
              return findByInstance;
          } else if (typeUtils.isObject(search)) {
              return findByClasspathAndInitArgs;
          } else {
              return null;
          }
      }
docs: Initialize the search and return one of the findByClasspath, findByInstance or findByClasspathAndInitArgs
  functions depending on the type of the search parameter.
  @param {MultiTypes} search Filter to be found. Can be of any type accepted for the parameter of isFilterPresent.
  @return {Function} either null (if the search parameter has an unexpected type), or a reference to one of the
  findByClasspath, findByInstance or findByClasspathAndInitArgs functions.
  @private