Enabling rename option for custom annotation

I'm trying to implement rename for custom annotation but facing few issues. I can see a rename option but it is disbled and I was unable to enable rename option.

java method:

@CustomAnnotation("step with <param>")
public void someMethod(String param) {


}

If I right click on "step with <param>", it shows rename option but it is disable. How can i enable that option.



Attachment(s):
Screen Shot 2015-01-02 at 1.37.35 PM.png
1 comment
Comment actions Permalink

What else did you implement for your annotation? Do you have a reference at <param>? If not, you should start with adding one (using PsiReferenceContributor). If yes, what does it resolve to?

0

Please sign in to leave a comment.