I created a state and named it "link = true".
The code generated from it was :
private static final int link_=_true = 3;
Sadly , java understand the middle "=" as set and not as part of the string.
Either do not permit characters which are not valid in java to appear in the state, [ bad solution ]
Or change them when transforming them to members name. Thats not trivial , as you still must make them unique , but it`s feasible. for example , by adding a unique index to each var.