Index

A B C D E F G I M N O P R S T U V W 
All Classes and Interfaces|All Packages

A

accept(SourceFile, TypeValidation) - Method in interface org.openrewrite.test.SourceSpec.ValidateSource
 
accept(T) - Method in interface org.openrewrite.test.UncheckedConsumer
 
acceptThrows(T) - Method in interface org.openrewrite.test.UncheckedConsumer
 
AdHocRecipe - Class in org.openrewrite.test
 
AdHocRecipe() - Constructor for class org.openrewrite.test.AdHocRecipe
 
AdHocScanningRecipe - Class in org.openrewrite.test
 
AdHocScanningRecipe() - Constructor for class org.openrewrite.test.AdHocScanningRecipe
 
after(UnaryOperator<String>) - Method in class org.openrewrite.test.SourceSpec
Apply a function to specify what the after text of a recipe run should be.
afterRecipe - Variable in class org.openrewrite.test.SourceSpec
 
afterRecipe(ThrowingConsumer<T>) - Method in class org.openrewrite.test.SourceSpec
 
afterRecipe(UncheckedConsumer<RecipeRun>) - Method in class org.openrewrite.test.RecipeSpec
 
afterTestExecution(ExtensionContext) - Method in class org.openrewrite.MetricsExtension
 
afterTypeValidationOptions(TypeValidation) - Method in class org.openrewrite.test.RecipeSpec
 
all() - Static method in class org.openrewrite.test.TypeValidation
 
allSources(UncheckedConsumer<SourceSpec<?>>) - Method in class org.openrewrite.test.RecipeSpec
Configuration that applies to all source file inputs.
apply(T) - Method in interface org.openrewrite.test.internal.ThrowingUnaryOperator
 
apply0(T) - Method in interface org.openrewrite.test.internal.ThrowingUnaryOperator
 
assertContentEquals(SourceFile, String, String, String) - Static method in interface org.openrewrite.test.RewriteTest
 
assertRecipesConfigure() - Method in interface org.openrewrite.test.RewriteTest
Check that all recipes loadable from the runtime classpath containing the test's package are configurable and run with an empty source file set.
assertRecipesConfigure(String) - Method in interface org.openrewrite.test.RewriteTest
Check that all recipes loadable from the runtime classpath containing the provided package name are configurable and run with an empty source file set.

B

beforeRecipe - Variable in class org.openrewrite.test.SourceSpec
 
beforeRecipe(ThrowingConsumer<T>) - Method in class org.openrewrite.test.SourceSpec
 
beforeRecipe(UncheckedConsumer<List<SourceFile>>) - Method in class org.openrewrite.test.RecipeSpec
 
beforeTestExecution(ExtensionContext) - Method in class org.openrewrite.MetricsExtension
 

C

causesAnotherCycle() - Method in class org.openrewrite.test.AdHocRecipe
 
causesAnotherCycle() - Method in class org.openrewrite.test.AdHocScanningRecipe
 
consumer() - Method in interface org.openrewrite.test.RecipePrinter
The consumer to print the recipe tree to, for instance () -> System.out::println.
cycles(int) - Method in class org.openrewrite.test.RecipeSpec
 

D

dataTable(Class<E>, UncheckedConsumer<List<E>>) - Method in class org.openrewrite.test.RecipeSpec
 
dataTableAsCsv(Class<? extends DataTable<?>>, String) - Method in class org.openrewrite.test.RecipeSpec
 
dataTableAsCsv(String, String) - Method in class org.openrewrite.test.RecipeSpec
 
DebugOnly - Annotation Interface in org.openrewrite
Marks a test as used only for debugging.
defaultExecutionContext(SourceSpec<?>[]) - Method in interface org.openrewrite.test.RewriteTest
 
defaults() - Static method in class org.openrewrite.test.RecipeSpec
 
defaults(RecipeSpec) - Method in interface org.openrewrite.test.RewriteTest
 
description() - Element in annotation interface org.openrewrite.Example
 
dir - Variable in class org.openrewrite.test.SourceSpec
 
dir(String, Consumer<SourceSpec<SourceFile>>, SourceSpecs...) - Static method in interface org.openrewrite.test.SourceSpecs
 
dir(String, SourceSpecs...) - Static method in interface org.openrewrite.test.SourceSpecs
 
Dir - Class in org.openrewrite.test
 
Dir() - Constructor for class org.openrewrite.test.Dir
 
doesNotExist() - Method in interface org.openrewrite.test.RewriteTest
 

E

Example - Annotation Interface in org.openrewrite
 
