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.unittest.simplify.ast;
09:
10: public class AttributeOp extends Function {
11:
12: protected String attr, className;
13:
14: public AttributeOp(String className, String attr) {
15: super ("|." + className + "::" + attr + "|");
16: this .className = className;
17: this .attr = attr;
18: }
19:
20: public AttributeOp(String s) {
21: super (s);
22: }
23:
24: public String getClassName() {
25: return className;
26: }
27:
28: public String getAttribute() {
29: return attr;
30: }
31:
32: }
|