Reflection would be really nice

Frank Benoit (keinfarbton) benoit at tionex.removethispart.de
Thu Apr 19 15:39:12 PDT 2007


Walter Bright schrieb:
> Frank Benoit (keinfarbton) wrote:
>>> allClasses is already there, see Classinfo.find().
>>
>> Didn't know about it :)
>>
>> Now i can test if "org.eclipse.swt.SWT.SWT" exists.
>> If so, is there a way to call the static method "static_this()"?
> 
> In the module info, there should be an array of the static constructors.

I cannot use them, because of circular dependencies. This is, why i
"manually" call "static_this()" methods (note the underscore) in a
defined order.



More information about the Digitalmars-d mailing list