To get the name of a project as a string I can use:
loc project = |project://Test/|;<br/>
str name = project.authority;
Is there something similar available for classes or methods?
I would like to write the contents of a class/method to disk and then use its name as the filename.