In one of my quickfix rules, I need to supply multiple fixes depending on my model (calling the accept method on the acceptor several times depending on the current state of my model). The only problem is that I have no clue how to access the model element which is in error/warning.
The only arguments which are passed to the quickfix method are an Issue and a IssueResolutionAcceptor. I can pass custom arguments to the Issue while creating it in my validator class but those can only be Strings.
Is there a way to retrieve my model element in the quickfix method ?