Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6
-
None
-
Windows / Linux
Description
Hi,
Was trying to get the Apache MINA state machine to work with annotations
Here is a code snippet
@Transition(on = "load", in = EMPTY, next = LOADED)
public void loadTape(String nameOfTape) {
System.out.println("Tape '" + nameOfTape + "' loaded");
}
Unfortunately,the 'in' keyword is reserved in groovy
so I tried to quote it like
@Transition(on = "load", 'in' = EMPTY, next = LOADED)
But I got no success
Do you know a remedy to my problem?
Best regards
Thierry Barnier