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 LabelSVWrapper extends Identifier implements
16: KeYRecoderExtension, SVWrapper {
17:
18: SchemaVariable sv = null;
19:
20: public LabelSVWrapper(SchemaVariable sv) {
21: this .sv = sv;
22: }
23:
24: protected LabelSVWrapper(LabelSVWrapper proto) {
25: super (proto);
26: id = proto.id;
27: }
28:
29: /**
30: * sets the schema variable of sort label
31: * @param sv the SchemaVariable
32: */
33: public void setSV(SchemaVariable sv) {
34: this .sv = sv;
35: }
36:
37: /**
38: * returns the schema variable of this label sv wrapper
39: */
40: public SchemaVariable getSV() {
41: return sv;
42: }
43:
44: }
|