com.groupbyinc.flux.common.network.Cidrs.class Maven / Gradle / Ivy
???? 4 ? (com/groupbyinc/flux/common/network/Cidrs java/lang/Object
Cidrs.java $assertionsDisabled Z ()V
this *Lcom/groupbyinc/flux/common/network/Cidrs; cidrMaskToMinMax (Ljava/lang/String;)[J java/lang/Exception java/lang/NumberFormatException cidr java/util/Objects requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
/ java/lang/String split '(Ljava/lang/String;)[Ljava/lang/String; !
" "java/lang/IllegalArgumentException $ java/util/Locale & ROOT Ljava/util/Locale; ( ) ' * Tinvalid IPv4/CIDR; expected [a.b.c.d, e] but was [%s] after splitting on "/" in [%s] , java/util/Arrays . toString '([Ljava/lang/Object;)Ljava/lang/String; 0 1
/ 2 format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; 4 5
6 (Ljava/lang/String;)V 8
% 9 [Ljava/lang/String; ; : = contains (Ljava/lang/CharSequence;)Z ? @
A xinvalid IPv4/CIDR; expected [a.b.c.d, e] where a, b, c, d are decimal octets but was [%s] after splitting on "/" in [%s] C 0com/groupbyinc/flux/common/network/InetAddresses E forString *(Ljava/lang/String;)Ljava/net/InetAddress; G H
F I java/net/InetAddress K
getAddress ()[B M N
L O @invalid IPv4/CIDR; unable to parse [%s] as an IP address literal Q *(Ljava/lang/String;Ljava/lang/Throwable;)V S
% T [B V ? java/lang/Integer Z parseInt (Ljava/lang/String;)I \ ]
[ ^ 4invalid IPv4/CIDR; invalid network mask [%s] in [%s] ` Binvalid IPv4/CIDR; invalid network mask [%s], out of range in [%s] b _invalid IPv4/CIDR; invalid address/network mask combination in [%s]; perhaps [%s] was intended? d longToOctets (J)[I f g
h octetsToCIDR ([II)Ljava/lang/String; j k
l addressBytes e Ljava/lang/Exception; networkMask I !Ljava/lang/NumberFormatException; Ljava/lang/String; fields accumulator J blockSize y java/lang/AssertionError } (J)V
~ ? value octets [I octetsToString ([I)Ljava/lang/String;
~
%d.%d.%d.%d ? valueOf (I)Ljava/lang/Integer; ? ?
[ ? java/lang/StringBuilder ?
?
? ?
? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? ()Ljava/lang/String; 0 ?
? ?
createCIDR (JI)Ljava/lang/String; ipAddress java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 1 ? 3 *? ? ?
?
? ? X*? W*? #L+?? "? %Y? +-? Y+? 3SY*S? 7? :?+2>? B? "? %Y? +D? Y+? 3SY*S? 7? :?+2? J? PM? N? %Y? +R? Y+2S? 7-? U?,3? Xy,3? Xya,3? Xya,3? XaB+2? _6? %:? %Y? +a? Y+2SY*S? 7? U??
? !? %Y? +c? Y+2SY*S? 7? :?
dy7!
e ?? .? %Y? +e? Y*SY!!
ee? i? mS? 7? :??Y!PY!aP? ] g j ? ? ? ? f
g n V k o p ? q r ? o s X t J u ; ? ? n V ? ? v w ? x q r E x w ? r ' ( ) * $ + 3 / > 0 N 1 ] 6 g ; j 7 k 8 ~ 9 ? <