code: private void writeGetAs(Definition def, Writer out, int indent) throws IOException
     {
        writeWithIndent(out, indent, "/**\n");
        writeWithIndent(out, indent, " * Get activation spec class\n");
        writeWithIndent(out, indent, " * @return Activation spec\n");
        writeWithIndent(out, indent, " */\n");
  
        writeWithIndent(out, indent, "public " + def.getAsClass() + " getActivationSpec()");
        writeLeftCurlyBracket(out, indent);
        writeWithIndent(out, indent + 1, "return spec;");
  
        writeRightCurlyBracket(out, indent);
        writeEol(out);
     }
docs: Output get activation spec method
  
  @param def    definition
  @param out    Writer
  @param indent space number
  @throws IOException ioException