/* 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_io_FilePermission
#include "jcgobchk.h"
#endif

JCGO_NOSEP_INLINE void CFASTCALL
java_io_FilePermission__void( java_io_FilePermission This )
{
}

JCGO_NOSEP_INLINE void CFASTCALL
java_io_FilePermission__checkPerms__( java_io_FilePermission This
 )
{
 {
  java_lang_String action;
  jint i;
  jint startI;
  jObject jcgo_rcvrL1;
  i= (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This, actionsString),
   JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__indexOf__I(
   (java_lang_String)jcgo_rcvrL1, (jchar)44/*','*/));
  startI= 0;
  while (i != (-(jint)1))
  {
   action= (java_lang_String__toLowerCase__(
    (java_lang_String__trim__(
    (java_lang_String__substring__II(
    JCGO_FIELD_NZACCESS(This, actionsString), startI, i))))));
   if ((java_lang_String__equals__Lo(
    action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string2_FlPrmssn))))
   {
    JCGO_FIELD_NZACCESS(This, readPerm)= (jboolean)jtrue;
   }
   else
   {
    if ((java_lang_String__equals__Lo(
     action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string3_FlPrmssn))))
    {
     JCGO_FIELD_NZACCESS(This, writePerm)= (jboolean)jtrue;
    }
    else
    {
     if ((java_lang_String__equals__Lo(
      action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string4_FlPrmssn))))
     {
      JCGO_FIELD_NZACCESS(This, executePerm)= (jboolean)jtrue;
     }
     else
     {
      if ((java_lang_String__equals__Lo(
       action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string5_FlPrmssn))))
      {
       JCGO_FIELD_NZACCESS(This, deletePerm)= (jboolean)jtrue;
      }
      else
      {
       JCGO_THROW_EXC((java_lang_IllegalArgumentException__new__Ls(
        java_lang_VMSystem__concat0X__LsLs(
        JCGO_STRREF_OF(jcgo_string6_FlPrmssn), action))));
      }
     }
    }
   }
   startI= i + (jint)1;
   i= (java_lang_String__indexOf__II(
    JCGO_FIELD_NZACCESS(This, actionsString), (jchar)44/*','*/, startI));
  }
  action= (java_lang_String__toLowerCase__(
   (java_lang_String__trim__(
   (java_lang_String__substring__I(
   JCGO_FIELD_NZACCESS(This, actionsString), startI))))));
  if ((java_lang_String__equals__Lo(
   action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string2_FlPrmssn))))
  {
   JCGO_FIELD_NZACCESS(This, readPerm)= (jboolean)jtrue;
  }
  else
  {
   if ((java_lang_String__equals__Lo(
    action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string3_FlPrmssn))))
   {
    JCGO_FIELD_NZACCESS(This, writePerm)= (jboolean)jtrue;
   }
   else
   {
    if ((java_lang_String__equals__Lo(
     action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string4_FlPrmssn))))
    {
     JCGO_FIELD_NZACCESS(This, executePerm)= (jboolean)jtrue;
    }
    else
    {
     if ((java_lang_String__equals__Lo(
      action, (java_lang_Object)JCGO_STRREF_OF(jcgo_string5_FlPrmssn))))
     {
      JCGO_FIELD_NZACCESS(This, deletePerm)= (jboolean)jtrue;
     }
     else
     {
      JCGO_THROW_EXC((java_lang_IllegalArgumentException__new__Ls(
       java_lang_VMSystem__concat0X__LsLs(
       JCGO_STRREF_OF(jcgo_string6_FlPrmssn), action))));
     }
    }
   }
  }
 }
}

JCGO_NOSEP_INLINE java_io_FilePermission CFASTCALL
java_io_FilePermission__this__LsLs( java_io_FilePermission This, java_lang_String
 pathExpression, java_lang_String actionsString )
{
 {
  (java_security_Permission__this__Ls((java_security_Permission)This,
   pathExpression));
  if (pathExpression == jnull)
  {
   JCGO_THROW_EXC((java_lang_NullPointerException__new__Ls(
    JCGO_STRREF_OF(jcgo_string7_FlPrmssn))));
  }
  if (actionsString == jnull)
  {
   JCGO_THROW_EXC((java_lang_IllegalArgumentException__new__Ls(
    JCGO_STRREF_OF(jcgo_string8_FlPrmssn))));
  }
  JCGO_FIELD_NZACCESS(This, actionsString)= actionsString;
  (java_io_FilePermission__checkPerms__(
   This));
 }
 return This;
}

