PyLucene 3.4.0-1 import
[pylucene.git] / jcc / _jcc / java / lang / reflect / GenericDeclaration.h
1 #ifdef _java_generics
2
3 #ifndef java_lang_reflect_GenericDeclaration_H
4 #define java_lang_reflect_GenericDeclaration_H
5
6 #include "java/lang/Object.h"
7
8 namespace java {
9     namespace lang {
10         namespace reflect {
11             class TypeVariable;
12         }
13         class Class;
14     }
15 }
16 template<class T> class JArray;
17
18 namespace java {
19     namespace lang {
20         namespace reflect {
21
22             class GenericDeclaration : public java::lang::Object {
23             public:
24                 enum {
25                     mid_getTypeParameters_837d3468,
26                     max_mid
27                 };
28
29                 static java::lang::Class *class$;
30                 static jmethodID *mids$;
31                 static jclass initializeClass();
32
33                 explicit GenericDeclaration(jobject obj) : java::lang::Object(obj) {
34                     if (obj != NULL)
35                         initializeClass();
36                 }
37                 GenericDeclaration(const GenericDeclaration& obj) : java::lang::Object(obj) {}
38
39                 JArray<java::lang::reflect::TypeVariable> getTypeParameters() const;
40             };
41         }
42     }
43 }
44
45 #include <Python.h>
46
47 namespace java {
48     namespace lang {
49         namespace reflect {
50             extern PyTypeObject PY_TYPE(GenericDeclaration);
51
52             class t_GenericDeclaration {
53             public:
54                 PyObject_HEAD
55                 GenericDeclaration object;
56                 static PyObject *wrap_Object(const GenericDeclaration&);
57                 static PyObject *wrap_jobject(const jobject&);
58             };
59         }
60     }
61 }
62
63 #endif
64
65 #endif /* _java_generics */