Java’s reflection API could conceivably be used for this purpose. (Provided the programs are given access to each others compiled code rather than to the human-readable java source code.)
I’m sorry but really no. The reflection API allows you to see what variables and methods are contained, it can allow you to execute methods, but that’s your only option, it doesn’t really allow you to parse the insides of a method.
Java’s reflection API could conceivably be used for this purpose. (Provided the programs are given access to each others compiled code rather than to the human-readable java source code.)
I’m sorry but really no. The reflection API allows you to see what variables and methods are contained, it can allow you to execute methods, but that’s your only option, it doesn’t really allow you to parse the insides of a method.