Class UnnecessaryParentheses

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.staticanalysis.UnnecessaryParentheses
All Implemented Interfaces:
Cloneable

public class UnnecessaryParentheses extends org.openrewrite.Recipe
  • Constructor Details

    • UnnecessaryParentheses

      public UnnecessaryParentheses()
  • Method Details

    • getDisplayName

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

      public String getDescription()
      Specified by:
      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