Collection<PsiReference> (SearchScope referencesSearchScope) { return CollectionsKt.map( ArraysKt.filterIsInstance(getOccurrences(), KtSimpleNameExpression.class), new Function1<>() { @Override public PsiReference invoke(KtSimpleNameExpression expression) { return ReferenceUtilsKt.getMainReference(expression); } } ); }