I'd do: `this.origin = checkNotNull(shift, "shift");`

Note I like using static imports for this. We and others use it so much that static imports are clear enough (same goes for things like `Assert.assertTrue` in tests).