public static void main(String args[]) throws FileNotFoundException {
        // TODO: use sane arg parsing
        if (args.length != 2) {
            throw new RuntimeException("usage: AnalyzeMethodEntry trace-in trace-out");
        }
        String inFileName = args[0];
        String outFileName = args[1];
        Deserializer<TraceEvent> d
            = Deserializer.getDeserializer(new FileInputStream(inFileName),
                                           TraceEvent.class);
        Serializer<TraceEvent> s
            = Serializer.getSerializer(new FileOutputStream(outFileName));
        new AnalyzeMethodEntry(d, s).analyze();
    }
public static void main(String args[]) throws FileNotFoundException {
       
        if (args.length != 2) {
            throw new RuntimeException("usage: AnalyzeMethodEntry trace-in trace-out");
        }
        String inFileName = args[0];
        String outFileName = args[1];
        Deserializer<TraceEvent> d
            = Deserializer.getDeserializer(new FileInputStream(inFileName),
                                           TraceEvent.class);
        Serializer<TraceEvent> s
            = Serializer.getSerializer(new FileOutputStream(outFileName));
        new AnalyzeMethodEntry(d, s).analyze();
    }
public static void main(string args[]) throws filenotfoundexception { if (args.length != 2) { throw new runtimeexception("usage: analyzemethodentry trace-in trace-out"); } string infilename = args[0]; string outfilename = args[1]; deserializer<traceevent> d = deserializer.getdeserializer(new fileinputstream(infilename), traceevent.class); serializer<traceevent> s = serializer.getserializer(new fileoutputstream(outfilename)); new analyzemethodentry(d, s).analyze(); }