Introduce Parameter Object is greyed out?

Answered

Wondering what I need to do to get the Introduce Parameter Object refactoring to work? It is currently greyed out when I right-click the method name, as mentioned in the introductory post.

0
3 comments

Hello,

You need to right click on method name in method declaration (string 68), not in a method call.

1

Thanks, that was indeed correct :) Took me a while to understand it does not work for Kotlin, though.

0
You are welcome! Feel free to contact us if you need any assistance.
0

Please sign in to leave a comment.