code: @SuppressWarnings("deprecation")
      public void visitPubapi(Element e) {
  
          // Skip anonymous classes for now
          if (e == null)
              return;
  
          PubapiVisitor v = new PubapiVisitor();
          v.visit(e);
          publicApiPerClass.put((ClassSymbol) e, v.getCollectedPubApi());
      }
docs: Visit the api of a class and construct a pubapi and
  store it into the pubapi_perclass map.