class AnonConstructorFinder extends polyglot.visit.ContextVisitor {
  private static final Logger logger = LoggerFactory.getLogger(AnonConstructorFinder.class);

  public AnonConstructorFinder(polyglot.frontend.Job job, polyglot.types.TypeSystem ts, polyglot.ast.NodeFactory nf) {
    super(job, ts, nf);
  }

  public polyglot.visit.NodeVisitor enter(polyglot.ast.Node parent, polyglot.ast.Node n) {<FILL_FUNCTION_BODY>}

}

    if (n instanceof polyglot.ast.New && ((polyglot.ast.New) n).anonType() != null) {
      try {
        List<Type> argTypes = new ArrayList<Type>();
        for (Iterator it = ((polyglot.ast.New) n).arguments().iterator(); it.hasNext();) {
          argTypes.add(((polyglot.ast.Expr) it.next()).type());
        }
        polyglot.types.ConstructorInstance ci
            = typeSystem().findConstructor(((polyglot.ast.New) n).anonType().superType().toClass(), argTypes,
                ((polyglot.ast.New) n).anonType().superType().toClass());
        InitialResolver.v().addToAnonConstructorMap((polyglot.ast.New) n, ci);
      } catch (polyglot.types.SemanticException e) {
        System.out.println(e.getMessage());
        logger.error(e.getMessage(), e);
      }
    }
    return this;
  
<methods>public void <init>(polyglot.frontend.Job, polyglot.types.TypeSystem, polyglot.ast.NodeFactory) ,public polyglot.visit.NodeVisitor begin() ,public polyglot.types.Context context() ,public polyglot.visit.ContextVisitor context(polyglot.types.Context) ,public polyglot.visit.NodeVisitor enter(polyglot.ast.Node, polyglot.ast.Node) ,public polyglot.ast.Node leave(polyglot.ast.Node, polyglot.ast.Node, polyglot.ast.Node, polyglot.visit.NodeVisitor) ,public polyglot.visit.NodeVisitor superEnter(polyglot.ast.Node, polyglot.ast.Node) <variables>protected polyglot.types.Context context,protected polyglot.visit.ContextVisitor outer