How can I access constructor &/or destructor of an entity so that I could add/remove/change code ?
1.1) How could I access and add/remove/change code of any other existing method, such as the getter and setter functions/procedures?
Is it accessible through Members collection? If so, how to use it?
How could I create a function/procedure and add var declarations, once the AddSnippet procedure works inside a default
begin/endblock? Does this Statements property do the job? If so, how?
How could I add a constructor/destructor to an entity which didn't had them automatically created?
I need to access
destructor methods because I create proxy fields in
OnClassGenerated event that I should initialize and destroy (SetInitialValue / DestroyValue), so I noticed there's no "FindFunction", "FindProcedure", or a creator/destructor code access method - there are only AddFunction and AddProcedure methods.