How about using [Guava's Precondition assert](https://code.google.com/p/guava-libraries/wiki/PreconditionsExplained)? @frsyuki, don't we prefer not to add dependency?