Renamed method and got rid of some usages.

This commit is contained in:
Evgeny Gerashchenko
2013-11-26 18:08:39 +04:00
parent ad7044cc6c
commit 557aaf363a
12 changed files with 16 additions and 19 deletions
@@ -174,7 +174,7 @@ public final class JavaClassResolver {
List<Name> segments = qualifiedName.pathSegments();
if (segments.size() < 2) return null;
JetScope scope = KotlinBuiltIns.getInstance().getBuiltInsScope();
JetScope scope = KotlinBuiltIns.getInstance().getBuiltInsPackageScope();
for (int i = 1, size = segments.size(); i < size; i++) {
ClassifierDescriptor classifier = scope.getClassifier(segments.get(i));
if (classifier == null) return null;