2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_reflect_Constructor__
5 #define __java_lang_reflect_Constructor__
9 #include <java/lang/reflect/AccessibleObject.h>
10 #include <gcj/array.h>
13 jmethodID
_Jv_FromReflectedConstructor (java::lang::reflect::Constructor
*);
14 jobject
_Jv_JNI_ToReflectedMethod (_Jv_JNIEnv
*, jclass
, jmethodID
, jboolean
);
16 class java::lang::reflect::Constructor
: public ::java::lang::reflect::AccessibleObject
21 ::java::lang::Class
* getDeclaringClass();
22 ::java::lang::String
* getName();
24 jint
getModifiersInternal();
27 jboolean
isSynthetic();
29 JArray
< ::java::lang::Class
* > * getParameterTypes();
30 JArray
< ::java::lang::Class
* > * getExceptionTypes();
31 jboolean
equals(::java::lang::Object
*);
33 ::java::lang::String
* toString();
34 public: // actually package-private
35 static void addTypeParameters(::java::lang::StringBuilder
*, JArray
< ::java::lang::reflect::TypeVariable
* > *);
37 ::java::lang::String
* toGenericString();
38 ::java::lang::Object
* newInstance(JArray
< ::java::lang::Object
* > *);
39 JArray
< ::java::lang::reflect::TypeVariable
* > * getTypeParameters();
41 ::java::lang::String
* getSignature();
43 JArray
< ::java::lang::reflect::Type
* > * getGenericExceptionTypes();
44 JArray
< ::java::lang::reflect::Type
* > * getGenericParameterTypes();
45 ::java::lang::annotation::Annotation
* getAnnotation(::java::lang::Class
*);
46 JArray
< ::java::lang::annotation::Annotation
* > * getDeclaredAnnotations();
47 JArray
< JArray
< ::java::lang::annotation::Annotation
* > * > * getParameterAnnotations();
49 JArray
< ::java::lang::annotation::Annotation
* > * getDeclaredAnnotationsInternal();
50 JArray
< JArray
< ::java::lang::annotation::Annotation
* > * > * getParameterAnnotationsInternal();
52 static const jint CONSTRUCTOR_MODIFIERS
= 7;
53 ::java::lang::Class
* __attribute__((aligned(__alignof__( ::java::lang::reflect::AccessibleObject
)))) declaringClass
;
54 JArray
< ::java::lang::Class
* > * exception_types
;
55 JArray
< ::java::lang::Class
* > * parameter_types
;
58 static ::java::lang::Class
class$
;
60 friend jmethodID (::_Jv_FromReflectedConstructor
) (java::lang::reflect::Constructor
*);
61 friend jobject (::_Jv_JNI_ToReflectedMethod
) (_Jv_JNIEnv
*, jclass
, jmethodID
, jboolean
);
62 friend class java::lang::Class
;
65 #endif // __java_lang_reflect_Constructor__