public void add(MethodDecl decl) {
   if (addedDecls.contains(decl)) return;
   ST visit;
   if (visitorImpl) visit = tmplGroup.getInstanceOf("visit");
   else visit = tmplGroup.getInstanceOf("declVisit");
   for (Column c : decl.columns) {
     visit.add("columns", c);
   }
   if (decl.isLastColumn()) visit.add("outmost", true);
   visitorBase.add("methodDecls", visit);
   addedDecls.add(decl);
 }
  public void add(MethodDecl decl) {
    if (decl.length() == 0) return;

    if (!methodDecls().contains(decl)) methodDecls().add(decl);
  }