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.op.SchemaVariable;
11:
12: public class RestrictionIsAttrib implements Restriction {
13:
14: Restriction attribsRestriction;
15:
16: public RestrictionIsAttrib(Restriction r) {
17: attribsRestriction = r;
18: }
19:
20: public String getTypeOfRestriction() {
21: return "isAttrib";
22: }
23:
24: public SchemaVariable getAttributeVar() {
25: return null;
26: }
27:
28: public Restriction getAttribsRestriction() {
29: return attribsRestriction;
30: }
31: }
|