minor. endless for replaced with while( true )
minor. refactor. SwingTreeVisitor moved to new package
minor: move getSwingTree method to more appropriate class