executionContext(ExecutionContext) - Method in class org.openrewrite.test.RecipeSpec
 
expectedCyclesThatMakeChanges(int) - Method in class org.openrewrite.test.RecipeSpec
 

F

fromRuntimeClasspath(String) - Static method in interface org.openrewrite.test.RewriteTest
 

G

generate(Void, ExecutionContext) - Method in class org.openrewrite.test.AdHocScanningRecipe
 
get() - Method in interface org.openrewrite.test.UncheckedSupplier
 
getDescription() - Method in class org.openrewrite.test.AdHocRecipe
 
getDescription() - Method in class org.openrewrite.test.AdHocScanningRecipe
 
getDisplayName() - Method in class org.openrewrite.test.AdHocRecipe
 
getDisplayName() - Method in class org.openrewrite.test.AdHocScanningRecipe
 
getInitialValue(ExecutionContext) - Method in class org.openrewrite.test.AdHocScanningRecipe
 
getMaintainers() - Method in class org.openrewrite.test.AdHocRecipe
 
getMaintainers() - Method in class org.openrewrite.test.AdHocScanningRecipe
 
getMarkers() - Method in class org.openrewrite.test.SourceSpec
 
getName() - Method in class org.openrewrite.test.AdHocRecipe
 
getName() - Method in class org.openrewrite.test.AdHocScanningRecipe
 
getScanner(Void) - Method in class org.openrewrite.test.AdHocScanningRecipe
 
getThrows() - Method in interface org.openrewrite.test.UncheckedSupplier
 
getVisitor() - Method in class org.openrewrite.test.AdHocRecipe
 
getVisitor(Void) - Method in class org.openrewrite.test.AdHocScanningRecipe
 

I

Issue - Annotation Interface in org.openrewrite
Marks a test as related to a GitHub issue.
Issue.Issues - Annotation Interface in org.openrewrite
 
iterator() - Method in class org.openrewrite.test.Dir
 
iterator() - Method in interface org.openrewrite.test.RewriteTest
 
iterator() - Method in class org.openrewrite.test.SourceSpec
 

M

mapBeforeRecipe(ThrowingUnaryOperator<T>) - Method in class org.openrewrite.test.SourceSpec
 
markerPrinter(PrintOutputCapture.MarkerPrinter) - Method in class org.openrewrite.test.RecipeSpec
 
markers - Variable in class org.openrewrite.test.SourceSpec
 
markers(Marker...) - Method in class org.openrewrite.test.SourceSpec
 
maxCycles() - Method in class org.openrewrite.test.AdHocRecipe
 
maxCycles() - Method in class org.openrewrite.test.AdHocScanningRecipe
 
MetricsExtension - Class in org.openrewrite
 
MetricsExtension() - Constructor for class org.openrewrite.MetricsExtension
 
MockHttpSender - Class in org.openrewrite.test
Issues no HTTP requests, instead returning the supplied input stream whenever send() is invoked.
MockHttpSender(UncheckedSupplier<InputStream>) - Constructor for class org.openrewrite.test.MockHttpSender
 

N

name() - Element in annotation interface org.openrewrite.Example
 
none() - Static method in class org.openrewrite.test.TypeValidation
 
noop - Static variable in interface org.openrewrite.test.SourceSpec.ValidateSource
 
noTrim - Variable in class org.openrewrite.test.SourceSpec
 
noTrim() - Method in class org.openrewrite.test.SourceSpec
 
noTrim(Boolean) - Method in class org.openrewrite.test.SourceSpec
 

O

org.openrewrite - package org.openrewrite
 
org.openrewrite.test - package org.openrewrite.test
 
org.openrewrite.test.internal - package org.openrewrite.test.internal
 
other(String) - Static method in interface org.openrewrite.test.SourceSpecs
 
other(String, String) - Static method in interface org.openrewrite.test.SourceSpecs
 
other(String, String, Consumer<SourceSpec<Quark>>) - Static method in interface org.openrewrite.test.SourceSpecs
 
other(String, Consumer<SourceSpec<Quark>>) - Static method in interface org.openrewrite.test.SourceSpecs
 

P

parser(Parser.Builder) - Method in class org.openrewrite.test.RecipeSpec
 
path(String) - Method in class org.openrewrite.test.SourceSpec
 
path(Path) - Method in class org.openrewrite.test.SourceSpec
 
printRecipe(RecipeDescriptor, String) - Method in interface org.openrewrite.test.RecipePrinter
Internal method to print a recipe tree.
printRecipe(RecipePrinter) - Method in class org.openrewrite.test.RecipeSpec
 
