Class UnnecessaryPrimitiveAnnotations

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

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

    • UnnecessaryPrimitiveAnnotations

      public UnnecessaryPrimitiveAnnotations()
  • 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
    • getSingleSourceApplicableTest

      protected JavaIsoVisitor<org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
      Overrides:
      getSingleSourceApplicableTest in class org.openrewrite.Recipe
    • getVisitor

      public JavaIsoVisitor<org.openrewrite.ExecutionContext> getVisitor()
      Overrides:
      getVisitor in class org.openrewrite.Recipe