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.rule.inst;
12:
13: import de.uka.ilkd.key.java.ProgramElement;
14: import de.uka.ilkd.key.logic.op.SchemaVariable;
15:
16: public class ProgramSkolemInstantiation extends ProgramInstantiation {
17:
18: public static final int OCCURRING_VARIABLE = 0;
19: public static final int NEW_BOUND_VARIABLE = 1;
20: public static final int NEW_FREE_VARIABLE = 2;
21: public static final int NEW_NOT_FREE_VARIABLE = 3;
22: public static final int NEW_EXPRESSION = 4;
23:
24: private final int instantiationType;
25:
26: /** creates a new ContextInstantiationEntry
27: * @param sv the SchemaVariable that is
28: * instantiated
29: * @param pe the ProgramElement the SchemaVariable is instantiated with
30: */
31: ProgramSkolemInstantiation(SchemaVariable sv, ProgramElement pe,
32: int instantiationType) {
33: super (sv, pe);
34: this .instantiationType = instantiationType;
35: }
36:
37: public int getInstantiationType() {
38: return instantiationType;
39: }
40:
41: }
|