Forum:Solemn Judgement+Prime Material Dragon

Lets say I have a "Prime Material Dragon" on the field and my opponent special summons a monster. If I play "Solemn Judgment", will I gain the life points I would lose from "Solemn Judgment"?