JCGO_NOSEP_INLINE java_io_FilePermission CFASTCALL
java_io_FilePermission__new__LsLs( java_lang_String pathExpression,
 java_lang_String actionsString )
{
 return java_io_FilePermission__this__LsLs(
  (java_io_FilePermission)jcgo_newObject((jvtable)&java_io_FilePermission_methods),
  pathExpression, actionsString);
}

JCGO_NOSEP_INLINE java_lang_String CFASTCALL
java_io_FilePermission__getActions__( java_io_FilePermission This
 )
{
 {
  return JCGO_FIELD_NZACCESS(This, actionsString);
 }
}

JCGO_NOSEP_INLINE jint CFASTCALL
java_io_FilePermission__hashCode__( java_io_FilePermission This )
{
 {
  jObject jcgo_rcvrL1;
  jint jcgo_rcvrI1;
  return (jcgo_rcvrI1= (jcgo_rcvrL1= (jObject)(java_security_Permission__getName__(
   (java_security_Permission)This)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1)
   java_lang_String__hashCode__(
   (java_lang_String)jcgo_rcvrL1)), jcgo_rcvrI1 ^ (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
   actionsString), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1)
   java_lang_String__hashCode__(
   (java_lang_String)jcgo_rcvrL1)));
 }
}

JCGO_NOSEP_STATIC jboolean CFASTCALL
java_io_FilePermission__equals__Lo( java_io_FilePermission This, java_lang_Object
 o )
{
 {
  java_io_FilePermission p;
  java_lang_String f1;
  java_lang_String f2;
  jchar jcgo_rcvrC1;
  if (!jcgo_instanceOf0(OBJT_java_io_FilePermission, MAXT_java_io_FilePermission,
   (jObject)o))
  {
   return (jboolean)jfalse;
  }
  p= (java_io_FilePermission)o;
  f1= (java_security_Permission__getName__(
   (java_security_Permission)This));
  f2= (java_security_Permission__getName__(
   (java_security_Permission)p));
  if ((JCGO_CALL_FINALF(f1) java_lang_String__length__(
   f1)) > 0 && (jcgo_rcvrC1= (java_lang_String__charAt__I(
   f1, (java_lang_String__length__(
   f1)) - (jint)1)), jcgo_rcvrC1 == JCGO_CLINIT_VARACC(java_io_File__class,
   java_io_File__separatorChar)))
  {
   jchar jcgo_rcvrC1;
   if ((JCGO_CALL_FINALF(f2) java_lang_String__length__(
    f2)) > 0 && (jcgo_rcvrC1= (java_lang_String__charAt__I(
    f2, (java_lang_String__length__(
    f2)) - (jint)1)), jcgo_rcvrC1 == JCGO_CLINIT_VARACC(java_io_File__class,
    java_io_File__separatorChar)))
   {
    if (!(java_lang_String__equals__Lo(
     f2, (java_lang_Object)f1)))
    {
     return (jboolean)jfalse;
    }
   }
   else
   {
    if (!(java_lang_String__equals__Lo(
     f2, (java_lang_Object)(java_lang_String__substring__II(
     f1, 0, (java_lang_String__length__(
     f1)) - (jint)1)))))
    {
     return (jboolean)jfalse;
    }
   }
  }
  else
  {
   jchar jcgo_rcvrC1;
   if ((JCGO_CALL_FINALF(f2) java_lang_String__length__(
    f2)) > 0 && (jcgo_rcvrC1= (java_lang_String__charAt__I(
    f2, (java_lang_String__length__(
    f2)) - (jint)1)), jcgo_rcvrC1 == JCGO_CLINIT_VARACC(java_io_File__class,
    java_io_File__separatorChar)))
   {
    if (!(java_lang_String__equals__Lo(
     f1, (java_lang_Object)(java_lang_String__substring__II(
     f2, 0, (java_lang_String__length__(
     f2)) - (jint)1)))))
    {
     return (jboolean)jfalse;
    }
   }
   else
   {
    if (!(java_lang_String__equals__Lo(
     f1, (java_lang_Object)f2)))
    {
     return (jboolean)jfalse;
    }
   }
  }
  return (jboolean)(JCGO_FIELD_NZACCESS(This, readPerm) == JCGO_FIELD_NZACCESS(p,
   readPerm) && JCGO_FIELD_NZACCESS(This, writePerm) == JCGO_FIELD_NZACCESS(p,
   writePerm) && JCGO_FIELD_NZACCESS(This, executePerm) == JCGO_FIELD_NZACCESS(p,
   executePerm) && JCGO_FIELD_NZACCESS(This, deletePerm) == JCGO_FIELD_NZACCESS(p,
   deletePerm));
 }
}

