As the class already has 500+ lines of code, wouldn't it be more advisable to move the 2 enums **Command** and **Option** into their own classes? Possibly also adding some JavaDoc?