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.java.recoderext;
11:
12: import recoder.java.Identifier;
13: import de.uka.ilkd.key.logic.op.SchemaVariable;
14:
15: public class ProgramVariableSVWrapper extends Identifier implements
16: KeYRecoderExtension, SVWrapper {
17:
18: SchemaVariable sv = null;
19:
20: public ProgramVariableSVWrapper(SchemaVariable sv) {
21: this .sv = sv;
22: }
23:
24: protected ProgramVariableSVWrapper(ProgramVariableSVWrapper proto) {
25: super (proto);
26: }
27:
28: /**
29: * sets the schema variable of sort label
30: * @param sv the SchemaVariable
31: */
32: public void setSV(SchemaVariable sv) {
33: this .sv = sv;
34: }
35:
36: /**
37: * returns the schema variable of this type sv wrapper
38: */
39: public SchemaVariable getSV() {
40: return sv;
41: }
42:
43: }
|