* src/vmcore/annotation.c
[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
34 #include "vm/types.h"
35 #include "vm/global.h"
36
37 #include "vmcore/class.h"
38 #include "vmcore/field.h"
39 #include "vmcore/loader.h"
40 #include "vmcore/method.h"
41
42
43 /* function prototypes ********************************************************/
44
45 bool annotation_load_class_attribute_runtimevisibleannotations(
46         classbuffer *cb);
47
48 bool annotation_load_class_attribute_runtimeinvisibleannotations(
49         classbuffer *cb);
50
51 bool annotation_load_method_attribute_runtimevisibleannotations(
52         classbuffer *cb, methodinfo *m);
53
54 bool annotation_load_method_attribute_runtimeinvisibleannotations(
55         classbuffer *cb, methodinfo *m);
56
57 bool annotation_load_field_attribute_runtimevisibleannotations(
58         classbuffer *cb, fieldinfo *f);
59
60 bool annotation_load_field_attribute_runtimeinvisibleannotations(
61         classbuffer *cb, fieldinfo *f);
62
63 bool annotation_load_method_attribute_annotationdefault(
64         classbuffer *cb, methodinfo *m);
65
66 bool annotation_load_method_attribute_runtimevisibleparameterannotations(
67         classbuffer *cb, methodinfo *m);
68
69 bool annotation_load_method_attribute_runtimeinvisibleparameterannotations(
70         classbuffer *cb, methodinfo *m);
71
72 #endif /* _ANNOTATION_H */
73
74
75 /*
76  * These are local overrides for various environment variables in Emacs.
77  * Please do not remove this and leave it at the end of the file, where
78  * Emacs will automagically detect them.
79  * ---------------------------------------------------------------------
80  * Local variables:
81  * mode: c
82  * indent-tabs-mode: t
83  * c-basic-offset: 4
84  * tab-width: 4
85  * End:
86  * vim:noexpandtab:sw=4:ts=4:
87  */