Class AsConstraintRecipe

  • All Implemented Interfaces:
    Cloneable

    public class AsConstraintRecipe
    extends org.openrewrite.Recipe
    • Field Summary

      • Fields inherited from class org.openrewrite.Recipe

        NOOP, PANIC
    • Constructor Detail

      • AsConstraintRecipe

        public AsConstraintRecipe()
    • Method Detail

      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in class org.openrewrite.Recipe
      • getDescription

        public String getDescription()
        Overrides:
        getDescription in class org.openrewrite.Recipe
      • getSingleSourceApplicableTest

        protected org.openrewrite.TreeVisitor<?,​org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
        Overrides:
        getSingleSourceApplicableTest in class org.openrewrite.Recipe
      • getVisitor

        protected org.openrewrite.TreeVisitor<?,​org.openrewrite.ExecutionContext> getVisitor()
        Overrides:
        getVisitor in class org.openrewrite.Recipe
      • buildJavaParser

        public static org.openrewrite.java.JavaParser.Builder buildJavaParser()