/Engine/Source/Runtime/CoreUObject/Public/Misc/PackagePath.h
Version of GetDebugNameText that takes a PackageSegment, otherwise same behavior as parameterless version
[FText](API\Runtime\Core\Internationalization\FText) GetDebugNameText ( EPackageSegment PackageSegment ) const