code: public static List<Process> getProcessesSmart(AssetVersionSpec spec) throws DataAccessException {
          if (spec.getPackageName() == null)
              throw new DataAccessException("Spec must be package-qualified: " + spec);
          List<Process> matches = new ArrayList<>();
          for (Process process : getAllProcesses()) {
              if (spec.getQualifiedName().equals(process.getQualifiedName())) {
                  if (process.meetsVersionSpec(spec.getVersion()))
                      matches.add(process);
              }
          }
          return matches;
      }
docs: Find all definitions matching the specified version spec.  Returns shallow processes.