1 /* src/native/vm/reflect.h - helper functions for java/lang/reflect
3 Copyright (C) 2007 R. Grafl, A. Krall, C. Kruegel,
4 C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 J. Wenninger, Institut f. Computersprachen - TU Wien
8 This file is part of CACAO.
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.
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.
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
25 $Id: reflect.h 8318 2007-08-16 10:05:34Z michi $
34 #include "native/jni.h"
35 #include "native/native.h"
37 /* keep this order of the native includes */
39 #include "native/include/java_lang_String.h"
41 #if defined(ENABLE_JAVASE)
42 # if defined(WITH_CLASSPATH_SUN)
43 # include "native/include/java_nio_ByteBuffer.h" /* required by j.l.CL */
45 # include "native/include/java_lang_ClassLoader.h"
48 #include "native/include/java_lang_Object.h"
49 #include "native/include/java_lang_Class.h"
51 #if defined(ENABLE_JAVASE)
52 # include "native/include/java_lang_reflect_Constructor.h"
53 # include "native/include/java_lang_reflect_Field.h"
54 # include "native/include/java_lang_reflect_Method.h"
57 #include "vmcore/field.h"
58 #include "vmcore/method.h"
61 /* function prototypes ********************************************************/
63 java_lang_reflect_Constructor *reflect_constructor_new(methodinfo *m);
64 java_lang_reflect_Field *reflect_field_new(fieldinfo *f);
65 java_lang_reflect_Method *reflect_method_new(methodinfo *m);
67 #if defined(WITH_CLASSPATH_GNU) && defined(ENABLE_ANNOTATIONS)
68 struct java_util_Map* reflect_get_declaredannotatios(
69 java_handle_bytearray_t *annotations,
70 java_lang_Class *declaringClass,
73 java_handle_objectarray_t* reflect_get_parameterannotations(
74 java_handle_t *parameterAnnotations,
76 java_lang_Class *declaringClass,
81 * These are local overrides for various environment variables in Emacs.
82 * Please do not remove this and leave it at the end of the file, where
83 * Emacs will automagically detect them.
84 * ---------------------------------------------------------------------
91 * vim:noexpandtab:sw=4:ts=4: