Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need some suggestions about how to perform other refactorings programmatically according to detected refactoring opportunities #17

Open
upcwanghaibo opened this issue May 11, 2023 · 0 comments

Comments

@upcwanghaibo
Copy link

Hi authors,

Currently, the jdeodorant-commandline only supports the Extract Clone in running as a standalone command-line application mode.

I am trying to invoke other refactorings (like Extract Method, Move Method, and etc. in JDeodorant) programmatically, so i need to write code for other refactorings like Extract Clone in standalone command-line application mode.

I noticed that in this issuse, jdeodorant-commandline can print all the refactoring opportunities. I want to apply other refactorings programmatically according those detected refactoring opportunities. For this purpose, i read the code in JDeodorant and find out that other refactorings are closed binded with the eclipse UI, it is not a easy work to unbind them.

So i write this issue to ask for some suggestions or advices about how to achieve other refactoring types in standalone command-line application mode. Jdeodorant-commandline can print all the refactoring opportunities now, so based on those detected code smell, what i want to do is applying those refactorings without eclipse UI, then i can programmatically achieve other auto-refactorings.

I would be really appreciate if you could give me some hints or advices about how to achieve the above goals. @tsantalis

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant