public abstract class io.netty.resolver.AbstractAddressResolver<T extends java.net.SocketAddress> implements io.netty.resolver.AddressResolver<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.resolver.AbstractAddressResolver
super_class: java.lang.Object
{
private final io.netty.util.concurrent.EventExecutor executor;
descriptor: Lio/netty/util/concurrent/EventExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.util.internal.TypeParameterMatcher matcher;
descriptor: Lio/netty/util/internal/TypeParameterMatcher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(io.netty.util.concurrent.EventExecutor);
descriptor: (Lio/netty/util/concurrent/EventExecutor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, 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
ldc "executor"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.util.concurrent.EventExecutor
putfield io.netty.resolver.AbstractAddressResolver.executor:Lio/netty/util/concurrent/EventExecutor;
2: aload 0
aload 0
ldc Lio/netty/resolver/AbstractAddressResolver;
ldc "T"
invokestatic io.netty.util.internal.TypeParameterMatcher.find:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Lio/netty/util/internal/TypeParameterMatcher;
putfield io.netty.resolver.AbstractAddressResolver.matcher:Lio/netty/util/internal/TypeParameterMatcher;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
0 4 1 executor Lio/netty/util/concurrent/EventExecutor;
MethodParameters:
Name Flags
executor
protected void <init>(io.netty.util.concurrent.EventExecutor, java.lang.Class<? extends T>);
descriptor: (Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "executor"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.util.concurrent.EventExecutor
putfield io.netty.resolver.AbstractAddressResolver.executor:Lio/netty/util/concurrent/EventExecutor;
2: aload 0
aload 2
invokestatic io.netty.util.internal.TypeParameterMatcher.get:(Ljava/lang/Class;)Lio/netty/util/internal/TypeParameterMatcher;
putfield io.netty.resolver.AbstractAddressResolver.matcher:Lio/netty/util/internal/TypeParameterMatcher;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
0 4 1 executor Lio/netty/util/concurrent/EventExecutor;
0 4 2 addressType Ljava/lang/Class<+TT;>;
Signature: (Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Class<+TT;>;)V
MethodParameters:
Name Flags
executor
addressType
protected io.netty.util.concurrent.EventExecutor executor();
descriptor: ()Lio/netty/util/concurrent/EventExecutor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.AbstractAddressResolver.executor:Lio/netty/util/concurrent/EventExecutor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
public boolean isSupported(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.resolver.AbstractAddressResolver.matcher:Lio/netty/util/internal/TypeParameterMatcher;
aload 1
invokevirtual io.netty.util.internal.TypeParameterMatcher.match:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
0 1 1 address Ljava/net/SocketAddress;
MethodParameters:
Name Flags
address
public final boolean isResolved(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isSupported:(Ljava/net/SocketAddress;)Z
ifne 2
1: new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 3: aload 0
aload 2
invokevirtual io.netty.resolver.AbstractAddressResolver.doIsResolved:(Ljava/net/SocketAddress;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
0 4 1 address Ljava/net/SocketAddress;
3 4 2 castAddress TT;
MethodParameters:
Name Flags
address
protected abstract boolean doIsResolved();
descriptor: (Ljava/net/SocketAddress;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TT;)Z
MethodParameters:
Name Flags
address
public final io.netty.util.concurrent.Future<T> resolve(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "address"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.net.SocketAddress
invokevirtual io.netty.resolver.AbstractAddressResolver.isSupported:(Ljava/net/SocketAddress;)Z
ifne 2
1: aload 0
invokevirtual io.netty.resolver.AbstractAddressResolver.executor:()Lio/netty/util/concurrent/EventExecutor;
new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
invokeinterface io.netty.util.concurrent.EventExecutor.newFailedFuture:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isResolved:(Ljava/net/SocketAddress;)Z
ifeq 5
3: aload 1
astore 2
start local 2 4: aload 0
getfield io.netty.resolver.AbstractAddressResolver.executor:Lio/netty/util/concurrent/EventExecutor;
aload 2
invokeinterface io.netty.util.concurrent.EventExecutor.newSucceededFuture:(Ljava/lang/Object;)Lio/netty/util/concurrent/Future;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 6: aload 0
invokevirtual io.netty.resolver.AbstractAddressResolver.executor:()Lio/netty/util/concurrent/EventExecutor;
invokeinterface io.netty.util.concurrent.EventExecutor.newPromise:()Lio/netty/util/concurrent/Promise;
astore 3
start local 3 7: aload 0
aload 2
aload 3
invokevirtual io.netty.resolver.AbstractAddressResolver.doResolve:(Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)V
8: aload 3
9: areturn
end local 3 end local 2 10: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 11: aload 0
invokevirtual io.netty.resolver.AbstractAddressResolver.executor:()Lio/netty/util/concurrent/EventExecutor;
aload 2
invokeinterface io.netty.util.concurrent.EventExecutor.newFailedFuture:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
0 12 1 address Ljava/net/SocketAddress;
4 5 2 cast TT;
6 10 2 cast TT;
7 10 3 promise Lio/netty/util/concurrent/Promise<TT;>;
11 12 2 e Ljava/lang/Exception;
Exception table:
from to target type
5 9 10 Class java.lang.Exception
Signature: (Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future<TT;>;
MethodParameters:
Name Flags
address
public final io.netty.util.concurrent.Future<T> resolve(java.net.SocketAddress, io.netty.util.concurrent.Promise<T>);
descriptor: (Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "address"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "promise"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isSupported:(Ljava/net/SocketAddress;)Z
ifne 4
3: aload 2
new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isResolved:(Ljava/net/SocketAddress;)Z
ifeq 7
5: aload 1
astore 3
start local 3 6: aload 2
aload 3
invokeinterface io.netty.util.concurrent.Promise.setSuccess:(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 8: aload 0
aload 3
aload 2
invokevirtual io.netty.resolver.AbstractAddressResolver.doResolve:(Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)V
9: aload 2
10: areturn
end local 3 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 12: aload 2
aload 3
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
areturn
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/AbstractAddressResolver<TT;>;
0 13 1 address Ljava/net/SocketAddress;
0 13 2 promise Lio/netty/util/concurrent/Promise<TT;>;
6 7 3 cast TT;
8 11 3 cast TT;
12 13 3 e Ljava/lang/Exception;
Exception table:
from to target type
7 10 11 Class java.lang.Exception
Signature: (Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise<TT;>;)Lio/netty/util/concurrent/Future<TT;>;
MethodParameters:
Name Flags
address
promise
public final io.netty.util.concurrent.Future<java.util.List<T>> resolveAll(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "address"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.net.SocketAddress
invokevirtual io.netty.resolver.AbstractAddressResolver.isSupported:(Ljava/net/SocketAddress;)Z
ifne 2
1: aload 0
invokevirtual io.netty.resolver.AbstractAddressResolver.executor:()Lio/netty/util/concurrent/EventExecutor;
new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
invokeinterface io.netty.util.concurrent.EventExecutor.newFailedFuture:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isResolved:(Ljava/net/SocketAddress;)Z
ifeq 5
3: aload 1
astore 2
start local 2 4: aload 0
getfield io.netty.resolver.AbstractAddressResolver.executor:Lio/netty/util/concurrent/EventExecutor;
aload 2
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface io.netty.util.concurrent.EventExecutor.newSucceededFuture:(Ljava/lang/Object;)Lio/netty/util/concurrent/Future;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 6: aload 0
invokevirtual io.netty.resolver.AbstractAddressResolver.executor:()Lio/netty/util/concurrent/EventExecutor;
invokeinterface io.netty.util.concurrent.EventExecutor.newPromise:()Lio/netty/util/concurrent/Promise;
astore 3
start local 3 7: aload 0
aload 2
aload 3
invokevirtual io.netty.resolver.AbstractAddressResolver.doResolveAll:(Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)V
8: aload 3
9: areturn
end local 3 end local 2 10: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 11: aload 0
invokevirtual io.netty.resolver.AbstractAddressResolver.executor:()Lio/netty/util/concurrent/EventExecutor;
aload 2
invokeinterface io.netty.util.concurrent.EventExecutor.newFailedFuture:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
0 12 1 address Ljava/net/SocketAddress;
4 5 2 cast TT;
6 10 2 cast TT;
7 10 3 promise Lio/netty/util/concurrent/Promise<Ljava/util/List<TT;>;>;
11 12 2 e Ljava/lang/Exception;
Exception table:
from to target type
5 9 10 Class java.lang.Exception
Signature: (Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future<Ljava/util/List<TT;>;>;
MethodParameters:
Name Flags
address
public final io.netty.util.concurrent.Future<java.util.List<T>> resolveAll(java.net.SocketAddress, io.netty.util.concurrent.Promise<java.util.List<T>>);
descriptor: (Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "address"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "promise"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isSupported:(Ljava/net/SocketAddress;)Z
ifne 4
3: aload 2
new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.netty.resolver.AbstractAddressResolver.isResolved:(Ljava/net/SocketAddress;)Z
ifeq 7
5: aload 1
astore 3
start local 3 6: aload 2
aload 3
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface io.netty.util.concurrent.Promise.setSuccess:(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 8: aload 0
aload 3
aload 2
invokevirtual io.netty.resolver.AbstractAddressResolver.doResolveAll:(Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)V
9: aload 2
10: areturn
end local 3 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 12: aload 2
aload 3
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
areturn
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/AbstractAddressResolver<TT;>;
0 13 1 address Ljava/net/SocketAddress;
0 13 2 promise Lio/netty/util/concurrent/Promise<Ljava/util/List<TT;>;>;
6 7 3 cast TT;
8 11 3 cast TT;
12 13 3 e Ljava/lang/Exception;
Exception table:
from to target type
7 10 11 Class java.lang.Exception
Signature: (Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise<Ljava/util/List<TT;>;>;)Lio/netty/util/concurrent/Future<Ljava/util/List<TT;>;>;
MethodParameters:
Name Flags
address
promise
protected abstract void doResolve(T, io.netty.util.concurrent.Promise<T>);
descriptor: (Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (TT;Lio/netty/util/concurrent/Promise<TT;>;)V
MethodParameters:
Name Flags
unresolvedAddress
promise
protected abstract void doResolveAll(T, io.netty.util.concurrent.Promise<java.util.List<T>>);
descriptor: (Ljava/net/SocketAddress;Lio/netty/util/concurrent/Promise;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (TT;Lio/netty/util/concurrent/Promise<Ljava/util/List<TT;>;>;)V
MethodParameters:
Name Flags
unresolvedAddress
promise
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/AbstractAddressResolver<TT;>;
}
Signature: <T:Ljava/net/SocketAddress;>Ljava/lang/Object;Lio/netty/resolver/AddressResolver<TT;>;
SourceFile: "AbstractAddressResolver.java"