fun foo(i: Int) { requireNotNull(i) // This 'i' is always not null, so this 'requireNotNull' call is redundant. }