Go to Super: Use lazy analysis
This commit is contained in:
@@ -61,7 +61,7 @@ public class GotoSuperActionHandler implements CodeInsightActionHandler {
|
|||||||
JetObjectDeclaration.class);
|
JetObjectDeclaration.class);
|
||||||
if (declaration == null) return;
|
if (declaration == null) return;
|
||||||
|
|
||||||
final BindingContext bindingContext = AnalyzerFacadeWithCache.analyzeFileWithCache((JetFile) file).getBindingContext();
|
final BindingContext bindingContext = AnalyzerFacadeWithCache.getContextForElement(declaration);
|
||||||
|
|
||||||
DeclarationDescriptor descriptor = bindingContext.get(BindingContext.DECLARATION_TO_DESCRIPTOR, declaration);
|
DeclarationDescriptor descriptor = bindingContext.get(BindingContext.DECLARATION_TO_DESCRIPTOR, declaration);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user