use own @Generated annotation with class retention policy.