// TODO: use sane arg parsing
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 {
// TODO: use sane arg parsing
if (args.length != 2) {
throw new RuntimeException("usage: AnalyzeMethodEntry trace-in trace-out");
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));
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();
}