ofcoarse3 gives no such field error for field reachable from generated method