01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.proof.proofevent;
12:
13: import de.uka.ilkd.key.logic.ListOfSequentChangeInfo;
14: import de.uka.ilkd.key.logic.SLListOfSequentChangeInfo;
15: import de.uka.ilkd.key.logic.SequentChangeInfo;
16:
17: public class NodeChangesHolder {
18: public ListOfSequentChangeInfo scis;
19:
20: NodeChangesHolder() {
21: this (SLListOfSequentChangeInfo.EMPTY_LIST);
22: }
23:
24: NodeChangesHolder(ListOfSequentChangeInfo p_scis) {
25: scis = p_scis;
26: }
27:
28: public void addSCI(SequentChangeInfo p_sci) {
29: scis = scis.prepend(p_sci);
30: }
31:
32: public Object clone() {
33: return new NodeChangesHolder(scis);
34: }
35: }
|