I'm struggling to find out the best way to extract the hierarchy information from the following java file (see attachement) and to write it into a csv in table form:
Group A { Description_short = "Group A" Description_long = "Group A" Type = Main
Form a { Description_short = "Form a" Description_long = "Form a"