code: void hoistNoCompileFiles() {
      boolean staleInputs = false;
      maybeDoThreadedParsing();
      // Iterate a copy because hoisting modifies what we're iterating over.
      for (CompilerInput input : ImmutableList.copyOf(moduleGraph.getAllInputs())) {
        if (input.getHasNoCompileAnnotation()) {
          input.getModule().remove(input);
          staleInputs = true;
        }
      }
  
      if (staleInputs) {
        repartitionInputs();
      }
    }
docs: Hoists inputs with the @nocompile annotation out of the inputs.