Hi Forum, I seem to recall there was a plan to introduce some introspection capabilities in the AVM for 11.6 but I can't find any ABL instruction for it.
Having a Progress.Lang.Object in hands, is there a way to get a list of public/protected/private methods ?
Yes - works pretty nicely. Use GetClass() to get a reference of the object instance's class and then:
Architect of the SmartComponent Library and WinKit
Hi Sebastien: Take a look at the extension made to the Progress.Lang.Class class n 11.6.0. These extensions provide type information about an ABL class or an interface. There is a GetMethod () method - which returns a Progress.Reflect.Method instance describing the class method that matches the specified conditions. There is also a GetMethods () method.
Sr. Development Manager
you also can watch the video https://youtu.be/4Lmsmfkuffk on Using ABL Reflection.
Another new feature is support of Enumerated types : http://youtu.be/0_2kTTC1cag
Laurent KIEFFER Senior Solution Consultant
PROGRESS SOFTWARE FRANCE
DIRECT +33 (0) 4 72 38 52 11 MOBILE +33 (0) 6 15 19 95 95