// Add main() method to HelloWorld
accessFlags.clear();
accessFlags.add("public");
accessFlags.add("static");
e.addMethod(accessFlags, "main", "([Ljava/lang/String;)V", null, true);
e.addMemberAccessInstruction(GETSTATIC, "java/lang/System", "out",
"Ljava/io/PrintStream;");
e.addMemberAccessInstruction(INVOKESTATIC, "HelloWorld", "message",
"()Ljava/lang/String;");
e.addMemberAccessInstruction(INVOKEVIRTUAL, "java/io/PrintStream",