Replace toString() with getFqName()

This commit is contained in:
Andrey Breslav
2012-12-18 20:43:02 +04:00
parent 4a6fd1676b
commit db78db57fa
@@ -59,7 +59,7 @@ public class StubIndexServiceImpl implements StubIndexService {
FqName fqName = stub.getFQName();
if (fqName != null) {
sink.occurrence(JetFullClassNameIndex.getInstance().getKey(), fqName.toString());
sink.occurrence(JetFullClassNameIndex.getInstance().getKey(), fqName.getFqName());
}
}
@@ -78,7 +78,7 @@ public class StubIndexServiceImpl implements StubIndexService {
FqName topFQName = stub.getTopFQName();
if (topFQName != null) {
sink.occurrence(JetTopLevelFunctionsFqnNameIndex.getInstance().getKey(), topFQName.toString());
sink.occurrence(JetTopLevelFunctionsFqnNameIndex.getInstance().getKey(), topFQName.getFqName());
}
}
@@ -93,7 +93,7 @@ public class StubIndexServiceImpl implements StubIndexService {
if (stub.isTopLevel()) {
FqName topFQName = stub.getTopFQName();
if (topFQName != null) {
sink.occurrence(JetTopLevelPropertiesFqnNameIndex.getInstance().getKey(), topFQName.toString());
sink.occurrence(JetTopLevelPropertiesFqnNameIndex.getInstance().getKey(), topFQName.getFqName());
}
}