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 methods.
15: */
16: public interface Method extends Member, ClassTypeContainer {
17:
18: /**
19: Checks if this member is abstract. A constructor will report
20: <CODE>false</CODE>.
21: @return <CODE>true</CODE> if this member is abstract,
22: <CODE>false</CODE> otherwise.
23: @see recoder.abstraction.Constructor
24: */
25: boolean isAbstract();
26:
27: /**
28: Checks if this method is native. A constructor will report
29: <CODE>false</CODE>.
30: @return <CODE>true</CODE> if this method is native,
31: <CODE>false</CODE> otherwise.
32: @see recoder.abstraction.Constructor
33: */
34: boolean isNative();
35:
36: /**
37: Checks if this method is synchronized. A constructor will report
38: <CODE>false</CODE>.
39: @return <CODE>true</CODE> if this method is synchronized,
40: <CODE>false</CODE> otherwise.
41: @see recoder.abstraction.Constructor
42: */
43: boolean isSynchronized();
44:
45: }
|