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.logic.op;
12:
13: import de.uka.ilkd.key.logic.Name;
14: import de.uka.ilkd.key.logic.ProgramInLogic;
15: import de.uka.ilkd.key.logic.Term;
16:
17: public abstract class AccessOp extends Op implements Operator,
18: ProgramInLogic, Location, NonRigid {
19:
20: /**
21: *creates an AccessOp
22: */
23: AccessOp(Name name) {
24: super (name);
25: }
26:
27: /**
28: * @return true if the value of "term" having this operator as
29: * top-level operator and may not be changed by modalities
30: */
31: public boolean isRigid(Term term) {
32: return false;
33: }
34:
35: /**
36: * @return true if the operator is a shadowed
37: */
38: public abstract boolean isShadowed();
39:
40: }
|