Package org.openrewrite.java.cleanup
Class NestedEnumsAreNotStatic
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.cleanup.NestedEnumsAreNotStatic
-
public class NestedEnumsAreNotStatic extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description NestedEnumsAreNotStatic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetDisplayName()@Nullable java.time.DurationgetEstimatedEffortPerOccurrence()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:
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
@Nullable public @Nullable java.time.Duration getEstimatedEffortPerOccurrence()
- Overrides:
getEstimatedEffortPerOccurrencein classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected JavaIsoVisitor<org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
getVisitor
protected JavaIsoVisitor<org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
-