Scripting Java Refactoring

Is there an eclipse-based solution for refactoring Java code using scripts?

I read about the Eclipse Language toolkit, but it seems like it means creating a plugin that sounds like overkill for a one-time operation.

Are there any bindings to the scripting language, or at least a way to trigger code refactoring from java, but without a plugin?

Usage example: I have a project that uses classes created using castor, and I want to switch to JAXB 2. This implies a lot of refactoring in existing code that cannot be performed by searching and replacing, as well as regular expressions, because for contextual sensitivity.

+5
source share
2

, Recoder. , (, / ), .

+1

All Articles