From 67b2c322534036ea216d75edd8ba9debbf461a63 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 20 Nov 2014 19:05:25 +0300 Subject: [PATCH] Minor: comment --- .../org/jetbrains/jet/plugin/caches/resolve/resolutionApi.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/idea/idea-analysis/src/org/jetbrains/jet/plugin/caches/resolve/resolutionApi.kt b/idea/idea-analysis/src/org/jetbrains/jet/plugin/caches/resolve/resolutionApi.kt index 0308af60552..62c3f5ccfdb 100644 --- a/idea/idea-analysis/src/org/jetbrains/jet/plugin/caches/resolve/resolutionApi.kt +++ b/idea/idea-analysis/src/org/jetbrains/jet/plugin/caches/resolve/resolutionApi.kt @@ -32,6 +32,11 @@ public fun JetDeclaration.resolveToDescriptor(): DeclarationDescriptor { return getResolutionFacade().resolveToDescriptor(this) } +//NOTE: the difference between analyze and analyzeFully is 'intentionally' unclear +// in theory they do the same thing via different code +// analyze - see ResolveSessionForBodies, ResolveElementCache +// analyzeFully - see KotlinResolveCache, KotlinResolveDataProvider +// In the future these two approaches should be unified public fun JetElement.analyze(): BindingContext { return getResolutionFacade().analyze(this) }