void (@NotNull KotlinTypeAliasStub stub, @NotNull IndexSink sink) { String name = stub.getName(); if (name != null) { sink.occurrence(KotlinTypeAliasShortNameIndex.Helper.getIndexKey(), name); indexPrime(stub, sink); } IndexUtilsKt.indexTypeAliasExpansion(stub, sink); FqName fqName = stub.getFqName(); if (fqName != null) { if (stub.isTopLevel()) { sink.occurrence(KotlinTopLevelTypeAliasFqNameIndex.Helper.getIndexKey(), fqName.asString()); sink.occurrence(KotlinTopLevelTypeAliasByPackageIndex.Helper.getIndexKey(), fqName.parent().asString()); } } ClassId classId = stub.getClassId(); if (classId != null && !stub.isTopLevel()) { sink.occurrence(KotlinInnerTypeAliasClassIdIndex.Helper.getIndexKey(), classId.asString()); } }