JCGO_NOSEP_DATA CONST struct java_io_FilePermission_methods_s java_io_FilePermission_methods=
{
 JCGO_CLASSREF_OF(java_io_FilePermission__class),
 JCGO_GCJDESCR_INIT(java_io_FilePermission_s, actionsString)
 OBJT_java_io_FilePermission,
 (JCGO_OBJSIZE_T)sizeof(struct java_io_FilePermission_s),
 NULL,
 JCGO_CLINIT_INIT(0)
 0,
 java_io_FilePermission__equals__Lo,
 java_io_FilePermission__hashCode__,
 java_security_Permission__toString__,
 java_lang_Object__finalize__,
 java_io_FilePermission__getActions__
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_io_FilePermission_class_s
 java_io_FilePermission__class JCGO_THRD_ATTRNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_io_FilePermission_methods),
  JCGO_STRREF_OF(jcgo_string1_FlPrmssn),
  JCGO_CLASSREF_OF(java_security_Permission__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0x11
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype44_GameShll jcgo_array9_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 22,
 {
  (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
   (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)105/*'i'*/,
   (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)70/*'F'*/,
   (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)80/*'P'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/,
   (jbyte)(jchar)109/*'m'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)115/*'s'*/,
   (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)111/*'o'*/,
   (jbyte)(jchar)110/*'n'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype31_GameShll jcgo_array10_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 8,
 {
  (jbyte)(jchar)84/*'T'*/, (jbyte)(jchar)119/*'w'*/, (jbyte)(jchar)114/*'r'*/,
   (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)58/*':'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype24_Object jcgo_array11_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 7,
 {
  (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)120/*'x'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)117/*'u'*/, (jbyte)(jchar)116/*'t'*/,
   (jbyte)(jchar)101/*'e'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype2_BZLib jcgo_array12_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 6,
 {
  (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)108/*'l'*/,
   (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype22_Object jcgo_array13_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 16,
 {
  (jbyte)(jchar)85/*'U'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)107/*'k'*/,
   (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)119/*'w'*/,
   (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)97/*'a'*/,
   (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/,
   (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)58/*':'*/,
   (jbyte)(jchar)32/*' '*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype63_GmCnnctn jcgo_array14_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 14,
 {
  (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)116/*'t'*/,
   (jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)69/*'E'*/, (jbyte)(jchar)120/*'x'*/,
   (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)105/*'i'*/,
   (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype30_GameShll jcgo_array15_FlPrmssn=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 13,
 {
  (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/,
   (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/,
   (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)83/*'S'*/, (jbyte)(jchar)116/*'t'*/,
   (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)110/*'n'*/,
   (jbyte)(jchar)103/*'g'*/
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array9_FlPrmssn),
 0, 22, (jint)0x7291d987L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array12_State),
 18, 4, (jint)0x355996L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string3_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array10_FlPrmssn),
 1, 5, (jint)0x6c257dfL
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string4_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array11_FlPrmssn),
 0, 7, (jint)0xb158f775L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string5_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array12_FlPrmssn),
 0, 6, (jint)0xb06685abL
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string6_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array13_FlPrmssn),
 0, 16, (jint)0xf717b12L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string7_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array14_FlPrmssn),
 0, 14, (jint)0x35e2a89dL
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string8_FlPrmssn
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array15_FlPrmssn),
 0, 13, (jint)0x472d236eL
};

#ifdef CHKALL_java_io_FilePermission
#include "jcgochke.h"
#endif

#endif
