cruftex
cruftex

Reputation: 5723

Describe and apply Java code refactoring automatically for external dependencies

Example: A library is renaming a method and deprecating the old one.

Is there a way to describe this refactoring, e.g. in XML and apply it to all dependent projects with a tool?

For clarification: When this refactoring is done, the library contains already the new code.

Upvotes: 3

Views: 134

Answers (1)

JnRouvignac
JnRouvignac

Reputation: 787

Have a look at Jackpot.

Another tool of interest is google's refaster could help. I have asked for its status here: https://github.com/google/error-prone/issues/384

Finally I am pretty sure DMS refactoring supports such use case, even though I have never used it.

Upvotes: 3

Related Questions