How do i get a path to a Blueprint from code?

Hello is it possible to get the path to a blueprint?
Lets say i have a “AWeapon” class (in C++) and its is the base for all Weapons.
And then i use Blueprints to set the assets for a weapon so i have BP_Rifle_AWeapon in the content browser.
I can right click and press Copy Reference and i get the path to it, and then load it in code.

Is there a method to get that path from code?

Thanks in advanced.