Package org.openrewrite.java.cleanup
Class SimplifyBooleanExpression
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.cleanup.SimplifyBooleanExpression
-
@Incubating(since="7.0.0") public class SimplifyBooleanExpression extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description SimplifyBooleanExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancausesAnotherCycle()java.lang.StringgetDescription()java.lang.StringgetDisplayName()java.time.DurationgetEstimatedEffortPerOccurrence()java.util.Set<java.lang.String>getTags()protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getVisitor()
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getTags
public java.util.Set<java.lang.String> getTags()
- Overrides:
getTagsin classorg.openrewrite.Recipe
-
getEstimatedEffortPerOccurrence
public java.time.Duration getEstimatedEffortPerOccurrence()
- Overrides:
getEstimatedEffortPerOccurrencein classorg.openrewrite.Recipe
-
getVisitor
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
causesAnotherCycle
public boolean causesAnotherCycle()
- Overrides:
causesAnotherCyclein classorg.openrewrite.Recipe
-
-