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

JCGO_NOSEP_INLINE java_net_Inet4Address CFASTCALL
java_net_Inet4Address__this__BALs( java_net_Inet4Address This, jbyteArr
 addr, java_lang_String host )
{
 {
  (java_net_InetAddress__this__BALsI((java_net_InetAddress)This, addr,
   host, java_net_Inet4Address__AF_INET0));
 }
 return This;
}

JCGO_NOSEP_FRWINL java_net_Inet4Address CFASTCALL
java_net_Inet4Address__new__BALs( jbyteArr addr, java_lang_String
 host )
{
 JCGO_CLINIT_TRIG(java_net_Inet4Address__class);
 return java_net_Inet4Address__this__BALs(
  (java_net_Inet4Address)jcgo_newObject((jvtable)&java_net_Inet4Address_methods),
  addr, host);
}

JCGO_NOSEP_INLINE jbyteArr CFASTCALL
java_net_Inet4Address__getAddress__( java_net_Inet4Address This )
{
 {
  jObject jcgo_rcvrL1;
  return (jbyteArr)JCGO_CAST_OBJECT0(OBJT_jbyte+OBJT_jarray, MAXT_jbyte+OBJT_jarray,
   (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This, addr), JCGO_CALL_FINALF((jbyteArr)jcgo_rcvrL1)
   java_lang_Object__clone__(
   (java_lang_Object)jcgo_rcvrL1)));
 }
}

JCGO_NOSEP_STATIC java_lang_String CFASTCALL
java_net_Inet4Address__getHostAddress__( java_net_Inet4Address This
 )
{
 {
  java_lang_StringBuffer sb;
  jint len;
  jint i;
  struct java_lang_StringBuffer_s jcgo_stackobj1;
  sb= (java_lang_StringBuffer__this__I(
   JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuffer_methods),
   (jint)40));
  len= JCGO_ARRAY_LENGTH(JCGO_FIELD_NZACCESS(This, addr));
  i= 0;
  for (;;)
  {
   (java_lang_StringBuffer__append__I(
    sb, (jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
    addr), i)))));
   i++;
   if (i == len)
   {
    break;
   }
   (java_lang_StringBuffer__append__C(
    sb, (jchar)46/*'.'*/));
  }
  return (java_lang_StringBuffer__toString__(
   sb));
 }
}

JCGO_NOSEP_STATIC jint CFASTCALL
java_net_Inet4Address__hashCode__( java_net_Inet4Address This )
{
 {
  jint hash;
  jint len;
  jint i;
  hash= 0;
  len= JCGO_ARRAY_LENGTH(JCGO_FIELD_NZACCESS(This, addr));
  i= len > (jint)4? len - (jint)4 : 0;
  for (; i < len; i++)
  {
   hash= JCGO_SHL_F(hash, (jint)8) | ((jint)((unsigned char)(JCGO_ARRAY_BACCESS(JCGO_FIELD_NZACCESS(This,
    addr), i))));
  }
  return hash;
 }
}

JCGO_NOSEP_STATIC jboolean CFASTCALL
java_net_Inet4Address__equals__Lo( java_net_Inet4Address This, java_lang_Object
 obj )
{
 {
  jbyteArr addr1;
  jbyteArr addr2;
  jint jcgo_rcvrI1;
  if (!jcgo_instanceOf0(OBJT_java_net_InetAddress, MAXT_java_net_InetAddress,
   (jObject)obj))
  {
   return (jboolean)jfalse;
  }
  addr1= JCGO_FIELD_NZACCESS(This, addr);
  addr2= JCGO_FIELD_NZACCESS(((java_net_InetAddress)obj), addr);
  if ((jcgo_rcvrI1= JCGO_ARRAY_LENGTH(addr1), jcgo_rcvrI1 != JCGO_ARRAY_LENGTH(addr2)))
  {
   return (jboolean)jfalse;
  }
  {
   jint i;
   i= JCGO_ARRAY_NZLENGTH(addr1);
   for (; --i >= 0;)
   {
    jbyte jcgo_rcvrB1;
    if ((jcgo_rcvrB1= JCGO_ARRAY_NZBACCESS(addr1, i), jcgo_rcvrB1 !=
     JCGO_ARRAY_NZBACCESS(addr2, i)))
    {
     return (jboolean)jfalse;
    }
   }
  }
  return (jboolean)jtrue;
 }
}

JCGO_NOSEP_STATIC void CFASTCALL
java_net_Inet4Address__class__0( void )
{
 JCGO_CLINIT_BEGIN(java_net_Inet4Address__class);
 JCGO_CLINIT_TRIG(java_net_InetAddress__class);
 JCGO_CLINIT_DONE(java_net_Inet4Address__class);
}

JCGO_NOSEP_DATA CONST struct java_net_Inet4Address_methods_s java_net_Inet4Address_methods=
{
 JCGO_CLASSREF_OF(java_net_Inet4Address__class),
 JCGO_GCJDESCR_ZEROINIT
 OBJT_java_net_Inet4Address,
 (JCGO_OBJSIZE_T)sizeof(struct java_net_Inet4Address_s),
 NULL,
 JCGO_CLINIT_INIT(java_net_Inet4Address__class__0)
 0,
 java_net_Inet4Address__equals__Lo,
 java_net_Inet4Address__hashCode__,
 java_net_InetAddress__toString__,
 java_lang_Object__finalize__,
 java_net_Inet4Address__getAddress__,
 java_net_Inet4Address__getHostAddress__
};

JCGO_NOSEP_DATA struct java_net_Inet4Address_class_s java_net_Inet4Address__class
 ATTRIBNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_net_Inet4Address_methods),
  JCGO_STRREF_OF(jcgo_string1_Int4Addr),
  JCGO_CLASSREF_OF(java_net_InetAddress__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0xd1
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype80_GmCnnctn jcgo_array2_Int4Addr=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 21,
 {
  (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
   (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)110/*'n'*/,
   (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/,
   (jbyte)(jchar)73/*'I'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)52/*'4'*/, (jbyte)(jchar)65/*'A'*/,
   (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)114/*'r'*/,
   (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_Int4Addr
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_Int4Addr),
 0, 21, (jint)0x4abc80d1L
};

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

#endif
