(LightClasses) resolve of annotations fast-path

This commit is contained in:
Vladimir Ilmov
2020-06-05 01:35:41 +02:00
parent 991f12bd73
commit 3634cbe3cb
3 changed files with 8 additions and 1 deletions
@@ -86,5 +86,7 @@ class CliLightClassGenerationSupport(private val traceHolder: CliTraceHolder) :
override fun analyze(element: KtElement) = traceHolder.bindingContext
override fun analyzeAnnotation(element: KtAnnotationEntry) = traceHolder.bindingContext.get(BindingContext.ANNOTATION, element)
override fun analyzeWithContent(element: KtClassOrObject) = traceHolder.bindingContext
}