class io.undertow.util.SimpleAttachmentKey<T> extends io.undertow.util.AttachmentKey<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.undertow.util.SimpleAttachmentKey
super_class: io.undertow.util.AttachmentKey
{
private final java.lang.Class<T> valueClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
void <init>(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.undertow.util.AttachmentKey.<init>:()V
1: aload 0
aload 1
putfield io.undertow.util.SimpleAttachmentKey.valueClass:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/undertow/util/SimpleAttachmentKey<TT;>;
0 3 1 valueClass Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
valueClass final
public T cast();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.util.SimpleAttachmentKey.valueClass:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/util/SimpleAttachmentKey<TT;>;
0 1 1 value Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
value final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.SimpleAttachmentKey.valueClass:Ljava/lang/Class;
ifnull 6
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: aload 1
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
getfield io.undertow.util.SimpleAttachmentKey.valueClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/util/SimpleAttachmentKey<TT;>;
2 6 1 sb Ljava/lang/StringBuilder;
}
Signature: <T:Ljava/lang/Object;>Lio/undertow/util/AttachmentKey<TT;>;
SourceFile: "SimpleAttachmentKey.java"