code: private void convertEntryPointParameters(CompilerOptions options) {
      ImmutableList.Builder<ModuleIdentifier> entryPointsBuilder = ImmutableList.builder();
      for (Parameter p : entryPointParams) {
        entryPointsBuilder.add(ModuleIdentifier.forClosure(p.getName()));
      }
      if (this.manageDependencies) {
        options.setDependencyOptions(
            DependencyOptions.pruneLegacyForEntryPoints(entryPointsBuilder.build()));
      }
    }
docs: Converts {@code <entrypoint/>} nested elements into Compiler entrypoint
  replacements.