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 ?
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.
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