public class io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest extends io.netty.handler.codec.socksx.v5.AbstractSocks5Message implements io.netty.handler.codec.socksx.v5.Socks5InitialRequest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest
super_class: io.netty.handler.codec.socksx.v5.AbstractSocks5Message
{
private final java.util.List<io.netty.handler.codec.socksx.v5.Socks5AuthMethod> authMethods;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;>;
public void <init>(io.netty.handler.codec.socksx.v5.Socks5AuthMethod[]);
descriptor: ([Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.netty.handler.codec.socksx.v5.AbstractSocks5Message.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "authMethods"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest io.netty.handler.codec.socksx.v5.Socks5AuthMethod[]
StackMap stack:
new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 4: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest io.netty.handler.codec.socksx.v5.Socks5AuthMethod[] java.util.List top int int io.netty.handler.codec.socksx.v5.Socks5AuthMethod[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
ifnonnull 8
7: goto 11
8: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest io.netty.handler.codec.socksx.v5.Socks5AuthMethod[] java.util.List io.netty.handler.codec.socksx.v5.Socks5AuthMethod int int io.netty.handler.codec.socksx.v5.Socks5AuthMethod[]
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 9: iinc 4 1
StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest io.netty.handler.codec.socksx.v5.Socks5AuthMethod[] java.util.List top int int io.netty.handler.codec.socksx.v5.Socks5AuthMethod[]
StackMap stack:
10: iload 4
iload 5
if_icmplt 5
11: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest io.netty.handler.codec.socksx.v5.Socks5AuthMethod[] java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 13
12: new java.lang.IllegalArgumentException
dup
ldc "authMethods is empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest.authMethods:Ljava/util/List;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5InitialRequest;
0 15 1 authMethods [Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;
4 15 2 list Ljava/util/List<Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;>;
6 9 3 m Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;
MethodParameters:
Name Flags
authMethods
public void <init>(java.lang.Iterable<io.netty.handler.codec.socksx.v5.Socks5AuthMethod>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.netty.handler.codec.socksx.v5.AbstractSocks5Message.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "authSchemes"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest java.lang.Iterable
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.netty.handler.codec.socksx.v5.Socks5AuthMethod
astore 3
start local 3 6: aload 3
ifnonnull 8
7: goto 10
8: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest java.lang.Iterable java.util.List io.netty.handler.codec.socksx.v5.Socks5AuthMethod java.util.Iterator
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest java.lang.Iterable java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 12
11: new java.lang.IllegalArgumentException
dup
ldc "authMethods is empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest.authMethods:Ljava/util/List;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5InitialRequest;
0 14 1 authMethods Ljava/lang/Iterable<Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;>;
4 14 2 list Ljava/util/List<Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;>;
6 9 3 m Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;
Signature: (Ljava/lang/Iterable<Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;>;)V
MethodParameters:
Name Flags
authMethods
public java.util.List<io.netty.handler.codec.socksx.v5.Socks5AuthMethod> authMethods();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest.authMethods:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5InitialRequest;
Signature: ()Ljava/util/List<Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokestatic io.netty.util.internal.StringUtil.simpleClassName:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest.decoderResult:()Lio/netty/handler/codec/DecoderResult;
astore 2
start local 2 2: aload 2
invokevirtual io.netty.handler.codec.DecoderResult.isSuccess:()Z
ifne 7
3: aload 1
ldc "(decoderResult: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ", authMethods: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 8
7: StackMap locals: java.lang.StringBuilder io.netty.handler.codec.DecoderResult
StackMap stack:
aload 1
ldc "(authMethods: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5InitialRequest.authMethods:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5InitialRequest;
1 11 1 buf Ljava/lang/StringBuilder;
2 11 2 decoderResult Lio/netty/handler/codec/DecoderResult;
}
SourceFile: "DefaultSocks5InitialRequest.java"