<BUG>BindingContext bindingContext = getContextForSingleFile(file);VariableDescriptor descriptor = BindingContextUtils.extractVariableDescriptorIfAny(bindingContext, simpleNameExpression, true);</BUG><CONTEXT>PsiElement elementAtCaret = file.findElementAt(editor.getCaretModel().getOffset());JetProperty property = PsiTreeUtil.getParentOfType(elementAtCaret, JetProperty.class);if (property != null) return property;JetSimpleNameExpression simpleNameExpression = PsiTreeUtil.getParentOfType(elementAtCaret, JetSimpleNameExpression.class);if (simpleNameExpression != null) {<extra_id_0>if (descriptor != null) {PsiElement declaration = BindingContextUtils.descriptorToDeclaration(bindingContext, descriptor);if (declaration instanceof JetProperty) {</CONTEXT>
BindingContext bindingContext = AnalyzerFacadeWithCache.analyzeFileWithCache(file).getBindingContext();VariableDescriptor descriptor = BindingContextUtils.extractVariableDescriptorIfAny(bindingContext, simpleNameExpression, true);