1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_lang_reflect_Method__
|
5 |
|
|
#define __java_lang_reflect_Method__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/reflect/AccessibleObject.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);
|
14 |
|
|
jobject JNICALL _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
|
15 |
|
|
::java::lang::reflect::Method *_Jv_GetReflectedMethod (jclass, _Jv_Utf8Const*, _Jv_Utf8Const*);
|
16 |
|
|
|
17 |
|
|
class java::lang::reflect::Method : public ::java::lang::reflect::AccessibleObject
|
18 |
|
|
{
|
19 |
|
|
|
20 |
|
|
Method();
|
21 |
|
|
public:
|
22 |
|
|
::java::lang::Class * getDeclaringClass();
|
23 |
|
|
::java::lang::String * getName();
|
24 |
|
|
private:
|
25 |
|
|
jint getModifiersInternal();
|
26 |
|
|
public:
|
27 |
|
|
jint getModifiers();
|
28 |
|
|
jboolean isBridge();
|
29 |
|
|
jboolean isSynthetic();
|
30 |
|
|
jboolean isVarArgs();
|
31 |
|
|
::java::lang::Class * getReturnType();
|
32 |
|
|
JArray< ::java::lang::Class * > * getParameterTypes();
|
33 |
|
|
public: // actually package-private
|
34 |
|
|
JArray< ::java::lang::Class * > * internalGetParameterTypes();
|
35 |
|
|
public:
|
36 |
|
|
JArray< ::java::lang::Class * > * getExceptionTypes();
|
37 |
|
|
public: // actually package-private
|
38 |
|
|
JArray< ::java::lang::Class * > * internalGetExceptionTypes();
|
39 |
|
|
public:
|
40 |
|
|
jboolean equals(::java::lang::Object *);
|
41 |
|
|
jint hashCode();
|
42 |
|
|
::java::lang::String * toString();
|
43 |
|
|
::java::lang::String * toGenericString();
|
44 |
|
|
::java::lang::Object * invoke(::java::lang::Object *, JArray< ::java::lang::Object * > *);
|
45 |
|
|
JArray< ::java::lang::reflect::TypeVariable * > * getTypeParameters();
|
46 |
|
|
private:
|
47 |
|
|
::java::lang::String * getSignature();
|
48 |
|
|
public:
|
49 |
|
|
JArray< ::java::lang::reflect::Type * > * getGenericExceptionTypes();
|
50 |
|
|
JArray< ::java::lang::reflect::Type * > * getGenericParameterTypes();
|
51 |
|
|
::java::lang::reflect::Type * getGenericReturnType();
|
52 |
|
|
::java::lang::Object * getDefaultValue();
|
53 |
|
|
::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
|
54 |
|
|
JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
|
55 |
|
|
JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotations();
|
56 |
|
|
private:
|
57 |
|
|
JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotationsInternal();
|
58 |
|
|
JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotationsInternal();
|
59 |
|
|
void getType();
|
60 |
|
|
public: // actually package-private
|
61 |
|
|
static void appendClassName(::java::lang::StringBuffer *, ::java::lang::Class *);
|
62 |
|
|
static const jint METHOD_MODIFIERS = 3391;
|
63 |
|
|
private:
|
64 |
|
|
::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::reflect::AccessibleObject)))) declaringClass;
|
65 |
|
|
public: // actually package-private
|
66 |
|
|
JArray< ::java::lang::Class * > * exception_types;
|
67 |
|
|
private:
|
68 |
|
|
::java::lang::String * name;
|
69 |
|
|
public: // actually package-private
|
70 |
|
|
JArray< ::java::lang::Class * > * parameter_types;
|
71 |
|
|
::java::lang::Class * return_type;
|
72 |
|
|
private:
|
73 |
|
|
jint offset;
|
74 |
|
|
public:
|
75 |
|
|
static ::java::lang::Class class$;
|
76 |
|
|
|
77 |
|
|
friend jmethodID (::_Jv_FromReflectedMethod) (java::lang::reflect::Method *);
|
78 |
|
|
friend jobject JNICALL (::_Jv_JNI_ToReflectedMethod) (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
|
79 |
|
|
friend class java::lang::Class;
|
80 |
|
|
friend class java::io::ObjectInputStream;
|
81 |
|
|
friend java::lang::reflect::Method* ::_Jv_GetReflectedMethod (jclass, _Jv_Utf8Const*, _Jv_Utf8Const*);
|
82 |
|
|
};
|
83 |
|
|
|
84 |
|
|
#endif // __java_lang_reflect_Method__
|