Is there a way to check if marketCoverage is null before calling market.getValue() in statement mentioned below ?
@Cacheable(value = "issuerCache",key="#zip + #county + #marketCoverage.getValue + T(com.hcentive.utils.PlanYearContextHolder).getPlanYear()")
@Cacheable(value = "issuerCache",key="#zip + #county + #marketCoverage!=null?marketCoverage.getValue:null + T(com.hcentive.utils.PlanYearContextHolder).getPlanYear()")
tried this but it seems to not work.