Package org.openrewrite.java.cleanup
Class UnnecessaryPrimitiveAnnotations
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.cleanup.UnnecessaryPrimitiveAnnotations
-
public class UnnecessaryPrimitiveAnnotations extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description UnnecessaryPrimitiveAnnotations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getDisplayName()
java.time.Duration
getEstimatedEffortPerOccurrence()
protected JavaIsoVisitor<org.openrewrite.ExecutionContext>
getSingleSourceApplicableTest()
java.util.Set<java.lang.String>
getTags()
protected JavaIsoVisitor<org.openrewrite.ExecutionContext>
getVisitor()
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription
in classorg.openrewrite.Recipe
-
getTags
public java.util.Set<java.lang.String> getTags()
- Overrides:
getTags
in classorg.openrewrite.Recipe
-
getEstimatedEffortPerOccurrence
public java.time.Duration getEstimatedEffortPerOccurrence()
- Overrides:
getEstimatedEffortPerOccurrence
in classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected JavaIsoVisitor<org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
- Overrides:
getSingleSourceApplicableTest
in classorg.openrewrite.Recipe
-
getVisitor
protected JavaIsoVisitor<org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitor
in classorg.openrewrite.Recipe
-
-