public abstract class io.netty.util.internal.TypeParameterMatcher
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.util.internal.TypeParameterMatcher
super_class: java.lang.Object
{
private static final io.netty.util.internal.TypeParameterMatcher NOOP;
descriptor: Lio/netty/util/internal/TypeParameterMatcher;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.util.internal.TypeParameterMatcher$1
dup
invokespecial io.netty.util.internal.TypeParameterMatcher$1.<init>:()V
putstatic io.netty.util.internal.TypeParameterMatcher.NOOP:Lio/netty/util/internal/TypeParameterMatcher;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.util.internal.TypeParameterMatcher get(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lio/netty/util/internal/TypeParameterMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic io.netty.util.internal.InternalThreadLocalMap.get:()Lio/netty/util/internal/InternalThreadLocalMap;
invokevirtual io.netty.util.internal.InternalThreadLocalMap.typeParameterMatcherGetCache:()Ljava/util/Map;
1: astore 1
start local 1 2: aload 1
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.netty.util.internal.TypeParameterMatcher
astore 2
start local 2 3: aload 2
ifnonnull 9
4: aload 0
ldc Ljava/lang/Object;
if_acmpne 7
5: getstatic io.netty.util.internal.TypeParameterMatcher.NOOP:Lio/netty/util/internal/TypeParameterMatcher;
astore 2
6: goto 8
7: StackMap locals: java.util.Map io.netty.util.internal.TypeParameterMatcher
StackMap stack:
new io.netty.util.internal.TypeParameterMatcher$ReflectiveMatcher
dup
aload 0
invokespecial io.netty.util.internal.TypeParameterMatcher$ReflectiveMatcher.<init>:(Ljava/lang/Class;)V
astore 2
8: StackMap locals:
StackMap stack:
aload 1
aload 0
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 parameterType Ljava/lang/Class<*>;
2 10 1 getCache Ljava/util/Map<Ljava/lang/Class<*>;Lio/netty/util/internal/TypeParameterMatcher;>;
3 10 2 matcher Lio/netty/util/internal/TypeParameterMatcher;
Signature: (Ljava/lang/Class<*>;)Lio/netty/util/internal/TypeParameterMatcher;
MethodParameters:
Name Flags
parameterType final
public static io.netty.util.internal.TypeParameterMatcher find(, java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Lio/netty/util/internal/TypeParameterMatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.netty.util.internal.InternalThreadLocalMap.get:()Lio/netty/util/internal/InternalThreadLocalMap;
invokevirtual io.netty.util.internal.InternalThreadLocalMap.typeParameterMatcherFindCache:()Ljava/util/Map;
1: astore 3
start local 3 2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 3: aload 3
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 5
start local 5 4: aload 5
ifnonnull 7
5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
6: aload 3
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: java.util.Map java.lang.Class java.util.Map
StackMap stack:
aload 5
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.netty.util.internal.TypeParameterMatcher
astore 6
start local 6 8: aload 6
ifnonnull 11
9: aload 0
aload 1
aload 2
invokestatic io.netty.util.internal.TypeParameterMatcher.find0:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
invokestatic io.netty.util.internal.TypeParameterMatcher.get:(Ljava/lang/Class;)Lio/netty/util/internal/TypeParameterMatcher;
astore 6
10: aload 5
aload 2
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: StackMap locals: io.netty.util.internal.TypeParameterMatcher
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 object Ljava/lang/Object;
0 12 1 parametrizedSuperclass Ljava/lang/Class<*>;
0 12 2 typeParamName Ljava/lang/String;
2 12 3 findCache Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/Map<Ljava/lang/String;Lio/netty/util/internal/TypeParameterMatcher;>;>;
3 12 4 thisClass Ljava/lang/Class<*>;
4 12 5 map Ljava/util/Map<Ljava/lang/String;Lio/netty/util/internal/TypeParameterMatcher;>;
8 12 6 matcher Lio/netty/util/internal/TypeParameterMatcher;
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;Ljava/lang/String;)Lio/netty/util/internal/TypeParameterMatcher;
MethodParameters:
Name Flags
object final
parametrizedSuperclass final
typeParamName final
private static java.lang.Class<?> find0(, java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 3
astore 4
start local 4 2: StackMap locals: java.lang.Class java.lang.Class
StackMap stack:
aload 4
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
aload 1
if_acmpne 42
3: iconst_m1
istore 5
start local 5 4: aload 4
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getTypeParameters:()[Ljava/lang/reflect/TypeVariable;
astore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 11
7: StackMap locals: int java.lang.reflect.TypeVariable[] int
StackMap stack:
aload 2
aload 6
iload 7
aaload
invokeinterface java.lang.reflect.TypeVariable.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: iload 7
istore 5
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
aload 6
arraylength
if_icmplt 7
end local 7 12: StackMap locals:
StackMap stack:
iload 5
ifge 16
13: new java.lang.IllegalStateException
dup
14: new java.lang.StringBuilder
dup
ldc "unknown type parameter '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "': "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Class.getGenericSuperclass:()Ljava/lang/reflect/Type;
astore 7
start local 7 17: aload 7
instanceof java.lang.reflect.ParameterizedType
ifne 19
18: ldc Ljava/lang/Object;
areturn
19: StackMap locals: java.lang.reflect.Type
StackMap stack:
aload 7
checkcast java.lang.reflect.ParameterizedType
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
astore 8
start local 8 20: aload 8
iload 5
aaload
astore 9
start local 9 21: aload 9
instanceof java.lang.reflect.ParameterizedType
ifeq 23
22: aload 9
checkcast java.lang.reflect.ParameterizedType
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
astore 9
23: StackMap locals: java.lang.reflect.Type[] java.lang.reflect.Type
StackMap stack:
aload 9
instanceof java.lang.Class
ifeq 25
24: aload 9
checkcast java.lang.Class
areturn
25: StackMap locals:
StackMap stack:
aload 9
instanceof java.lang.reflect.GenericArrayType
ifeq 31
26: aload 9
checkcast java.lang.reflect.GenericArrayType
invokeinterface java.lang.reflect.GenericArrayType.getGenericComponentType:()Ljava/lang/reflect/Type;
astore 10
start local 10 27: aload 10
instanceof java.lang.reflect.ParameterizedType
ifeq 29
28: aload 10
checkcast java.lang.reflect.ParameterizedType
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
astore 10
29: StackMap locals: java.lang.reflect.Type
StackMap stack:
aload 10
instanceof java.lang.Class
ifeq 31
30: aload 10
checkcast java.lang.Class
iconst_0
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
areturn
end local 10 31: StackMap locals:
StackMap stack:
aload 9
instanceof java.lang.reflect.TypeVariable
ifeq 41
32: aload 9
checkcast java.lang.reflect.TypeVariable
astore 10
start local 10 33: aload 3
astore 4
34: aload 10
invokeinterface java.lang.reflect.TypeVariable.getGenericDeclaration:()Ljava/lang/reflect/GenericDeclaration;
instanceof java.lang.Class
ifne 36
35: ldc Ljava/lang/Object;
areturn
36: StackMap locals: java.lang.reflect.TypeVariable
StackMap stack:
aload 10
invokeinterface java.lang.reflect.TypeVariable.getGenericDeclaration:()Ljava/lang/reflect/GenericDeclaration;
checkcast java.lang.Class
astore 1
37: aload 10
invokeinterface java.lang.reflect.TypeVariable.getName:()Ljava/lang/String;
astore 2
38: aload 1
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 40
39: goto 2
40: StackMap locals:
StackMap stack:
ldc Ljava/lang/Object;
areturn
end local 10 41: StackMap locals:
StackMap stack:
aload 3
aload 2
invokestatic io.netty.util.internal.TypeParameterMatcher.fail:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 42: StackMap locals: java.lang.Object java.lang.Class java.lang.String java.lang.Class java.lang.Class
StackMap stack:
aload 4
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 4
43: aload 4
ifnonnull 2
44: aload 3
aload 2
invokestatic io.netty.util.internal.TypeParameterMatcher.fail:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 object Ljava/lang/Object;
0 45 1 parametrizedSuperclass Ljava/lang/Class<*>;
0 45 2 typeParamName Ljava/lang/String;
1 45 3 thisClass Ljava/lang/Class<*>;
2 45 4 currentClass Ljava/lang/Class<*>;
4 42 5 typeParamIndex I
5 42 6 typeParams [Ljava/lang/reflect/TypeVariable;
6 12 7 i I
17 42 7 genericSuperType Ljava/lang/reflect/Type;
20 42 8 actualTypeParams [Ljava/lang/reflect/Type;
21 42 9 actualTypeParam Ljava/lang/reflect/Type;
27 31 10 componentType Ljava/lang/reflect/Type;
33 41 10 v Ljava/lang/reflect/TypeVariable<*>;
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
object final
parametrizedSuperclass
typeParamName
private static java.lang.Class<?> fail(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.IllegalStateException
dup
1: new java.lang.StringBuilder
dup
ldc "cannot determine the type of the type parameter '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "': "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/Class<*>;
0 3 1 typeParamName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
type
typeParamName
public abstract boolean match(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
msg
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/TypeParameterMatcher;
}
SourceFile: "TypeParameterMatcher.java"
NestMembers:
io.netty.util.internal.TypeParameterMatcher$1 io.netty.util.internal.TypeParameterMatcher$ReflectiveMatcher
InnerClasses:
io.netty.util.internal.TypeParameterMatcher$1
private final ReflectiveMatcher = io.netty.util.internal.TypeParameterMatcher$ReflectiveMatcher of io.netty.util.internal.TypeParameterMatcher