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

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -