code: @Override
     public void writeClassBody(Definition def, Writer out) throws IOException
     {
        int indent = 1;
  
        out.write("public interface " + getClassName(def));
        writeLeftCurlyBracket(out, 0);
  
        if (def.getMcfDefs().get(getNumOfMcf()).isDefineMethodInConnection())
        {
           if (def.getMcfDefs().get(getNumOfMcf()).getMethods().size() > 0)
           {
              for (MethodForConnection method : def.getMcfDefs().get(getNumOfMcf()).getMethods())
              {
                 writeMethodSignature(out, indent, method);
                 out.write(";\n");
              }
           }
        }
        else
        {
           writeSimpleMethodSignature(out, indent, " * Call me", "public void callMe();");
        }
  
        writeEol(out);
        writeSimpleMethodSignature(out, indent, " * Close", "public void close();");
  
        writeRightCurlyBracket(out, 0);
     }
docs: Output class
  
  @param def definition
  @param out Writer
  @throws IOException ioException