Class SimplifyBooleanExpression

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.cleanup.SimplifyBooleanExpression
All Implemented Interfaces:
Cloneable

@Incubating(since="7.0.0") public class SimplifyBooleanExpression extends org.openrewrite.Recipe
  • Field Summary

    Fields inherited from class org.openrewrite.Recipe

    NOOP, PANIC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
     
     
    org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>
     

    Methods inherited from class org.openrewrite.Recipe

    addApplicableTest, addDataTable, addSingleSourceApplicableTest, clone, doNext, equals, getApplicableTest, getApplicableTests, getDataTableDescriptors, getDescriptor, getJacksonPolymorphicTypeTag, getLanguages, getName, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll, visit

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimplifyBooleanExpression

      public SimplifyBooleanExpression()
  • Method Details

    • getDisplayName

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

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

      public Set<String> getTags()
      Overrides:
      getTags in class org.openrewrite.Recipe
    • getEstimatedEffortPerOccurrence

      public Duration getEstimatedEffortPerOccurrence()
      Overrides:
      getEstimatedEffortPerOccurrence in class org.openrewrite.Recipe
    • getVisitor

      public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()
      Overrides:
      getVisitor in class org.openrewrite.Recipe
    • causesAnotherCycle

      public boolean causesAnotherCycle()
      Overrides:
      causesAnotherCycle in class org.openrewrite.Recipe