blob: 34514534b8d9b28816dba0552b0aa1daa16f2089 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_io_ObjectStreamClass__
#define __java_io_ObjectStreamClass__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace io
{
class NullOutputStream;
}
}
}
}
class java::io::ObjectStreamClass : public ::java::lang::Object
{
public:
static ::java::io::ObjectStreamClass * lookup(::java::lang::Class *);
public: // actually package-private
static ::java::io::ObjectStreamClass * lookupForClassObject(::java::lang::Class *);
public:
virtual ::java::lang::String * getName();
virtual ::java::lang::Class * forClass();
virtual jlong getSerialVersionUID();
virtual JArray< ::java::io::ObjectStreamField * > * getFields();
virtual ::java::io::ObjectStreamField * getField(::java::lang::String *);
virtual ::java::lang::String * toString();
public: // actually package-private
virtual jboolean hasWriteMethod();
virtual jboolean isSerializable();
virtual jboolean isExternalizable();
virtual jboolean isEnum();
virtual ::java::io::ObjectStreamClass * getSuper();
virtual JArray< ::java::io::ObjectStreamClass * > * hierarchy();
virtual jint getFlags();
ObjectStreamClass(::java::lang::String *, jlong, jbyte, JArray< ::java::io::ObjectStreamField * > *);
virtual void setClass(::java::lang::Class *, ::java::io::ObjectStreamClass *);
virtual void setSuperclass(::java::io::ObjectStreamClass *);
virtual void calculateOffsets();
private:
::java::lang::reflect::Method * findMethod(JArray< ::java::lang::reflect::Method * > *, ::java::lang::String *, JArray< ::java::lang::Class * > *, ::java::lang::Class *, jboolean);
static jboolean inSamePackage(::java::lang::Class *, ::java::lang::Class *);
static ::java::lang::reflect::Method * findAccessibleMethod(::java::lang::String *, ::java::lang::Class *);
static jboolean loadedByBootOrApplicationClassLoader(::java::lang::Class *);
void cacheMethods();
ObjectStreamClass(::java::lang::Class *);
void setFlags(::java::lang::Class *);
public: // actually package-private
virtual void ensureFieldsSet(::java::lang::Class *);
private:
void setFields(::java::lang::Class *);
jlong getClassUID(::java::lang::Class *);
public: // actually package-private
virtual jlong getClassUIDFromField(::java::lang::Class *);
virtual jlong calculateClassUID(::java::lang::Class *);
private:
JArray< ::java::io::ObjectStreamField * > * getSerialPersistentFields(::java::lang::Class *);
public: // actually package-private
virtual ::java::io::Externalizable * newInstance();
static JArray< ::java::io::ObjectStreamField * > * INVALID_FIELDS;
private:
JArray< ::java::io::ObjectStreamClass * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hierarchy__;
public: // actually package-private
static JArray< ::java::lang::Class * > * noArgs;
static ::java::util::Hashtable * methodCache;
static JArray< ::java::lang::Class * > * readObjectSignature;
static JArray< ::java::lang::Class * > * writeObjectSignature;
static ::java::util::Hashtable * uidCache;
public:
static JArray< ::java::io::ObjectStreamField * > * NO_FIELDS;
private:
static ::java::util::Hashtable * classLookupTable;
static ::gnu::java::io::NullOutputStream * nullOutputStream;
static ::java::util::Comparator * interfaceComparator;
static ::java::util::Comparator * memberComparator;
static JArray< ::java::lang::Class * > * writeMethodArgTypes;
::java::io::ObjectStreamClass * superClass;
::java::lang::Class * clazz;
::java::lang::String * name;
jlong uid;
jbyte flags;
public: // actually package-private
JArray< ::java::io::ObjectStreamField * > * fields;
jint primFieldSize;
jint objectFieldCount;
::java::lang::reflect::Method * readObjectMethod;
::java::lang::reflect::Method * readResolveMethod;
::java::lang::reflect::Method * writeReplaceMethod;
::java::lang::reflect::Method * writeObjectMethod;
jboolean realClassIsSerializable;
jboolean realClassIsExternalizable;
JArray< ::java::io::ObjectStreamField * > * fieldMapping;
::java::lang::reflect::Constructor * firstNonSerializableParentConstructor;
private:
::java::lang::reflect::Constructor * constructor;
public: // actually package-private
jboolean isProxyClass;
private:
jboolean fieldsSet;
static const jlong serialVersionUID = -6120832682080437368LL;
public:
static ::java::lang::Class class$;
};
#endif // __java_io_ObjectStreamClass__
|