It is also used as flavoring in many Western-style chocolates , candy , and desserts , such as cakes and pastries ( including Swiss rolls and cheesecake ) , cookies , pudding , mousse , and ice cream . It is also used as flavoring in many Western-style chocolates , candy , and desserts , such as cakes and pastries ( including Swiss rolls and cheesecake ) , cookies , pudding , mousse , and green tea ice cream .