1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_lang_reflect_Proxy$ClassFactory__
|
5 |
|
|
#define __java_lang_reflect_Proxy$ClassFactory__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class java::lang::reflect::Proxy$ClassFactory : public ::java::lang::Object
|
14 |
|
|
{
|
15 |
|
|
|
16 |
|
|
public: // actually package-private
|
17 |
|
|
Proxy$ClassFactory(::java::lang::reflect::Proxy$ProxyData *);
|
18 |
|
|
private:
|
19 |
|
|
void emitMethod(jint, JArray< ::java::lang::Class * > *);
|
20 |
|
|
public: // actually package-private
|
21 |
|
|
::java::lang::Class * generate(::java::lang::ClassLoader *);
|
22 |
|
|
private:
|
23 |
|
|
void putU1(jint);
|
24 |
|
|
void putU2(jint);
|
25 |
|
|
void putU4(jint);
|
26 |
|
|
void putConst(jint);
|
27 |
|
|
void putLoad(jint, ::java::lang::Class *);
|
28 |
|
|
::java::lang::String * wrapper(::java::lang::Class *);
|
29 |
|
|
jchar utf8Info(::java::lang::String *);
|
30 |
|
|
jchar classInfo(::java::lang::String *);
|
31 |
|
|
jchar classInfo(::java::lang::Class *);
|
32 |
|
|
jchar refInfo(jbyte, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
33 |
|
|
jchar nameAndTypeInfo(::java::lang::String *, ::java::lang::String *);
|
34 |
|
|
::java::lang::String * toUtf8(::java::lang::String *);
|
35 |
|
|
jchar poolIndex(::java::lang::String *);
|
36 |
|
|
static const jbyte FIELD = 1;
|
37 |
|
|
static const jbyte METHOD = 2;
|
38 |
|
|
static const jbyte INTERFACE = 3;
|
39 |
|
|
static ::java::lang::String * CTOR_SIG;
|
40 |
|
|
static ::java::lang::String * INVOKE_SIG;
|
41 |
|
|
static const jchar ACONST_NULL = 1;
|
42 |
|
|
static const jchar ICONST_0 = 3;
|
43 |
|
|
static const jchar BIPUSH = 16;
|
44 |
|
|
static const jchar SIPUSH = 17;
|
45 |
|
|
static const jchar ILOAD = 21;
|
46 |
|
|
static const jchar ILOAD_0 = 26;
|
47 |
|
|
static const jchar ALOAD_0 = 42;
|
48 |
|
|
static const jchar ALOAD_1 = 43;
|
49 |
|
|
static const jchar AALOAD = 50;
|
50 |
|
|
static const jchar AASTORE = 83;
|
51 |
|
|
static const jchar DUP = 89;
|
52 |
|
|
static const jchar DUP_X1 = 90;
|
53 |
|
|
static const jchar SWAP = 95;
|
54 |
|
|
static const jchar IRETURN = 172;
|
55 |
|
|
static const jchar LRETURN = 173;
|
56 |
|
|
static const jchar FRETURN = 174;
|
57 |
|
|
static const jchar DRETURN = 175;
|
58 |
|
|
static const jchar ARETURN = 176;
|
59 |
|
|
static const jchar RETURN = 177;
|
60 |
|
|
static const jchar GETSTATIC = 178;
|
61 |
|
|
static const jchar GETFIELD = 180;
|
62 |
|
|
static const jchar INVOKEVIRTUAL = 182;
|
63 |
|
|
static const jchar INVOKESPECIAL = 183;
|
64 |
|
|
static const jchar INVOKEINTERFACE = 185;
|
65 |
|
|
static const jchar NEW = 187;
|
66 |
|
|
static const jchar ANEWARRAY = 189;
|
67 |
|
|
static const jchar ATHROW = 191;
|
68 |
|
|
static const jchar CHECKCAST = 192;
|
69 |
|
|
::java::lang::StringBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pool;
|
70 |
|
|
::java::lang::StringBuffer * stream;
|
71 |
|
|
::java::util::Map * poolEntries;
|
72 |
|
|
::java::lang::String * qualName;
|
73 |
|
|
JArray< ::java::lang::reflect::Method * > * methods;
|
74 |
|
|
public:
|
75 |
|
|
static ::java::lang::Class class$;
|
76 |
|
|
};
|
77 |
|
|
|
78 |
|
|
#endif // __java_lang_reflect_Proxy$ClassFactory__
|