public static Object stripDeep ( Object decorated ) { Object stripped = stripShallow ( decorated ) ; if ( stripped == decorated ) { return stripped ; } else { return stripDeep ( stripped ) ; } }
Strips all decorations from the decorated object .