code: @Override
     public void writeClassBody(Definition def, Writer out) throws IOException
     {
        int indent = 1;
        out.write("public class " + getClassName(def) + " implements " + def.getMbeanInterfaceClass());
        writeLeftCurlyBracket(out, 0);
  
        writeVars(def, out, indent);
        writeEol(out);
        writeMBeanLifecycle(def, out, indent);
        writeEol(out);
        writeMethods(def, out, indent);
        writeEol(out);
        writeGetConnection(def, out, indent);
  
        writeRightCurlyBracket(out, 0);
     }
docs: Output class
  
  @param def definition
  @param out Writer
  @throws IOException ioException