change parameter type and annotation with ChangeSignatureRefactoring

Answered

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?

0
1 comment

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?

0

Please sign in to leave a comment.