I am using several of the refactoring handlers in my plugin code, for example the IntroduceFieldHandler in order to launch a refactoring to introduce a new field for a given PsiExpression.
However, the API for this and some of the other handlers appears to be quite limited, i.e. I am only able to start the refactoring (invoke()) but do not get the ability to change some of the parameters. What I would like to do is to make a default selection in the dialog that appears. More specifically, in the case of the IntroduceFieldHandler I would like to preselect "initialize in constructor".
Is there any way to achieve this in this case, and more generally, is there a way to have more control over refactorings than simply starting them?