class com.google.common.reflect.TypeResolver$1 extends com.google.common.reflect.TypeVisitor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.reflect.TypeResolver$1
super_class: com.google.common.reflect.TypeVisitor
{
private final java.util.Map val$mappings;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.reflect.Type val$to;
descriptor: Ljava/lang/reflect/Type;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Map, java.lang.reflect.Type);
descriptor: (Ljava/util/Map;Ljava/lang/reflect/Type;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
aload 0
aload 2
putfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
aload 0
invokespecial com.google.common.reflect.TypeVisitor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/TypeResolver$1;
MethodParameters:
Name Flags
val$mappings final
val$to final
void visitTypeVariable(java.lang.reflect.TypeVariable<?>);
descriptor: (Ljava/lang/reflect/TypeVariable;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
new com.google.common.reflect.TypeResolver$TypeVariableKey
dup
aload 1
invokespecial com.google.common.reflect.TypeResolver$TypeVariableKey.<init>:(Ljava/lang/reflect/TypeVariable;)V
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/reflect/TypeResolver$1;
0 2 1 typeVariable Ljava/lang/reflect/TypeVariable<*>;
Signature: (Ljava/lang/reflect/TypeVariable<*>;)V
MethodParameters:
Name Flags
typeVariable
void visitWildcardType(java.lang.reflect.WildcardType);
descriptor: (Ljava/lang/reflect/WildcardType;)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
instanceof java.lang.reflect.WildcardType
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
checkcast java.lang.reflect.WildcardType
astore 2
start local 2 3: aload 1
invokeinterface java.lang.reflect.WildcardType.getUpperBounds:()[Ljava/lang/reflect/Type;
astore 3
start local 3 4: aload 2
invokeinterface java.lang.reflect.WildcardType.getUpperBounds:()[Ljava/lang/reflect/Type;
astore 4
start local 4 5: aload 1
invokeinterface java.lang.reflect.WildcardType.getLowerBounds:()[Ljava/lang/reflect/Type;
astore 5
start local 5 6: aload 2
invokeinterface java.lang.reflect.WildcardType.getLowerBounds:()[Ljava/lang/reflect/Type;
astore 6
start local 6 7: aload 3
arraylength
aload 4
arraylength
if_icmpne 9
8: aload 5
arraylength
aload 6
arraylength
if_icmpne 9
iconst_1
goto 10
StackMap locals: com.google.common.reflect.TypeResolver$1 java.lang.reflect.WildcardType java.lang.reflect.WildcardType java.lang.reflect.Type[] java.lang.reflect.Type[] java.lang.reflect.Type[] java.lang.reflect.Type[]
StackMap stack:
9: iconst_0
10: StackMap locals:
StackMap stack: int
ldc "Incompatible type: %s vs. %s"
11: aload 1
12: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
13: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: iconst_0
istore 7
start local 7 15: goto 18
16: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
aload 3
iload 7
aaload
aload 4
iload 7
aaload
invokestatic com.google.common.reflect.TypeResolver.populateTypeMappings:(Ljava/util/Map;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V
17: iinc 7 1
StackMap locals:
StackMap stack:
18: iload 7
aload 3
arraylength
if_icmplt 16
end local 7 19: iconst_0
istore 7
start local 7 20: goto 23
21: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
aload 5
iload 7
aaload
aload 6
iload 7
aaload
invokestatic com.google.common.reflect.TypeResolver.populateTypeMappings:(Ljava/util/Map;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V
22: iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
aload 5
arraylength
if_icmplt 21
end local 7 24: return
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 25 0 this Lcom/google/common/reflect/TypeResolver$1;
0 25 1 fromWildcardType Ljava/lang/reflect/WildcardType;
3 25 2 toWildcardType Ljava/lang/reflect/WildcardType;
4 25 3 fromUpperBounds [Ljava/lang/reflect/Type;
5 25 4 toUpperBounds [Ljava/lang/reflect/Type;
6 25 5 fromLowerBounds [Ljava/lang/reflect/Type;
7 25 6 toLowerBounds [Ljava/lang/reflect/Type;
15 19 7 i I
20 24 7 i I
MethodParameters:
Name Flags
fromWildcardType
void visitParameterizedType(java.lang.reflect.ParameterizedType);
descriptor: (Ljava/lang/reflect/ParameterizedType;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
instanceof java.lang.reflect.WildcardType
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
ldc Ljava/lang/reflect/ParameterizedType;
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
invokestatic com.google.common.reflect.TypeResolver.expectArgument:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.ParameterizedType
astore 2
start local 2 3: aload 1
invokeinterface java.lang.reflect.ParameterizedType.getOwnerType:()Ljava/lang/reflect/Type;
ifnull 7
4: aload 2
invokeinterface java.lang.reflect.ParameterizedType.getOwnerType:()Ljava/lang/reflect/Type;
ifnull 7
5: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
aload 1
invokeinterface java.lang.reflect.ParameterizedType.getOwnerType:()Ljava/lang/reflect/Type;
aload 2
invokeinterface java.lang.reflect.ParameterizedType.getOwnerType:()Ljava/lang/reflect/Type;
6: invokestatic com.google.common.reflect.TypeResolver.populateTypeMappings:(Ljava/util/Map;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V
7: StackMap locals: java.lang.reflect.ParameterizedType
StackMap stack:
aload 1
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
aload 2
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
8: ldc "Inconsistent raw type: %s vs. %s"
9: aload 1
10: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
11: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
12: aload 1
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
astore 3
start local 3 13: aload 2
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
astore 4
start local 4 14: aload 3
arraylength
aload 4
arraylength
if_icmpne 15
iconst_1
goto 16
StackMap locals: java.lang.reflect.Type[] java.lang.reflect.Type[]
StackMap stack:
15: iconst_0
16: StackMap locals:
StackMap stack: int
ldc "%s not compatible with %s"
17: aload 1
18: aload 2
19: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
20: iconst_0
istore 5
start local 5 21: goto 24
22: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
aload 3
iload 5
aaload
aload 4
iload 5
aaload
invokestatic com.google.common.reflect.TypeResolver.populateTypeMappings:(Ljava/util/Map;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V
23: iinc 5 1
StackMap locals:
StackMap stack:
24: iload 5
aload 3
arraylength
if_icmplt 22
end local 5 25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/google/common/reflect/TypeResolver$1;
0 26 1 fromParameterizedType Ljava/lang/reflect/ParameterizedType;
3 26 2 toParameterizedType Ljava/lang/reflect/ParameterizedType;
13 26 3 fromArgs [Ljava/lang/reflect/Type;
14 26 4 toArgs [Ljava/lang/reflect/Type;
21 25 5 i I
MethodParameters:
Name Flags
fromParameterizedType
void visitGenericArrayType(java.lang.reflect.GenericArrayType);
descriptor: (Ljava/lang/reflect/GenericArrayType;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
instanceof java.lang.reflect.WildcardType
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
invokestatic com.google.common.reflect.Types.getComponentType:(Ljava/lang/reflect/Type;)Ljava/lang/reflect/Type;
astore 2
start local 2 3: aload 2
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.reflect.Type
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "%s is not an array type."
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
6: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$mappings:Ljava/util/Map;
aload 1
invokeinterface java.lang.reflect.GenericArrayType.getGenericComponentType:()Ljava/lang/reflect/Type;
aload 2
invokestatic com.google.common.reflect.TypeResolver.populateTypeMappings:(Ljava/util/Map;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/reflect/TypeResolver$1;
0 8 1 fromArrayType Ljava/lang/reflect/GenericArrayType;
3 8 2 componentType Ljava/lang/reflect/Type;
MethodParameters:
Name Flags
fromArrayType
void visitClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
instanceof java.lang.reflect.WildcardType
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No type mapping from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.reflect.TypeResolver$1.val$to:Ljava/lang/reflect/Type;
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/reflect/TypeResolver$1;
0 3 1 fromClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
fromClass
}
SourceFile: "TypeResolver.java"
EnclosingMethod: com.google.common.reflect.TypeResolver.populateTypeMappings:(Ljava/util/Map;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V
NestHost: com.google.common.reflect.TypeResolver
InnerClasses:
com.google.common.reflect.TypeResolver$1
final TypeVariableKey = com.google.common.reflect.TypeResolver$TypeVariableKey of com.google.common.reflect.TypeResolver