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,16 @@
|
||||
package foo.bar
|
||||
|
||||
class A
|
||||
|
||||
object F {
|
||||
class foo {
|
||||
class bar {
|
||||
annotation class A
|
||||
|
||||
@foo.bar.A fun test(): Nothing = TODO()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ANNOTATION: foo.bar.F.foo.bar.A
|
||||
// SEARCH: method:test
|
||||
Reference in New Issue
Block a user