* autogen.sh: Made executeable.
[cacao.git] / src / vmcore / annotation.h
1 /* src/vmcore/annotation.h - class annotations
2
3    Copyright (C) 2006, 2007 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4    R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5    C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6    Institut f. Computersprachen - TU Wien
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23    02110-1301, USA.
24
25 */
26
27
28 #ifndef _ANNOTATION_H
29 #define _ANNOTATION_H
30
31
32 #include "config.h"
33 #include "vm/types.h"
34
35 #include "vm/global.h"
36
37 #include "vmcore/class.h"
38 #include "vmcore/field.h"
39 #include "vmcore/method.h"
40 #include "vmcore/loader.h"
41 #include "vmcore/utf8.h"
42
43
44 /* function prototypes ********************************************************/
45
46 bool annotation_load_class_attribute_runtimevisibleannotations(
47         classbuffer *cb);
48
49 bool annotation_load_class_attribute_runtimeinvisibleannotations(
50         classbuffer *cb);
51
52 bool annotation_load_method_attribute_runtimevisibleannotations(
53         classbuffer *cb, methodinfo *m);
54
55 bool annotation_load_method_attribute_runtimeinvisibleannotations(
56         classbuffer *cb, methodinfo *m);
57
58 bool annotation_load_field_attribute_runtimevisibleannotations(
59         classbuffer *cb, fieldinfo *f);
60
61 bool annotation_load_field_attribute_runtimeinvisibleannotations(
62         classbuffer *cb, fieldinfo *f);
63
64 bool annotation_load_method_attribute_annotationdefault(
65         classbuffer *cb, methodinfo *m);
66
67 bool annotation_load_method_attribute_runtimevisibleparameterannotations(
68         classbuffer *cb, methodinfo *m);
69
70 bool annotation_load_method_attribute_runtimeinvisibleparameterannotations(
71         classbuffer *cb, methodinfo *m);
72
73 #endif /* _ANNOTATION_H */
74
75
76 /*
77  * These are local overrides for various environment variables in Emacs.
78  * Please do not remove this and leave it at the end of the file, where
79  * Emacs will automagically detect them.
80  * ---------------------------------------------------------------------
81  * Local variables:
82  * mode: c
83  * indent-tabs-mode: t
84  * c-basic-offset: 4
85  * tab-width: 4
86  * End:
87  * vim:noexpandtab:sw=4:ts=4:
88  */