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:
+13
@@ -0,0 +1,13 @@
|
||||
package foo
|
||||
|
||||
annotation class Test
|
||||
|
||||
object Foo {
|
||||
private annotation class Test
|
||||
}
|
||||
|
||||
@Test fun foo()
|
||||
|
||||
// ANNOTATION: foo.Test
|
||||
// SEARCH: method:foo
|
||||
// OPTIMIZED_TRUE: 1
|
||||
Reference in New Issue
Block a user