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:
Vendored
+13
@@ -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() { }
|
||||
}
|
||||
Reference in New Issue
Block a user