reflection - How to hook into an auto-generated Java method? -


edit: started low-priority question make work easier has become interesting exercise in java witchcraft. input, everyone!

i'm working auto-generated java code (specifically, code generated anylogic) produces method called onchange(). i'd call own method when onchange() called. there way "hook into" onchange() via reflection or other standard java mechanism?

one solution suggest using proxy objects. here tutorial might of you.


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -