Wetting and cavitation pathways on nanodecorated surfaces