When listening to refactorings, is there a way to retrieve the refactoring arguments with which the refactoring was called? (e.g. for a Rename Method refactoring an argument would be the new name, for an Extract Superclass refactoring some arguments would be: superclass name, list of methods to pull up). Bassically all the arguments needed to replay the refactoring later on.
I currently listen to refactorings with a RefactoringEventListener whose events give me a RefactoringEventData. From what I figured out, the RefactoringEventData only gives me information about which PSI elements the refactoring was performed on and nothing about the other arguments.
In Eclipse this is achieved with RefactoringContribution.retrieveArgumentMap(RefactoringDescriptor).