printTree(Recipe) - Method in interface org.openrewrite.test.RecipePrinter
Print the recipe tree for a recipe to RecipePrinter.consumer().

R

recipe(InputStream, String...) - Method in class org.openrewrite.test.RecipeSpec
 
recipe(Recipe) - Method in class org.openrewrite.test.RecipeSpec
 
recipeExecutionContext(ExecutionContext) - Method in class org.openrewrite.test.RecipeSpec
 
recipeFromResource(String, String...) - Method in class org.openrewrite.test.RecipeSpec
 
recipeFromResources(String...) - Method in class org.openrewrite.test.RecipeSpec
 
recipeFromYaml(String, String...) - Method in class org.openrewrite.test.RecipeSpec
 
RecipePrinter - Interface in org.openrewrite.test
 
recipes(Recipe...) - Method in class org.openrewrite.test.RecipeSpec
 
RecipeSpec - Class in org.openrewrite.test
 
RecipeSpec() - Constructor for class org.openrewrite.test.RecipeSpec
 
relativeTo(Path) - Method in class org.openrewrite.test.RecipeSpec
 
rewriteRun(Consumer<RecipeSpec>, SourceSpec<?>...) - Method in interface org.openrewrite.test.RewriteTest
 
rewriteRun(Consumer<RecipeSpec>, SourceSpecs...) - Method in interface org.openrewrite.test.RewriteTest
 
rewriteRun(SourceSpec<?>...) - Method in interface org.openrewrite.test.RewriteTest
 
rewriteRun(SourceSpecs...) - Method in interface org.openrewrite.test.RewriteTest
 
RewriteTest - Interface in org.openrewrite.test
 

S

send(HttpSender.Request) - Method in class org.openrewrite.test.MockHttpSender
 
skip - Variable in class org.openrewrite.test.SourceSpec
 
skip() - Method in class org.openrewrite.test.SourceSpec
 
skip(Boolean) - Method in class org.openrewrite.test.SourceSpec
 
sourcePath - Variable in class org.openrewrite.test.SourceSpec
 
sourceSet(Function<List<SourceFile>, LargeSourceSet>) - Method in class org.openrewrite.test.RecipeSpec
 
SourceSpec<T extends org.openrewrite.SourceFile> - Class in org.openrewrite.test
 
SourceSpec(Class<T>, String, Parser.Builder, String, UnaryOperator<String>) - Constructor for class org.openrewrite.test.SourceSpec
 
SourceSpec.ValidateSource - Interface in org.openrewrite.test
 
SourceSpecs - Interface in org.openrewrite.test
 

T

text(String) - Static method in interface org.openrewrite.test.SourceSpecs
 
text(String, String) - Static method in interface org.openrewrite.test.SourceSpecs
 
text(String, String, Consumer<SourceSpec<PlainText>>) - Static method in interface org.openrewrite.test.SourceSpecs
 
text(String, Consumer<SourceSpec<PlainText>>) - Static method in interface org.openrewrite.test.SourceSpecs
 
ThrowingUnaryOperator<T> - Interface in org.openrewrite.test.internal
 
toRecipe() - Static method in interface org.openrewrite.test.RewriteTest
 
toRecipe(Function<Recipe, TreeVisitor<?, ExecutionContext>>) - Static method in interface org.openrewrite.test.RewriteTest
 
toRecipe(Supplier<TreeVisitor<?, ExecutionContext>>) - Static method in interface org.openrewrite.test.RewriteTest
 
TypeValidation - Class in org.openrewrite.test
 
TypeValidation() - Constructor for class org.openrewrite.test.TypeValidation
 
typeValidationOptions(TypeValidation) - Method in class org.openrewrite.test.RecipeSpec
 

U

UncheckedConsumer<T> - Interface in org.openrewrite.test
 
UncheckedSupplier<T> - Interface in org.openrewrite.test
 

V

validateRecipeNameAndDescription(Recipe) - Method in interface org.openrewrite.test.RewriteTest
 
validateRecipeOptions(Recipe) - Method in interface org.openrewrite.test.RewriteTest
 
validateRecipeSerialization(boolean) - Method in class org.openrewrite.test.RecipeSpec
 
value() - Element in annotation interface org.openrewrite.Issue.Issues
 
value() - Element in annotation interface org.openrewrite.Issue
 

W

withGenerator(Supplier<Collection<SourceFile>>) - Method in class org.openrewrite.test.AdHocRecipe
 
A B C D E F G I M N O P R S T U V W 
All Classes and Interfaces|All Packages