/** Generates the abstract invoker class.
*/
public JavaSource getInvokerClass(JavaSource pSource) {
JavaInnerClass invoker = pSource.newJavaInnerClass("Invoker", JavaSource.PUBLIC);
JavaComment comment = invoker.newComment();
comment.addLine("The dispatcher is implemented with a {@link java.util.Map}.");
comment.addLine("The map keys are the method names, the values");
comment.addLine("are instances of <code>Invoker</code>.");
invoker.setType(JavaSource.INTERFACE);
JavaMethod jm = invoker.newJavaMethod("invoke", Object.class, JavaSource.PUBLIC);