If you mean that you need to invoke a method on a class which is part of your module's source code, it's not a trivial thing to do. You need to compile the module, locate the class in the output directory, load it from there and then call the method via reflection.
If you mean that you need to invoke a method on a class which is part of your module's source code, it's not a trivial thing to do. You need to compile the module, locate the class in the output directory, load it from there and then call the method via reflection.