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

JCGO_NOSEP_STATIC java_net_InetSocketAddress CFASTCALL
java_net_InetSocketAddress__this__L7lnuwI( java_net_InetSocketAddress
 This, java_net_InetAddress addr, jint port )
{
 {
  (java_net_SocketAddress__this__((java_net_SocketAddress)This));
  if (port < 0 || port > (jint)65535L)
  {
   JCGO_THROW_EXC((java_lang_IllegalArgumentException__new__Ls(
    java_lang_VMSystem__concat0X__LsLs(
    JCGO_STRREF_OF(jcgo_string2_IntSckAd), (java_lang_String__valueOf__I(
    port))))));
  }
  if (addr == jnull)
  {
   addr= JCGO_CLINIT_VARACC(java_net_InetAddress__class, java_net_InetAddress__ANY_IF);
  }
  JCGO_FIELD_NZACCESS(This, addr)= addr;
  JCGO_FIELD_NZACCESS(This, port)= port;
 }
 return This;
}

JCGO_NOSEP_FRWINL java_net_InetSocketAddress CFASTCALL
java_net_InetSocketAddress__new__L7lnuwI( java_net_InetAddress addr,
 jint port )
{
 return java_net_InetSocketAddress__this__L7lnuwI(
  (java_net_InetSocketAddress)jcgo_newObject((jvtable)&java_net_InetSocketAddress_methods),
  addr, port);
}

JCGO_NOSEP_STATIC jboolean CFASTCALL
java_net_InetSocketAddress__equals__Lo( java_net_InetSocketAddress
 This, java_lang_Object obj )
{
 {
  if (jcgo_instanceOf0(OBJT_java_net_InetSocketAddress, MAXT_java_net_InetSocketAddress,
   (jObject)obj))
  {
   java_net_InetSocketAddress sa;
   sa= (java_net_InetSocketAddress)obj;
   if (JCGO_FIELD_NZACCESS(This, addr) == jnull && JCGO_FIELD_NZACCESS(sa,
    addr) != jnull)
   {
    return (jboolean)jfalse;
   }
   else
   {
    if (JCGO_FIELD_NZACCESS(This, addr) == jnull && JCGO_FIELD_NZACCESS(sa,
     addr) == jnull)
    {
     jObject jcgo_rcvrL1;
     return (jboolean)((jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
      hostname), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__equals__Lo(
      (java_lang_String)jcgo_rcvrL1, (java_lang_Object)JCGO_FIELD_NZACCESS(sa,
      hostname))) && JCGO_FIELD_NZACCESS(sa, port) == JCGO_FIELD_NZACCESS(This,
      port));
    }
    else
    {
     jObject jcgo_rcvrL1;
     return (jboolean)((jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
      addr), JCGO_CALL_VFUNC((java_net_InetAddress)jcgo_rcvrL1)->equals__Lo(
      (java_net_InetAddress)jcgo_rcvrL1, (java_lang_Object)JCGO_FIELD_NZACCESS(sa,
      addr))) && JCGO_FIELD_NZACCESS(sa, port) == JCGO_FIELD_NZACCESS(This,
      port));
    }
   }
  }
  return (jboolean)jfalse;
 }
}

JCGO_NOSEP_FRWINL java_net_InetAddress CFASTCALL
java_net_InetSocketAddress__getAddress__( java_net_InetSocketAddress
 This )
{
 {
  return JCGO_FIELD_NZACCESS(This, addr);
 }
}

JCGO_NOSEP_FRWINL java_lang_String CFASTCALL
java_net_InetSocketAddress__getHostName__( java_net_InetSocketAddress
 This )
{
 {
  if (JCGO_FIELD_NZACCESS(This, hostname) == jnull)
  {
   jObject jcgo_rcvrL1;
   JCGO_FIELD_NZACCESS(This, hostname)= (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
    addr), JCGO_CALL_FINALF((java_net_InetAddress)jcgo_rcvrL1) java_net_InetAddress__getHostName__(
    (java_net_InetAddress)jcgo_rcvrL1));
  }
  return JCGO_FIELD_NZACCESS(This, hostname);
 }
}

JCGO_NOSEP_FRWINL jint CFASTCALL
java_net_InetSocketAddress__getPort__( java_net_InetSocketAddress
 This )
{
 {
  return JCGO_FIELD_NZACCESS(This, port);
 }
}

