checknotnull or add javadoc that states clearly that nulls are allowed.