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