/Engine/Source/Editor/KismetWidgets/Public/SPinTypeSelector.h
Fills the provided array with generated list items based on a pin type's allowed reference types, which could then be used as the item source for a list view
void GenerateAllowedObjectTypesList ( [TArray](API\Runtime\Core\Containers\TArray)< FObjectReferenceListItem > & OutList, FPinTypeTreeItem InItem, bool bForSecondaryType ) const