When property is devised to any person who is related by blood or adoption to the testator and who dies before the testator leaving lineal descendants, the descendants take by representation the property the devisee would have taken if the devisee had survived the testator, unless otherwise provided in the will of the testator. Unless otherwise provided in the will of the testator, one who would have been a devisee under a class gift if the person had survived the testator is treated as a devisee for purposes of this section if death occurred after execution of the will.
ORS 112.395