Added navigation to sources of builtin entities.
#KT-1069 fixed
This commit is contained in:
@@ -24,7 +24,6 @@ import org.jetbrains.jet.lang.descriptors.*;
|
||||
import org.jetbrains.jet.lang.psi.*;
|
||||
import org.jetbrains.jet.lang.resolve.calls.ResolvedCall;
|
||||
import org.jetbrains.jet.lang.resolve.calls.VariableAsFunctionResolvedCall;
|
||||
import org.jetbrains.jet.lang.types.lang.JetStandardClasses;
|
||||
import org.jetbrains.jet.util.slicedmap.ReadOnlySlice;
|
||||
import org.jetbrains.jet.util.slicedmap.Slices;
|
||||
|
||||
@@ -74,11 +73,6 @@ public class BindingContextUtils {
|
||||
return element;
|
||||
}
|
||||
|
||||
// TODO: Need to have a valid stubs for standard classes
|
||||
if (referenceExpression != null && JetStandardClasses.getAllStandardClasses().contains(declarationDescriptor)) {
|
||||
return referenceExpression.getContainingFile();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -94,11 +88,6 @@ public class BindingContextUtils {
|
||||
return elements;
|
||||
}
|
||||
|
||||
// TODO: Need to have a valid stubs for standard classes
|
||||
if (referenceExpression != null && JetStandardClasses.getAllStandardClasses().contains(declarationDescriptor)) {
|
||||
return Lists.<PsiElement>newArrayList(referenceExpression.getContainingFile());
|
||||
}
|
||||
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user