01: /* Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com
02:
03: This file is part of the db4o open source object database.
04:
05: db4o is free software; you can redistribute it and/or modify it under
06: the terms of version 2 of the GNU General Public License as published
07: by the Free Software Foundation and as clarified by db4objects' GPL
08: interpretation policy, available at
09: http://www.db4o.com/about/company/legalpolicies/gplinterpretation/
10: Alternatively you can write to db4objects, Inc., 1900 S Norfolk Street,
11: Suite 350, San Mateo, CA 94403, USA.
12:
13: db4o is distributed in the hope that it will be useful, but WITHOUT ANY
14: WARRANTY; without even the implied warranty of MERCHANTABILITY or
15: FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16: for more details.
17:
18: You should have received a copy of the GNU General Public License along
19: with this program; if not, write to the Free Software Foundation, Inc.,
20: 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21: package EDU.purdue.cs.bloat.reflect;
22:
23: /**
24: * Modifiers is an interface containing constants used as modifiers of classes,
25: * fields, and methods.
26: *
27: * @author Nate Nystrom (<a
28: * href="mailto:nystrom@cs.purdue.edu">nystrom@cs.purdue.edu</a>)
29: */
30: public interface Modifiers {
31: /**
32: * The class, field, or method is declared public.
33: */
34: public static final short PUBLIC = 0x0001;
35:
36: /**
37: * The class, field, or method is declared private.
38: */
39: public static final short PRIVATE = 0x0002;
40:
41: /**
42: * The class, field, or method is declared protected.
43: */
44: public static final short PROTECTED = 0x0004;
45:
46: /**
47: * The field or method is declared static.
48: */
49: public static final short STATIC = 0x0008;
50:
51: /**
52: * The class, field, or method is declared final.
53: */
54: public static final short FINAL = 0x0010;
55:
56: /**
57: * The class calls methods in the superclass.
58: */
59: public static final short SUPER = 0x0020;
60:
61: /**
62: * The method is declared synchronized.
63: */
64: public static final short SYNCHRONIZED = 0x0020;
65:
66: /**
67: * The field is declared volatile.
68: */
69: public static final short VOLATILE = 0x0040;
70:
71: /**
72: * The field is declared transient.
73: */
74: public static final short TRANSIENT = 0x0080;
75:
76: /**
77: * The method is declared native.
78: */
79: public static final short NATIVE = 0x0100;
80:
81: /**
82: * The class is an interface.
83: */
84: public static final short INTERFACE = 0x0200;
85:
86: /**
87: * The class or method is declared abstract.
88: */
89: public static final short ABSTRACT = 0x0400;
90: }
|