mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
167 lines
4.8 KiB
C
167 lines
4.8 KiB
C
|
/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */
|
||
|
|
||
|
#ifdef JCGO_SEPARATED
|
||
|
#define JCGO_116
|
||
|
#include "jcgortl.h"
|
||
|
#include "Main.h"
|
||
|
#endif
|
||
|
|
||
|
#ifdef JCGO_116
|
||
|
|
||
|
#ifdef CHKALL_java_lang_reflect_AccessibleObject
|
||
|
#include "jcgobchk.h"
|
||
|
#endif
|
||
|
|
||
|
JCGO_NOSEP_INLINE void CFASTCALL
|
||
|
java_lang_reflect_AccessibleObject__void( java_lang_reflect_AccessibleObject
|
||
|
This )
|
||
|
{
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE void CFASTCALL
|
||
|
java_lang_reflect_AccessibleObject__checkPermission__( void )
|
||
|
{
|
||
|
{
|
||
|
java_lang_SecurityManager sm;
|
||
|
sm= (java_lang_System__getSecurityManager__());
|
||
|
if (sm != jnull)
|
||
|
{
|
||
|
struct java_lang_reflect_ReflectPermission_s jcgo_stackobj1;
|
||
|
(java_lang_SecurityManager__checkPermission__L37xkq(
|
||
|
sm, (java_security_Permission)(java_lang_reflect_ReflectPermission__this__Ls(
|
||
|
JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_reflect_ReflectPermission_methods),
|
||
|
JCGO_STRREF_OF(jcgo_string2_AccssbOb)))));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE void CFASTCALL
|
||
|
java_lang_reflect_AccessibleObject__secureSetAccessible__Z( java_lang_reflect_AccessibleObject
|
||
|
This, jboolean flag )
|
||
|
{
|
||
|
{
|
||
|
if (flag && ((JCGO_METHODS_OF(This)->jcgo_typeid== OBJT_java_lang_reflect_Constructor) &&
|
||
|
(java_lang_reflect_Constructor__getDeclaringClass__(
|
||
|
((java_lang_reflect_Constructor)This))) == JCGO_CLASSREF_OF(java_lang_Class__class)))
|
||
|
{
|
||
|
JCGO_THROW_EXC((java_lang_SecurityException__new__Ls(
|
||
|
JCGO_STRREF_OF(jcgo_string3_AccssbOb))));
|
||
|
}
|
||
|
JCGO_FIELD_NZACCESS(This, flag)= (jboolean)flag;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_STATIC java_lang_reflect_AccessibleObject CFASTCALL
|
||
|
java_lang_reflect_AccessibleObject__this__( java_lang_reflect_AccessibleObject
|
||
|
This )
|
||
|
{
|
||
|
{
|
||
|
;
|
||
|
}
|
||
|
return This;
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE jboolean CFASTCALL
|
||
|
java_lang_reflect_AccessibleObject__isAccessible__( java_lang_reflect_AccessibleObject
|
||
|
This )
|
||
|
{
|
||
|
{
|
||
|
return (jboolean)JCGO_FIELD_NZACCESS(This, flag);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_INLINE void CFASTCALL
|
||
|
java_lang_reflect_AccessibleObject__setAccessible__Z( java_lang_reflect_AccessibleObject
|
||
|
This, jboolean flag )
|
||
|
{
|
||
|
{
|
||
|
(java_lang_reflect_AccessibleObject__checkPermission__());
|
||
|
(java_lang_reflect_AccessibleObject__secureSetAccessible__Z(
|
||
|
This, (jboolean)flag));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_DATA CONST struct java_lang_reflect_AccessibleObject_methods_s
|
||
|
java_lang_reflect_AccessibleObject_methods=
|
||
|
{
|
||
|
JCGO_CLASSREF_OF(java_lang_reflect_AccessibleObject__class),
|
||
|
JCGO_GCJDESCR_ZEROINIT
|
||
|
OBJT_java_lang_reflect_AccessibleObject,
|
||
|
-(JCGO_OBJSIZE_T)sizeof(struct java_lang_reflect_AccessibleObject_s),
|
||
|
NULL,
|
||
|
JCGO_CLINIT_INIT(0)
|
||
|
java_lang_reflect_AccessibleObject__this__,
|
||
|
java_lang_Object__equals__Lo,
|
||
|
java_lang_Object__hashCode__,
|
||
|
java_lang_Object__toString__,
|
||
|
java_lang_Object__finalize__
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_reflect_AccessibleObject_class_s
|
||
|
java_lang_reflect_AccessibleObject__class JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
{
|
||
|
&java_lang_Class_methods,
|
||
|
JCGO_MON_INIT
|
||
|
JCGO_OBJREF_OF(*(java_lang_Object)&java_lang_reflect_AccessibleObject_methods),
|
||
|
JCGO_STRREF_OF(jcgo_string1_AccssbOb),
|
||
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
||
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
|
||
|
0x1
|
||
|
}
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA CONST jcgo_arrtype87_GmCnnctn jcgo_array4_AccssbOb=
|
||
|
{
|
||
|
(jvtable)&jbyteArr_methods,
|
||
|
JCGO_MON_INIT
|
||
|
34,
|
||
|
{
|
||
|
(jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
|
||
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)108/*'l'*/,
|
||
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)103/*'g'*/,
|
||
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)101/*'e'*/,
|
||
|
(jbyte)(jchar)102/*'f'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/,
|
||
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/,
|
||
|
(jbyte)(jchar)65/*'A'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)99/*'c'*/,
|
||
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/,
|
||
|
(jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)98/*'b'*/, (jbyte)(jchar)108/*'l'*/,
|
||
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)79/*'O'*/, (jbyte)(jchar)98/*'b'*/,
|
||
|
(jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)99/*'c'*/,
|
||
|
(jbyte)(jchar)116/*'t'*/
|
||
|
}
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_AccssbOb
|
||
|
JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
&java_lang_String_methods,
|
||
|
JCGO_MON_INIT
|
||
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array4_AccssbOb),
|
||
|
0, 34, (jint)0x831952faL
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_AccssbOb
|
||
|
JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
&java_lang_String_methods,
|
||
|
JCGO_MON_INIT
|
||
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array480_VMSstmPr),
|
||
|
0, 20, (jint)0x3e7d5644L
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string3_AccssbOb
|
||
|
JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
&java_lang_String_methods,
|
||
|
JCGO_MON_INIT
|
||
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array7_Class),
|
||
|
0, 52, (jint)0xb7d30ecL
|
||
|
};
|
||
|
|
||
|
#ifdef CHKALL_java_lang_reflect_AccessibleObject
|
||
|
#include "jcgochke.h"
|
||
|
#endif
|
||
|
|
||
|
#endif
|