System.out.println(clazz);
// Add an empty method for a clazz. The method signature must
// match the method from HelloWorld interface, the only difference
// is that we want to implement the method now so it can't be abstract.
Signature signature = new Signature("void", new String[] {} );
JiapiMethod method = clazz.addMethod(Modifier.PUBLIC, "helloWorld",
signature);
// Then create the method body. The body will make a call to
// System.out.println and then just return.