code: public void overrideClassLoaders(final ClassLoader... overrideClassLoaders) {
          if (overrideClassLoaders.length == 0) {
              throw new IllegalArgumentException("At least one override ClassLoader must be provided");
          }
          this.addedClassLoaders = null;
          this.overrideClassLoaders = new ArrayList<>();
          for (final ClassLoader classLoader : overrideClassLoaders) {
              if (classLoader != null) {
                  this.overrideClassLoaders.add(classLoader);
              }
          }
      }
docs: Completely override the list of ClassLoaders to scan. (This only works if overrideClasspath() is not called.)
  Causes the java.class.path system property to be ignored.
  
  @param overrideClassLoaders
  The classloaders to override the default context classloaders with.