A lot of my functions have a whole load of validation code just below the declarations:
if ( ! (start < end) ) { throw new IllegalStateException( \"S
The JUnit package has constructs like assert that would aid in doing such condition check.