public final class org.wildfly.common.net.CidrAddress extends java.lang.Object implements java.io.Serializable, java.lang.Comparable
{
private static final long serialVersionUID;
public static final org.wildfly.common.net.CidrAddress INET4_ANY_CIDR;
public static final org.wildfly.common.net.CidrAddress INET6_ANY_CIDR;
private final java.net.InetAddress networkAddress;
private final byte[] cachedBytes;
private final int netmaskBits;
private java.net.Inet4Address broadcast;
private java.lang.String toString;
private int hashCode;
static final boolean $assertionsDisabled;
private void <init>(java.net.InetAddress, int)
{
java.net.InetAddress v;
byte[] v;
int v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.wildfly.common.net.CidrAddress: java.net.InetAddress networkAddress> = v;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes> = v;
v.<org.wildfly.common.net.CidrAddress: int netmaskBits> = v;
return;
}
public static org.wildfly.common.net.CidrAddress create(java.net.InetAddress, int)
{
byte[] v;
java.lang.IllegalStateException v, v;
java.net.InetAddress v, v;
int v, v, v;
java.lang.String v;
boolean v, v;
java.net.UnknownHostException v;
java.net.Inet6Address v;
org.wildfly.common.net.CidrAddress v, v, v, v;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("networkAddress", v);
staticinvoke <org.wildfly.common.Assert: void checkMinimumParameter(java.lang.String,int,int)>("netmaskBits", 0, v);
v = staticinvoke <org.wildfly.common.net.Inet: int getScopeId(java.net.InetAddress)>(v);
v = v instanceof java.net.Inet4Address;
if v == 0 goto label;
staticinvoke <org.wildfly.common.Assert: void checkMaximumParameter(java.lang.String,int,int)>("netmaskBits", 32, v);
if v != 0 goto label;
v = <org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress INET4_ANY_CIDR>;
return v;
label:
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
staticinvoke <org.wildfly.common.Assert: void checkMaximumParameter(java.lang.String,int,int)>("netmaskBits", 128, v);
if v != 0 goto label;
if v != 0 goto label;
v = <org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress INET6_ANY_CIDR>;
return v;
label:
v = staticinvoke <org.wildfly.common.Assert: java.lang.IllegalStateException unreachableCode()>();
throw v;
label:
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
staticinvoke <org.wildfly.common.net.CidrAddress: byte[] maskBits0(byte[],int)>(v, v);
v = staticinvoke <org.wildfly.common.net.Inet: java.lang.String toOptimalString(byte[])>(v);
label:
v = lengthof v;
if v != 4 goto label;
v = new org.wildfly.common.net.CidrAddress;
v = staticinvoke <java.net.InetAddress: java.net.InetAddress getByAddress(java.lang.String,byte[])>(v, v);
specialinvoke v.<org.wildfly.common.net.CidrAddress: void <init>(java.net.InetAddress,int)>(v, v);
label:
return v;
label:
v = new org.wildfly.common.net.CidrAddress;
v = staticinvoke <java.net.Inet6Address: java.net.Inet6Address getByAddress(java.lang.String,byte[],int)>(v, v, v);
specialinvoke v.<org.wildfly.common.net.CidrAddress: void <init>(java.net.InetAddress,int)>(v, v);
label:
return v;
label:
v := @caughtexception;
v = staticinvoke <org.wildfly.common.Assert: java.lang.IllegalStateException unreachableCode()>();
throw v;
catch java.net.UnknownHostException from label to label with label;
catch java.net.UnknownHostException from label to label with label;
}
public static org.wildfly.common.net.CidrAddress create(byte[], int)
{
int v;
byte[] v;
org.wildfly.common.net.CidrAddress v;
v := @parameter: byte[];
v := @parameter: int;
v = staticinvoke <org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress create(byte[],int,boolean)>(v, v, 1);
return v;
}
static org.wildfly.common.net.CidrAddress create(byte[], int, boolean)
{
byte[] v;
java.lang.IllegalStateException v;
java.lang.IllegalArgumentException v;
java.net.UnknownHostException v;
java.net.InetAddress v;
org.wildfly.common._private.CommonMessages v;
int v, v;
java.lang.Object v;
java.lang.String v;
org.wildfly.common.net.CidrAddress v, v, v;
boolean v;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: boolean;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("networkAddress", v);
staticinvoke <org.wildfly.common.Assert: void checkMinimumParameter(java.lang.String,int,int)>("netmaskBits", 0, v);
v = lengthof v;
if v != 4 goto label;
staticinvoke <org.wildfly.common.Assert: void checkMaximumParameter(java.lang.String,int,int)>("netmaskBits", 32, v);
if v != 0 goto label;
v = <org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress INET4_ANY_CIDR>;
return v;
label:
if v != 16 goto label;
staticinvoke <org.wildfly.common.Assert: void checkMaximumParameter(java.lang.String,int,int)>("netmaskBits", 128, v);
if v != 0 goto label;
v = <org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress INET6_ANY_CIDR>;
return v;
label:
v = <org.wildfly.common._private.CommonMessages: org.wildfly.common._private.CommonMessages msg>;
v = interfaceinvoke v.<org.wildfly.common._private.CommonMessages: java.lang.IllegalArgumentException invalidAddressBytes(int)>(v);
throw v;
label:
if v == 0 goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.Object clone()>();
goto label;
label:
v = v;
label:
staticinvoke <org.wildfly.common.net.CidrAddress: byte[] maskBits0(byte[],int)>(v, v);
v = staticinvoke <org.wildfly.common.net.Inet: java.lang.String toOptimalString(byte[])>(v);
label:
v = new org.wildfly.common.net.CidrAddress;
v = staticinvoke <java.net.InetAddress: java.net.InetAddress getByAddress(java.lang.String,byte[])>(v, v);
specialinvoke v.<org.wildfly.common.net.CidrAddress: void <init>(java.net.InetAddress,int)>(v, v);
label:
return v;
label:
v := @caughtexception;
v = staticinvoke <org.wildfly.common.Assert: java.lang.IllegalStateException unreachableCode()>();
throw v;
catch java.net.UnknownHostException from label to label with label;
}
public boolean matches(java.net.InetAddress)
{
java.net.InetAddress v;
java.lang.IllegalStateException v;
org.wildfly.common.net.CidrAddress v;
boolean v, v, v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: java.net.InetAddress;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("address", v);
v = v instanceof java.net.Inet4Address;
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: boolean matches(java.net.Inet4Address)>(v);
return v;
label:
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: boolean matches(java.net.Inet6Address)>(v);
return v;
label:
v = staticinvoke <org.wildfly.common.Assert: java.lang.IllegalStateException unreachableCode()>();
throw v;
}
public boolean matches(byte[])
{
byte[] v;
org.wildfly.common.net.CidrAddress v;
boolean v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: byte[];
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: boolean matches(byte[],int)>(v, 0);
return v;
}
public boolean matches(byte[], int)
{
byte[] v, v, v;
int v, v, v, v, v, v;
org.wildfly.common.net.CidrAddress v;
boolean v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: byte[];
v := @parameter: int;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("bytes", v);
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = lengthof v;
v = lengthof v;
if v != v goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
if v != v goto label;
label:
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = staticinvoke <org.wildfly.common.net.CidrAddress: boolean bitsMatch(byte[],byte[],int)>(v, v, v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean matches(java.net.Inet4Address)
{
byte[] v, v;
java.net.Inet4Address v;
java.net.InetAddress v;
int v;
org.wildfly.common.net.CidrAddress v;
boolean v, v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: java.net.Inet4Address;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("address", v);
v = v.<org.wildfly.common.net.CidrAddress: java.net.InetAddress networkAddress>;
v = v instanceof java.net.Inet4Address;
if v == 0 goto label;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = virtualinvoke v.<java.net.Inet4Address: byte[] getAddress()>();
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = staticinvoke <org.wildfly.common.net.CidrAddress: boolean bitsMatch(byte[],byte[],int)>(v, v, v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean matches(java.net.Inet6Address)
{
byte[] v, v;
java.net.InetAddress v;
java.net.Inet6Address v;
int v, v, v, v;
org.wildfly.common.net.CidrAddress v;
boolean v, v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: java.net.Inet6Address;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("address", v);
v = v.<org.wildfly.common.net.CidrAddress: java.net.InetAddress networkAddress>;
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = virtualinvoke v.<java.net.Inet6Address: byte[] getAddress()>();
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = staticinvoke <org.wildfly.common.net.CidrAddress: boolean bitsMatch(byte[],byte[],int)>(v, v, v);
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
v = virtualinvoke v.<java.net.Inet6Address: int getScopeId()>();
if v != v goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean matches(org.wildfly.common.net.CidrAddress)
{
byte[] v;
int v, v, v, v, v;
org.wildfly.common.net.CidrAddress v, v;
boolean v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: org.wildfly.common.net.CidrAddress;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("address", v);
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
if v > v goto label;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: boolean matches(byte[])>(v);
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
if v != v goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public java.net.InetAddress getNetworkAddress()
{
java.net.InetAddress v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = v.<org.wildfly.common.net.CidrAddress: java.net.InetAddress networkAddress>;
return v;
}
public java.net.Inet4Address getBroadcastAddress()
{
byte[] v, v;
java.lang.IllegalStateException v;
java.net.Inet4Address v, v;
java.net.UnknownHostException v;
java.net.InetAddress v;
int v, v;
java.lang.Object v;
java.lang.String v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = v.<org.wildfly.common.net.CidrAddress: java.net.Inet4Address broadcast>;
if v != null goto label;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
if v < 31 goto label;
return null;
label:
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = lengthof v;
if v != 4 goto label;
if v != 0 goto label;
v = <org.wildfly.common.net.Inet: java.net.Inet4Address INET4_BROADCAST>;
v.<org.wildfly.common.net.CidrAddress: java.net.Inet4Address broadcast> = v;
return v;
label:
v = virtualinvoke v.<java.lang.Object: java.lang.Object clone()>();
v = staticinvoke <org.wildfly.common.net.CidrAddress: byte[] maskBits1(byte[],int)>(v, v);
label:
v = staticinvoke <org.wildfly.common.net.Inet: java.lang.String toOptimalString(byte[])>(v);
v = staticinvoke <java.net.InetAddress: java.net.InetAddress getByAddress(java.lang.String,byte[])>(v, v);
v.<org.wildfly.common.net.CidrAddress: java.net.Inet4Address broadcast> = v;
label:
return v;
label:
v := @caughtexception;
v = staticinvoke <org.wildfly.common.Assert: java.lang.IllegalStateException unreachableCode()>();
throw v;
label:
return null;
label:
return v;
catch java.net.UnknownHostException from label to label with label;
}
public int getNetmaskBits()
{
int v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
return v;
}
public int getScopeId()
{
int v;
java.net.InetAddress v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: java.net.InetAddress getNetworkAddress()>();
v = staticinvoke <org.wildfly.common.net.Inet: int getScopeId(java.net.InetAddress)>(v);
return v;
}
public int compareTo(org.wildfly.common.net.CidrAddress)
{
byte[] v;
int v, v, v;
org.wildfly.common.net.CidrAddress v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: org.wildfly.common.net.CidrAddress;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("other", v);
if v != v goto label;
return 0;
label:
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int compareAddressBytesTo(byte[],int,int)>(v, v, v);
return v;
}
public int compareAddressBytesTo(byte[], int, int)
{
byte[] v, v;
byte v, v, v, v;
org.wildfly.common.net.CidrAddress v;
short v, v;
org.wildfly.common._private.CommonMessages v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("bytes", v);
v = lengthof v;
if v == 4 goto label;
if v == 16 goto label;
v = <org.wildfly.common._private.CommonMessages: org.wildfly.common._private.CommonMessages msg>;
v = interfaceinvoke v.<org.wildfly.common._private.CommonMessages: java.lang.IllegalArgumentException invalidAddressBytes(int)>(v);
throw v;
label:
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = lengthof v;
v = v - v;
v = staticinvoke <java.lang.Integer: int signum(int)>(v);
if v == 0 goto label;
return v;
label:
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
v = v - v;
v = staticinvoke <java.lang.Integer: int signum(int)>(v);
if v == 0 goto label;
return v;
label:
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = 0;
label:
if v < 8 goto label;
v = v[v];
v = v & 255;
v = v[v];
v = v & 255;
v = v - v;
v = staticinvoke <java.lang.Integer: int signum(int)>(v);
if v == 0 goto label;
return v;
label:
v = v + 1;
v = v - 8;
goto label;
label:
if v <= 0 goto label;
v = 1 << v;
v = v[v];
v = v & v;
v = v[v];
v = v & v;
v = v - v;
v = staticinvoke <java.lang.Integer: int signum(int)>(v);
if v == 0 goto label;
return v;
label:
v = v - 1;
goto label;
label:
v = v - v;
v = staticinvoke <java.lang.Integer: int signum(int)>(v);
return v;
}
public boolean equals(java.lang.Object)
{
java.lang.Object v;
org.wildfly.common.net.CidrAddress v;
boolean v, v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: java.lang.Object;
v = v instanceof org.wildfly.common.net.CidrAddress;
if v == 0 goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: boolean equals(org.wildfly.common.net.CidrAddress)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean equals(org.wildfly.common.net.CidrAddress)
{
byte[] v, v;
int v, v;
org.wildfly.common.net.CidrAddress v, v;
boolean v, v;
v := @this: org.wildfly.common.net.CidrAddress;
v := @parameter: org.wildfly.common.net.CidrAddress;
if v == v goto label;
if v == null goto label;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
if v != v goto label;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = staticinvoke <java.util.Arrays: boolean equals(byte[],byte[])>(v, v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public int hashCode()
{
byte[] v;
int v, v, v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = v.<org.wildfly.common.net.CidrAddress: int hashCode>;
if v != 0 goto label;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = staticinvoke <java.util.Arrays: int hashCode(byte[])>(v);
v = staticinvoke <org.wildfly.common.math.HashMath: int multiHashOrdered(int,int)>(v, v);
if v != 0 goto label;
v = 1;
label:
v.<org.wildfly.common.net.CidrAddress: int hashCode> = v;
label:
return v;
}
public java.lang.String toString()
{
byte[] v, v;
java.lang.Object[] v, v;
java.lang.Integer v, v, v;
int v, v, v;
java.lang.String v, v, v, v, v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = v.<org.wildfly.common.net.CidrAddress: java.lang.String toString>;
if v != null goto label;
v = virtualinvoke v.<org.wildfly.common.net.CidrAddress: int getScopeId()>();
if v != 0 goto label;
v = newarray (java.lang.Object)[2];
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = staticinvoke <org.wildfly.common.net.Inet: java.lang.String toOptimalString(byte[])>(v);
v[0] = v;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("%s/%d", v);
v.<org.wildfly.common.net.CidrAddress: java.lang.String toString> = v;
return v;
label:
v = newarray (java.lang.Object)[3];
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = staticinvoke <org.wildfly.common.net.Inet: java.lang.String toOptimalString(byte[])>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[2] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("%s%%%d/%d", v);
v.<org.wildfly.common.net.CidrAddress: java.lang.String toString> = v;
return v;
label:
return v;
}
java.lang.Object writeReplace()
{
byte[] v;
org.wildfly.common.net.CidrAddress$Ser v;
int v;
org.wildfly.common.net.CidrAddress v;
v := @this: org.wildfly.common.net.CidrAddress;
v = new org.wildfly.common.net.CidrAddress$Ser;
v = v.<org.wildfly.common.net.CidrAddress: byte[] cachedBytes>;
v = v.<org.wildfly.common.net.CidrAddress: int netmaskBits>;
specialinvoke v.<org.wildfly.common.net.CidrAddress$Ser: void <init>(byte[],int)>(v, v);
return v;
}
private static boolean bitsMatch(byte[], byte[], int)
{
byte[] v, v;
java.lang.AssertionError v, v;
short v, v;
byte v, v, v, v;
int v, v, v, v, v, v, v, v;
boolean v, v;
v := @parameter: byte[];
v := @parameter: byte[];
v := @parameter: int;
v = lengthof v;
v = <org.wildfly.common.net.CidrAddress: boolean $assertionsDisabled>;
if v != 0 goto label;
v = lengthof v;
if v == v goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = 0;
label:
if v < 8 goto label;
if v >= v goto label;
v = v[v];
v = v[v];
if v == v goto label;
return 0;
label:
v = v + 1;
v = v - 8;
goto label;
label:
if v <= 0 goto label;
v = <org.wildfly.common.net.CidrAddress: boolean $assertionsDisabled>;
if v != 0 goto label;
if v < 8 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = 8 - v;
v = 255 << v;
v = v[v];
v = v & 255;
v = v & v;
v = v[v];
v = v & 255;
v = v & v;
if v == v goto label;
return 0;
label:
return 1;
}
private static byte[] maskBits0(byte[], int)
{
byte[] v;
java.lang.AssertionError v;
byte v;
int v, v, v, v, v, v, v, v;
boolean v;
v := @parameter: byte[];
v := @parameter: int;
v = lengthof v;
v = 0;
label:
if v < 8 goto label;
if v >= v goto label;
v = v + 1;
v = v - 8;
goto label;
label:
if v <= 0 goto label;
v = <org.wildfly.common.net.CidrAddress: boolean $assertionsDisabled>;
if v != 0 goto label;
if v < 8 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = 8 - v;
v = 255 << v;
v = v;
v = v + 1;
v = v[v];
v = v & v;
v[v] = v;
label:
if v >= v goto label;
v = v;
v = v + 1;
v[v] = 0;
goto label;
label:
return v;
}
private static byte[] maskBits1(byte[], int)
{
byte[] v;
java.lang.AssertionError v;
byte v;
int v, v, v, v, v, v, v, v;
boolean v;
v := @parameter: byte[];
v := @parameter: int;
v = lengthof v;
v = 0;
label:
if v < 8 goto label;
if v >= v goto label;
v = v + 1;
v = v - 8;
goto label;
label:
if v <= 0 goto label;
v = <org.wildfly.common.net.CidrAddress: boolean $assertionsDisabled>;
if v != 0 goto label;
if v < 8 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = 8 - v;
v = 255 >>> v;
v = v;
v = v + 1;
v = v[v];
v = v | v;
v[v] = v;
label:
if v >= v goto label;
v = v;
v = v + 1;
v[v] = -1;
goto label;
label:
return v;
}
static void <clinit>()
{
java.net.Inet6Address v;
java.lang.Class v;
java.net.Inet4Address v;
org.wildfly.common.net.CidrAddress v, v;
boolean v, v;
v = class "Lorg/wildfly/common/net/CidrAddress;";
v = virtualinvoke v.<java.lang.Class: boolean desiredAssertionStatus()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
<org.wildfly.common.net.CidrAddress: boolean $assertionsDisabled> = v;
v = new org.wildfly.common.net.CidrAddress;
v = <org.wildfly.common.net.Inet: java.net.Inet4Address INET4_ANY>;
specialinvoke v.<org.wildfly.common.net.CidrAddress: void <init>(java.net.InetAddress,int)>(v, 0);
<org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress INET4_ANY_CIDR> = v;
v = new org.wildfly.common.net.CidrAddress;
v = <org.wildfly.common.net.Inet: java.net.Inet6Address INET6_ANY>;
specialinvoke v.<org.wildfly.common.net.CidrAddress: void <init>(java.net.InetAddress,int)>(v, 0);
<org.wildfly.common.net.CidrAddress: org.wildfly.common.net.CidrAddress INET6_ANY_CIDR> = v;
return;
}
}