JCGO_NOSEP_INLINE jint CFASTCALL
java_net_InetSocketAddress__hashCode__( java_net_InetSocketAddress
 This )
{
 {
  jObject jcgo_rcvrL1;
  jint jcgo_rcvrI1;
  return (jcgo_rcvrI1= JCGO_FIELD_NZACCESS(This, port), jcgo_rcvrI1 +
   (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This, addr), JCGO_CALL_VFUNC((java_net_InetAddress)jcgo_rcvrL1)->hashCode__(
   (java_net_InetAddress)jcgo_rcvrL1)));
 }
}

JCGO_NOSEP_FRWINL jboolean CFASTCALL
java_net_InetSocketAddress__isUnresolved__( java_net_InetSocketAddress
 This )
{
 {
  return (jboolean)(JCGO_FIELD_NZACCESS(This, addr) == jnull);
 }
}

JCGO_NOSEP_STATIC java_lang_String CFASTCALL
java_net_InetSocketAddress__toString__( java_net_InetSocketAddress
 This )
{
 {
  jObject jcgo_rcvrL1;
  struct java_lang_String_s jcgo_stackobj1;
  struct java_lang_StringBuilder_s jcgo_stackobj2;
  struct java_lang_String_s jcgo_stackobj3;
  return (jcgo_rcvrL1= (jObject)java_lang_StringBuilder__append__Ls(
   java_lang_StringBuilder__append__Ls(
   java_lang_StringBuilder__this__(
   JCGO_STACKOBJ_NEW(jcgo_stackobj2, java_lang_StringBuilder_methods)),
   (JCGO_FIELD_NZACCESS(This, addr) == jnull? JCGO_FIELD_NZACCESS(This,
   hostname) : (jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This, addr),
   JCGO_CALL_FINALF((java_net_InetAddress)jcgo_rcvrL1) java_net_InetAddress__toString__X(
   (java_net_InetAddress)jcgo_rcvrL1, JCGO_STACKOBJ_NEW(jcgo_stackobj1,
   java_lang_String_methods))))), JCGO_STRREF_OF(jcgo_string441_Mdclnt)),
   java_lang_String__new__L5dy9e(
   java_lang_StringBuilder__append__Ls(
   (java_lang_StringBuilder)jcgo_rcvrL1, (java_lang_String__valueOf__IX(
   JCGO_FIELD_NZACCESS(This, port), JCGO_STACKOBJ_NEW(jcgo_stackobj3,
   java_lang_String_methods))))));
 }
}

JCGO_NOSEP_DATA CONST struct java_net_InetSocketAddress_methods_s
 java_net_InetSocketAddress_methods=
{
 JCGO_CLASSREF_OF(java_net_InetSocketAddress__class),
 JCGO_GCJDESCR_INIT(java_net_InetSocketAddress_s, addr)
 OBJT_java_net_InetSocketAddress,
 (JCGO_OBJSIZE_T)sizeof(struct java_net_InetSocketAddress_s),
 NULL,
 JCGO_CLINIT_INIT(0)
 0,
 java_net_InetSocketAddress__equals__Lo,
 java_net_InetSocketAddress__hashCode__,
 java_net_InetSocketAddress__toString__,
 java_lang_Object__finalize__
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_net_InetSocketAddress_class_s
 java_net_InetSocketAddress__class JCGO_THRD_ATTRNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_net_InetSocketAddress_methods),
  JCGO_STRREF_OF(jcgo_string1_IntSckAd),
  JCGO_CLASSREF_OF(java_net_SocketAddress__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0x1
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype27_Object jcgo_array3_IntSckAd=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 26,
 {
  (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)83/*'S'*/, (jbyte)(jchar)111/*'o'*/,
   (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)107/*'k'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)116/*'t'*/, (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 CONST jcgo_arrtype492_Mdclnt jcgo_array4_IntSckAd=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 17,
 {
  (jbyte)(jchar)66/*'B'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)100/*'d'*/,
   (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)111/*'o'*/,
   (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)32/*' '*/,
   (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)117/*'u'*/, (jbyte)(jchar)109/*'m'*/,
   (jbyte)(jchar)98/*'b'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/,
   (jbyte)(jchar)58/*':'*/, (jbyte)(jchar)32/*' '*/
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_IntSckAd
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array3_IntSckAd),
 0, 26, (jint)0x5e7d83d0L
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_IntSckAd
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array4_IntSckAd),
 0, 17, (jint)0x60147ff3L
};

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

#endif
