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: package de.uka.ilkd.key.proof.mgt;
11:
12: import java.util.List;
13:
14: public class RuleJustificationBySpec extends LemmaRuleJustification {
15:
16: private Contract ct;
17:
18: public RuleJustificationBySpec(Contract ms) {
19: this .ct = ms;
20: }
21:
22: public Contract getContract() {
23: return ct;
24: }
25:
26: public List getProofList() {
27: return getContract().getProofs();
28: }
29:
30: public String toString() {
31: return "contract justification " + ct;
32: }
33: }
|