Package org.openrewrite.internal
Class RecipeIntrospectionUtils
- java.lang.Object
-
- org.openrewrite.internal.RecipeIntrospectionUtils
-
public class RecipeIntrospectionUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RecipeIntrospectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RecipeconstructRecipe(java.lang.Class<?> recipeClass)static java.lang.reflect.Constructor<?>getPrimaryConstructor(java.lang.Class<?> recipeClass)static @Nullable java.lang.reflect.Constructor<?>getZeroArgsConstructor(java.lang.Class<?> recipeClass)static @Nullable TreeVisitor<?,ExecutionContext>recipeApplicableTest(Recipe recipe)static RecipeDescriptorrecipeDescriptorFromDeclarativeRecipe(DeclarativeRecipe recipe, java.net.URI source)static RecipeDescriptorrecipeDescriptorFromRecipe(Recipe recipe)static @Nullable TreeVisitor<?,ExecutionContext>recipeSingleSourceApplicableTest(Recipe recipe)static TreeVisitor<?,ExecutionContext>recipeVisitor(Recipe recipe)
-
-
-
Method Detail
-
recipeApplicableTest
@Nullable public static @Nullable TreeVisitor<?,ExecutionContext> recipeApplicableTest(Recipe recipe)
-
recipeSingleSourceApplicableTest
@Nullable public static @Nullable TreeVisitor<?,ExecutionContext> recipeSingleSourceApplicableTest(Recipe recipe)
-
recipeVisitor
public static TreeVisitor<?,ExecutionContext> recipeVisitor(Recipe recipe)
-
recipeDescriptorFromDeclarativeRecipe
public static RecipeDescriptor recipeDescriptorFromDeclarativeRecipe(DeclarativeRecipe recipe, java.net.URI source)
-
getPrimaryConstructor
public static java.lang.reflect.Constructor<?> getPrimaryConstructor(java.lang.Class<?> recipeClass)
-
getZeroArgsConstructor
@Nullable public static @Nullable java.lang.reflect.Constructor<?> getZeroArgsConstructor(java.lang.Class<?> recipeClass)
-
recipeDescriptorFromRecipe
public static RecipeDescriptor recipeDescriptorFromRecipe(Recipe recipe)
-
constructRecipe
public static Recipe constructRecipe(java.lang.Class<?> recipeClass)
-
-