History

Added two more stub modules

Dmitry Kabak (userdima committed 13 years ago

Commit b2de7291 parent 267b7a04 files · +226 −0Browse files

Showing the changes to java/pkg/sun (2 of 4 files). Show all

Unified · Split

2 files
  1. java/pkg/sun/reflect/ConstantPool_L.b +109 −0
  2. java/pkg/sun/reflect/ConstantPool_L.m +27 −0
java/pkg/sun/reflect/ConstantPool_L.b+109−0
@@ -0,0 +1,109 @@
1+implement ConstantPool_L;
2+
3+include "jni.m";
4+ jni : JNI;
5+ ClassModule,
6+ JString,
7+ JArray,
8+ JArrayI,
9+ JArrayC,
10+ JArrayB,
11+ JArrayS,
12+ JArrayJ,
13+ JArrayF,
14+ JArrayD,
15+ JArrayZ,
16+ JArrayJObject,
17+ JArrayJClass,
18+ JArrayJString,
19+ JClass,
20+ JObject : import jni;
21+
22+#>> extra pre includes here
23+
24+#<<
25+
26+include "ConstantPool_L.m";
27+
28+#>> extra post includes here
29+
30+#<<
31+
32+init( jni_p : JNI )
33+{
34+ # save java native inteface mod instance
35+ jni = jni_p;
36+ #>>extra initialization here
37+ #<<
38+}
39+
40+getSize0_rObject_I( this : ref ConstantPool_obj, p0 : JObject) : int
41+{#>>
42+ return 0;
43+}#<<
44+
45+getClassAt0_rObject_I_rClass( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JClass
46+{#>>
47+ return nil;
48+}#<<
49+
50+getClassAtIfLoaded0_rObject_I_rClass( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JClass
51+{#>>
52+ return nil;
53+}#<<
54+
55+getMethodAt0_rObject_I_rMember( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject
56+{#>>
57+ return nil;
58+}#<<
59+
60+getMethodAtIfLoaded0_rObject_I_rMember( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject
61+{#>>
62+ return nil;
63+}#<<
64+
65+getFieldAt0_rObject_I_rField( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject
66+{#>>
67+ return nil;
68+}#<<
69+
70+getFieldAtIfLoaded0_rObject_I_rField( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject
71+{#>>
72+ return nil;
73+}#<<
74+
75+getMemberRefInfoAt0_rObject_I_aString( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JArrayJString
76+{#>>
77+ return nil;
78+}#<<
79+
80+getIntAt0_rObject_I_I( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : int
81+{#>>
82+ return 0;
83+}#<<
84+
85+getLongAt0_rObject_I_J( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : big
86+{#>>
87+ return big 0;
88+}#<<
89+
90+getFloatAt0_rObject_I_F( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : real
91+{#>>
92+ return 0.0;
93+}#<<
94+
95+getDoubleAt0_rObject_I_D( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : real
96+{#>>
97+ return 0.0;
98+}#<<
99+
100+getStringAt0_rObject_I_rString( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JString
101+{#>>
102+ return nil;
103+}#<<
104+
105+getUTF8At0_rObject_I_rString( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JString
106+{#>>
107+ return nil;
108+}#<<
109+
java/pkg/sun/reflect/ConstantPool_L.m+27−0
@@ -0,0 +1,27 @@
1+# generated file edit with care
2+
3+ConstantPool_L : module
4+{
5+ ConstantPool_obj : adt
6+ {
7+ cl_mod : ClassModule;
8+ constantPoolOop : JObject;
9+ };
10+
11+ init : fn( jni_p : JNI );
12+ getSize0_rObject_I : fn( this : ref ConstantPool_obj, p0 : JObject) : int;
13+ getClassAt0_rObject_I_rClass : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JClass;
14+ getClassAtIfLoaded0_rObject_I_rClass : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JClass;
15+ getMethodAt0_rObject_I_rMember : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject;
16+ getMethodAtIfLoaded0_rObject_I_rMember : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject;
17+ getFieldAt0_rObject_I_rField : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject;
18+ getFieldAtIfLoaded0_rObject_I_rField : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JObject;
19+ getMemberRefInfoAt0_rObject_I_aString : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JArrayJString;
20+ getIntAt0_rObject_I_I : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : int;
21+ getLongAt0_rObject_I_J : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : big;
22+ getFloatAt0_rObject_I_F : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : real;
23+ getDoubleAt0_rObject_I_D : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : real;
24+ getStringAt0_rObject_I_rString : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JString;
25+ getUTF8At0_rObject_I_rString : fn( this : ref ConstantPool_obj, p0 : JObject,p1 : int) : JString;
26+
27+};