guava and defensive programming