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.java.abstraction;
12:
13: /**
14: A program model element representing variables.
15: @author AL
16: @author RN
17: */
18: public interface Variable extends ProgramModelElement {
19:
20: /**
21: Checks if this variable is final.
22: @return <CODE>true</CODE> if this variable is final,
23: <CODE>false</CODE> otherwise.
24: */
25: boolean isFinal();
26:
27: /**
28: Returns the type of this variable.
29: @return the type of this variable.
30: */
31: Type getType();
32: }
|