change parameter type and annotation with ChangeSignatureRefactoring
已回答
When I use ChangeSignatureRefactoring to change the method signature, I want to change the parameter type and its annotation list, but it seems that modifying the method signature requires ReadAction, and modifying the annotation list requires writeAction. The two are contradictory. Is there a way to solve this situation?
请先登录再写评论。
Hi,
Please always provide the full context.
What do you mean by using ChangeSignatureRefactoring? How do you invoke it, and what is the context? What is the use case? What are the exact exceptions?