Class RewriteRunner.Context

java.lang.Object
org.openrewrite.test.RewriteRunner.Context
Enclosing interface:
RewriteRunner

public static class RewriteRunner.Context extends Object
Everything a runner might want from the surrounding RewriteTest invocation. New runners can ignore most of this and just delegate to Recipe.run(org.openrewrite.LargeSourceSet, org.openrewrite.ExecutionContext); out-of-process runners need the source specs (to re-parse mutated files using the same parsers) and the two recipe specs (to honor test-level options like execution-context customizers).
  • Constructor Details

    • Context

      public Context()