Constructor.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_lang_reflect_Constructor__
  3. #define __java_lang_reflect_Constructor__
  4. #pragma interface
  5. #include <java/lang/reflect/AccessibleObject.h>
  6. #include <gcj/array.h>
  7. jmethodID _Jv_FromReflectedConstructor (java::lang::reflect::Constructor *);
  8. jobject JNICALL _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
  9. class java::lang::reflect::Constructor : public ::java::lang::reflect::AccessibleObject
  10. {
  11. Constructor();
  12. public:
  13. ::java::lang::Class * getDeclaringClass();
  14. ::java::lang::String * getName();
  15. private:
  16. jint getModifiersInternal();
  17. public:
  18. jint getModifiers();
  19. jboolean isSynthetic();
  20. jboolean isVarArgs();
  21. JArray< ::java::lang::Class * > * getParameterTypes();
  22. JArray< ::java::lang::Class * > * getExceptionTypes();
  23. jboolean equals(::java::lang::Object *);
  24. jint hashCode();
  25. ::java::lang::String * toString();
  26. public: // actually package-private
  27. static void addTypeParameters(::java::lang::StringBuilder *, JArray< ::java::lang::reflect::TypeVariable * > *);
  28. public:
  29. ::java::lang::String * toGenericString();
  30. ::java::lang::Object * newInstance(JArray< ::java::lang::Object * > *);
  31. JArray< ::java::lang::reflect::TypeVariable * > * getTypeParameters();
  32. private:
  33. ::java::lang::String * getSignature();
  34. public:
  35. JArray< ::java::lang::reflect::Type * > * getGenericExceptionTypes();
  36. JArray< ::java::lang::reflect::Type * > * getGenericParameterTypes();
  37. ::java::lang::annotation::Annotation * getAnnotation(::java::lang::Class *);
  38. JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotations();
  39. JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotations();
  40. private:
  41. JArray< ::java::lang::annotation::Annotation * > * getDeclaredAnnotationsInternal();
  42. JArray< JArray< ::java::lang::annotation::Annotation * > * > * getParameterAnnotationsInternal();
  43. void getType();
  44. static const jint CONSTRUCTOR_MODIFIERS = 7;
  45. ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::reflect::AccessibleObject)))) declaringClass;
  46. JArray< ::java::lang::Class * > * exception_types;
  47. JArray< ::java::lang::Class * > * parameter_types;
  48. jint offset;
  49. public:
  50. static ::java::lang::Class class$;
  51. friend jmethodID (::_Jv_FromReflectedConstructor) (java::lang::reflect::Constructor *);
  52. friend jobject JNICALL (::_Jv_JNI_ToReflectedMethod) (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
  53. friend class java::lang::Class;
  54. };
  55. #endif // __java_lang_reflect_Constructor__