Throw error if report annotation on non-getter.