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.declaration;
12:
13: import de.uka.ilkd.key.java.Declaration;
14: import de.uka.ilkd.key.java.NonTerminalProgramElement;
15:
16: /**
17: * Member declaration.
18: * taken from COMPOST and changed to achieve an immutable structure
19: */
20:
21: public interface MemberDeclaration extends Declaration,
22: NonTerminalProgramElement {
23:
24: /**
25: * Test whether the declaration is private.
26: */
27: boolean isPrivate();
28:
29: /**
30: * Test whether the declaration is protected.
31: */
32: boolean isProtected();
33:
34: /**
35: * Test whether the declaration is public.
36: */
37: boolean isPublic();
38:
39: /**
40: * Test whether the declaration is static.
41: */
42: boolean isStatic();
43:
44: /**
45: * Test whether the declaration is strictfp.
46: */
47: boolean isStrictFp();
48: }
|