GRECLIPSE-1565: guard for npe on Immutable annotation invalid usage