Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / lang / reflect / Constructor.h
blob5a200bc114df99da27727909bbd0ee0d990418df
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_reflect_Constructor__
5 #define __java_lang_reflect_Constructor__
7 #pragma interface
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
19 Constructor();
20 public:
21 ::java::lang::Class * getDeclaringClass();
22 ::java::lang::String * getName();
23 private:
24 jint getModifiersInternal();
25 public:
26 jint getModifiers();
27 jboolean isSynthetic();
28 jboolean isVarArgs();
29 JArray< ::java::lang::Class * > * getParameterTypes();
30 JArray< ::java::lang::Class * > * getExceptionTypes();
31 jboolean equals(::java::lang::Object *);
32 jint hashCode();
33 ::java::lang::String * toString();
34 public: // actually package-private
35 static void addTypeParameters(::java::lang::StringBuilder *, JArray< ::java::lang::reflect::TypeVariable * > *);
36 public:
37 ::java::lang::String * toGenericString();
38 ::java::lang::Object * newInstance(JArray< ::java::lang::Object * > *);
39 JArray< ::java::lang::reflect::TypeVariable * > * getTypeParameters();
40 private:
41 ::java::lang::String * getSignature();
42 public:
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();
48 private:
49 JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotationsInternal();
50 JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotationsInternal();
51 void getType();
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;
56 jint offset;
57 public:
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__