Skip to content

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

@upcwanghaibo

Description

@upcwanghaibo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions