Allow store nullable qualified names in object stubs

This commit is contained in:
Nikolay Krasko
2012-07-02 17:16:09 +04:00
parent de4e302578
commit 72271cbdd4
4 changed files with 16 additions and 11 deletions
@@ -52,7 +52,11 @@ public class StubIndexServiceImpl implements StubIndexService {
assert name != null;
sink.occurrence(JetIndexKeys.SHORT_NAME_KEY, name);
sink.occurrence(JetIndexKeys.FQN_KEY, stub.getFQName().toString());
FqName fqName = stub.getFQName();
if (fqName != null) {
sink.occurrence(JetIndexKeys.FQN_KEY, fqName.toString());
}
}
@Override