Skip to content

Adopt CategoryTree for determining Recipe categorization #3

@sambsnyd

Description

@sambsnyd

rewrite-core now has a CategoryTree class that can make hierarchies of categories and recipes:
https://github.com/openrewrite/rewrite/blob/master/rewrite-core/src/main/java/org/openrewrite/config/CategoryTree.java

This project should adopt this approach as

  • It will help with consistency with the saas
  • It supports recipes in no category, such as RenameFile, which this project currently doesn't know how to support
  • No need to duplicate the logic here now that it is available in rewrite-core

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions