String name = root.classes()[0].name();
HashMap options = parseKeyValuePairsFrom(root.classes()[0].tags("@ejb.bean")[0].text()); String name = (String)options.get("name");
    public static boolean start(RootDoc root) throws IOException {      String name = root.classes()[0].name();      System.out.println("@@=" + name);      return processClass(root.classes()[0], new PrintStream(new FileOutputStream(new File(name+ ".gen.xml"))));    }