Skip to content

Sort the methods in your Java classes in dependency order

Notifications You must be signed in to change notification settings

vladdu/jdepsort

Repository files navigation

Overview

Robert ‘Uncle Bob’ Martin argues in his “Clean code” that the methods in a Java class should be sorted like this:
- public methods on top
- then private methods the above are calling
- then private methods the above are calling
- and so on

I couldn’t find any tool to do this sorting (because doing it manually is too boring :-) so I will see if I can find time to implement it myself.

If anyone reads this and knows of another tool (even commercial) that can spare me the effort, please send me a note! Thanks!

Requirements

- Java 1.5
- Eclipse 3.5

About

Sort the methods in your Java classes in dependency order

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published