public final class io.netty.resolver.DefaultHostsFileEntriesResolver implements io.netty.resolver.HostsFileEntriesResolver
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.DefaultHostsFileEntriesResolver
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, java.net.Inet4Address> inet4Entries;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/net/Inet4Address;>;
private final java.util.Map<java.lang.String, java.net.Inet6Address> inet6Entries;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/net/Inet6Address;>;
private static volatile int[] $SWITCH_TABLE$io$netty$resolver$ResolvedAddressTypes;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.resolver.HostsFileParser.parseSilently:()Lio/netty/resolver/HostsFileEntries;
invokespecial io.netty.resolver.DefaultHostsFileEntriesResolver.<init>:(Lio/netty/resolver/HostsFileEntries;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/resolver/DefaultHostsFileEntriesResolver;
void <init>(io.netty.resolver.HostsFileEntries);
descriptor: (Lio/netty/resolver/HostsFileEntries;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual io.netty.resolver.HostsFileEntries.inet4Entries:()Ljava/util/Map;
putfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet4Entries:Ljava/util/Map;
2: aload 0
aload 1
invokevirtual io.netty.resolver.HostsFileEntries.inet6Entries:()Ljava/util/Map;
putfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet6Entries:Ljava/util/Map;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/resolver/DefaultHostsFileEntriesResolver;
0 4 1 entries Lio/netty/resolver/HostsFileEntries;
MethodParameters:
Name Flags
entries
public java.net.InetAddress address(java.lang.String, io.netty.resolver.ResolvedAddressTypes);
descriptor: (Ljava/lang/String;Lio/netty/resolver/ResolvedAddressTypes;)Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual io.netty.resolver.DefaultHostsFileEntriesResolver.normalize:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: invokestatic io.netty.resolver.DefaultHostsFileEntriesResolver.$SWITCH_TABLE$io$netty$resolver$ResolvedAddressTypes:()[I
aload 2
invokevirtual io.netty.resolver.ResolvedAddressTypes.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 2
2: 3
3: 4
4: 8
default: 12
}
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet4Entries:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.InetAddress
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet6Entries:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.InetAddress
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet4Entries:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.Inet4Address
astore 4
start local 4 5: aload 4
ifnull 6
aload 4
goto 7
StackMap locals: java.net.Inet4Address
StackMap stack:
6: aload 0
getfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet6Entries:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.InetAddress
StackMap locals:
StackMap stack: java.net.InetAddress
7: areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet6Entries:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.Inet6Address
astore 5
start local 5 9: aload 5
ifnull 10
aload 5
goto 11
StackMap locals: io.netty.resolver.DefaultHostsFileEntriesResolver java.lang.String io.netty.resolver.ResolvedAddressTypes java.lang.String top java.net.Inet6Address
StackMap stack:
10: aload 0
getfield io.netty.resolver.DefaultHostsFileEntriesResolver.inet4Entries:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.InetAddress
StackMap locals:
StackMap stack: java.net.InetAddress
11: areturn
end local 5 12: StackMap locals: io.netty.resolver.DefaultHostsFileEntriesResolver java.lang.String io.netty.resolver.ResolvedAddressTypes java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown ResolvedAddressTypes "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/resolver/DefaultHostsFileEntriesResolver;
0 13 1 inetHost Ljava/lang/String;
0 13 2 resolvedAddressTypes Lio/netty/resolver/ResolvedAddressTypes;
1 13 3 normalized Ljava/lang/String;
5 8 4 inet4Address Ljava/net/Inet4Address;
9 12 5 inet6Address Ljava/net/Inet6Address;
MethodParameters:
Name Flags
inetHost
resolvedAddressTypes
java.lang.String normalize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/DefaultHostsFileEntriesResolver;
0 1 1 inetHost Ljava/lang/String;
MethodParameters:
Name Flags
inetHost
static int[] $SWITCH_TABLE$io$netty$resolver$ResolvedAddressTypes();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.netty.resolver.DefaultHostsFileEntriesResolver.$SWITCH_TABLE$io$netty$resolver$ResolvedAddressTypes:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.netty.resolver.ResolvedAddressTypes.values:()[Lio/netty/resolver/ResolvedAddressTypes;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.netty.resolver.ResolvedAddressTypes.IPV4_ONLY:Lio/netty/resolver/ResolvedAddressTypes;
invokevirtual io.netty.resolver.ResolvedAddressTypes.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.netty.resolver.ResolvedAddressTypes.IPV4_PREFERRED:Lio/netty/resolver/ResolvedAddressTypes;
invokevirtual io.netty.resolver.ResolvedAddressTypes.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.netty.resolver.ResolvedAddressTypes.IPV6_ONLY:Lio/netty/resolver/ResolvedAddressTypes;
invokevirtual io.netty.resolver.ResolvedAddressTypes.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.netty.resolver.ResolvedAddressTypes.IPV6_PREFERRED:Lio/netty/resolver/ResolvedAddressTypes;
invokevirtual io.netty.resolver.ResolvedAddressTypes.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic io.netty.resolver.DefaultHostsFileEntriesResolver.$SWITCH_TABLE$io$netty$resolver$ResolvedAddressTypes:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "DefaultHostsFileEntriesResolver.java"