[Java]: Correct logic for dealing with returning default values when a message extension.