FQN_KEY renamed

This commit is contained in:
Andrey Breslav
2012-12-18 17:24:06 +04:00
parent df7490d01c
commit 4a2ff1f1d1
3 changed files with 4 additions and 4 deletions
@@ -35,7 +35,7 @@ public class JetFullClassNameIndex extends StringStubIndexExtension<JetClassOrOb
@NotNull
@Override
public StubIndexKey<String, JetClassOrObject> getKey() {
return JetIndexKeys.FQN_KEY;
return JetIndexKeys.CLASS_OR_OBJECT_FQN_KEY;
}
@Override
@@ -24,7 +24,7 @@ public interface JetIndexKeys {
StubIndexKey<String, JetClassOrObject> SHORT_NAME_KEY = StubIndexKey.createIndexKey("jet.class.shortName");
StubIndexKey<String, JetClassOrObject> SUPERCLASS_NAME_KEY = StubIndexKey.createIndexKey("jet.class.superClassName");
StubIndexKey<String, JetClassOrObject> FQN_KEY = StubIndexKey.createIndexKey("jet.fqn");
StubIndexKey<String, JetClassOrObject> CLASS_OR_OBJECT_FQN_KEY = StubIndexKey.createIndexKey("jet.fqn");
StubIndexKey<String, JetObjectDeclaration> TOP_LEVEL_OBJECT_SHORT_NAME_KEY =
StubIndexKey.createIndexKey("jet.top.level.object.short.name");
@@ -38,7 +38,7 @@ public class StubIndexServiceImpl implements StubIndexService {
String fqn = stub.getQualifiedName();
if (fqn != null) {
sink.occurrence(JetIndexKeys.FQN_KEY, fqn);
sink.occurrence(JetIndexKeys.CLASS_OR_OBJECT_FQN_KEY, fqn);
}
for (String superName : stub.getSuperNames()) {
@@ -59,7 +59,7 @@ public class StubIndexServiceImpl implements StubIndexService {
FqName fqName = stub.getFQName();
if (fqName != null) {
sink.occurrence(JetIndexKeys.FQN_KEY, fqName.toString());
sink.occurrence(JetIndexKeys.CLASS_OR_OBJECT_FQN_KEY, fqName.toString());
}
}