void ( @NotNull IndexSink sink, String shortName, FqName fqName, boolean level) { if (shortName != null) { sink.occurrence(KotlinClassShortNameIndex.Helper.getIndexKey(), shortName); } if (fqName != null) { sink.occurrence(KotlinFullClassNameIndex.Helper.getIndexKey(), fqName.asString()); if (level) { sink.occurrence(KotlinTopLevelClassByPackageIndex.Helper.getIndexKey(), fqName.parent().asString()); } } }