001 // Copyright 2008 Waterken Inc. under the terms of the MIT X license
002 // found at http://www.opensource.org/licenses/mit-license.html
003 package org.ref_send.log;
004
005 import java.io.Serializable;
006
007 import org.joe_e.Powerless;
008 import org.joe_e.Struct;
009 import org.joe_e.array.PowerlessArray;
010 import org.ref_send.Record;
011 import org.ref_send.deserializer;
012 import org.ref_send.name;
013
014 /**
015 * A stack trace.
016 */
017 public class
018 Trace extends Struct implements Powerless, Record, Serializable {
019 static private final long serialVersionUID = 1L;
020
021 /**
022 * list of call sites
023 */
024 public final PowerlessArray<CallSite> calls;
025
026 /**
027 * Constructs an instance.
028 * @param calls {@link #calls}
029 */
030 public @deserializer
031 Trace(@name("calls") final PowerlessArray<CallSite> calls) {
032 this.calls = calls;
033 }
034 }