GEM is an ecliplse plugin.
Steps to Import:
- Import the source code as eclipse plugin.
- pass -pythonPath e.g. /usr/local/bin/python
- Run as ecliplse application.
Steps to Generate Refactorings:
- Open any Java file in the eclipse IDE.
- Text select the method name for which you want to generate extract method refactorings and press CMD/Win+6.
- Now open the Results view to see the top-5 refactoring candidates.
- Click on each row in the results table to view the candidate in the Java file.
This is an Example: