References: Support implicit references to annotation method 'value'. Support Find Usages/Rename on these references

#KT-12657 Fixed
(cherry picked from commit 68d0d84)
This commit is contained in:
Alexey Sedunov
2016-06-21 18:03:21 +03:00
parent efa27e6048
commit 89816c5f12
23 changed files with 316 additions and 5 deletions
@@ -0,0 +1,13 @@
// PSI_ELEMENT: com.intellij.psi.PsiMethod
// OPTIONS: usages
public @interface JAnn {
String <caret>value();
}
class Test {
@JAnn("abc")
void test1() { }
@JAnn(value = "abc")
void test2() { }
}