class org.apache.commons.pool2.impl.PoolImplUtils
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.pool2.impl.PoolImplUtils
super_class: java.lang.Object
{
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 Lorg/apache/commons/pool2/impl/PoolImplUtils;
static java.lang.Class<?> getFactoryType(java.lang.Class<? extends org.apache.commons.pool2.PooledObjectFactory>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: ldc Lorg/apache/commons/pool2/PooledObjectFactory;
astore 1
start local 1 1: aload 1
aload 0
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getGenericType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
instanceof java.lang.Integer
ifeq 11
3: aload 1
aload 0
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getParameterizedType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/ParameterizedType;
astore 3
start local 3 4: aload 3
ifnull 10
5: aload 3
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aaload
checkcast java.lang.reflect.TypeVariable
invokeinterface java.lang.reflect.TypeVariable.getBounds:()[Ljava/lang/reflect/Type;
astore 4
start local 4 6: aload 4
ifnull 10
aload 4
arraylength
ifle 10
7: aload 4
iconst_0
aaload
astore 5
start local 5 8: aload 5
instanceof java.lang.Class
ifeq 10
9: aload 5
checkcast java.lang.Class
areturn
end local 5 end local 4 10: StackMap locals: java.lang.Class java.lang.Object java.lang.reflect.ParameterizedType
StackMap stack:
ldc Ljava/lang/Object;
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.Class
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 factoryClass Ljava/lang/Class<+Lorg/apache/commons/pool2/PooledObjectFactory;>;
1 12 1 type Ljava/lang/Class<Lorg/apache/commons/pool2/PooledObjectFactory;>;
2 12 2 genericType Ljava/lang/Object;
4 11 3 pi Ljava/lang/reflect/ParameterizedType;
6 10 4 bounds [Ljava/lang/reflect/Type;
8 10 5 bound0 Ljava/lang/reflect/Type;
Signature: (Ljava/lang/Class<+Lorg/apache/commons/pool2/PooledObjectFactory;>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
factoryClass final
private static <T> getGenericType(java.lang.Class<T>, java.lang.Class<? extends T>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getParameterizedType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/ParameterizedType;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 1
aload 2
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getTypeParameter:(Ljava/lang/Class;Ljava/lang/reflect/Type;)Ljava/lang/Object;
areturn
5: StackMap locals: java.lang.reflect.ParameterizedType
StackMap stack:
aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 3
start local 3 6: aload 0
aload 3
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getGenericType:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
astore 4
start local 4 7: aload 4
instanceof java.lang.Class
ifeq 9
8: aload 4
areturn
9: StackMap locals: java.lang.Class java.lang.Object
StackMap stack:
aload 4
instanceof java.lang.Integer
ifeq 12
10: aload 1
invokevirtual java.lang.Class.getGenericSuperclass:()Ljava/lang/reflect/Type;
checkcast java.lang.reflect.ParameterizedType
astore 5
start local 5 11: aload 1
aload 5
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
aload 4
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aaload
invokestatic org.apache.commons.pool2.impl.PoolImplUtils.getTypeParameter:(Ljava/lang/Class;Ljava/lang/reflect/Type;)Ljava/lang/Object;
areturn
end local 5 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 type Ljava/lang/Class<TT;>;
0 13 1 clazz Ljava/lang/Class<+TT;>;
3 13 2 pi Ljava/lang/reflect/ParameterizedType;
6 13 3 superClass Ljava/lang/Class<+TT;>;
7 13 4 result Ljava/lang/Object;
11 12 5 superClassType Ljava/lang/reflect/ParameterizedType;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/Class<+TT;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
type final
clazz final
private static <T> java.lang.reflect.ParameterizedType getParameterizedType(java.lang.Class<T>, java.lang.Class<? extends T>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/reflect/ParameterizedType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getGenericInterfaces:()[Ljava/lang/reflect/Type;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.lang.Class java.lang.Class top int int java.lang.reflect.Type[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
instanceof java.lang.reflect.ParameterizedType
ifeq 6
3: aload 2
checkcast java.lang.reflect.ParameterizedType
astore 6
start local 6 4: aload 6
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
instanceof java.lang.Class
ifeq 6
aload 0
aload 6
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
checkcast java.lang.Class
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: aload 6
areturn
end local 6 end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 1
8: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 type Ljava/lang/Class<TT;>;
0 9 1 clazz Ljava/lang/Class<+TT;>;
2 6 2 iface Ljava/lang/reflect/Type;
4 6 6 pi Ljava/lang/reflect/ParameterizedType;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/Class<+TT;>;)Ljava/lang/reflect/ParameterizedType;
MethodParameters:
Name Flags
type final
clazz final
private static getTypeParameter(java.lang.Class<?>, java.lang.reflect.Type);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Type;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.Class
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getTypeParameters:()[Ljava/lang/reflect/TypeVariable;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: java.lang.reflect.TypeVariable[] int
StackMap stack:
aload 2
iload 3
aaload
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 9: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 clazz Ljava/lang/Class<*>;
0 10 1 argType Ljava/lang/reflect/Type;
3 10 2 tvs [Ljava/lang/reflect/TypeVariable;
4 9 3 i I
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Type;)Ljava/lang/Object;
MethodParameters:
Name Flags
clazz final
argType final
}
SourceFile: "PoolImplUtils.java"