On Tuesday, 6 August 2013 at 22:55:49 UTC, Marek Janukowicz wrote:
Gary Willoughby wrote:

Is it possible using reflection or similar to extract only public
method names from classes? I'm thinking how i would go about
writing a unit test/mocking framework, investigating how i can
gather information about such things before i manipulate them.

See traits: http://dlang.org/traits.html

Look for: getProtection, getVirtualFunctions, getVirtualMethods.

I thought using __traits(...) was frowned upon?

Reply via email to