swing - How to refactor thousands of lines of Java code? Is there any tool available? -


in our application have 2 or 3 classes contains entire java swing application logic. these 2 or 3 classes contain around 7k lines of code.

now have been assigned task refactor java code.

how start? there tool available refactoring or @ least guide us?

i assume trying break these large classes smaller ones. common way extract class refactoring. happens major topic in phd thesis work.

one of hard parts deciding goes new classes. there 2 publicly available tools know of - extc (my tool) , jdeodorant. both eclipse plug-ins, , classify both being prototypes. if want try use tool, i'll glad help.

once decide should go new class, have actual work of separating class others. eclipse's extract class refactoring misnamed , isn't helpful. intellij's idea better, still has bugs. jdeodorant can perform split, has bugs.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -