KotlinAnnotatedElementsSearcher optimization
When possible, try to resolve references in types using only the PSI without building the full resolve session.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package foo
|
||||
|
||||
class A {
|
||||
private annotation class B
|
||||
|
||||
class C {
|
||||
@B
|
||||
fun foo() {}
|
||||
}
|
||||
}
|
||||
// ANNOTATION: foo.A.B
|
||||
// SEARCH: method:foo
|
||||
Reference in New Issue
Block a user