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: package de.uka.ilkd.key.rule;
09:
10: import de.uka.ilkd.key.logic.Constraint;
11: import de.uka.ilkd.key.logic.PosInOccurrence;
12: import de.uka.ilkd.key.proof.mgt.OldOperationContract;
13:
14: public class MethodContractRuleApp extends BuiltInRuleApp {
15:
16: private OldOperationContract contract;
17:
18: public MethodContractRuleApp(UseMethodContractRule builtInRule,
19: PosInOccurrence pio, Constraint userConstraint,
20: OldOperationContract contract) {
21: super (builtInRule, pio, userConstraint);
22: this .contract = contract;
23: }
24:
25: public OldOperationContract getMethodContract() {
26: return contract;
27: }
28:
29: }
|