public class org.jboss.resteasy.util.PickConstructor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.PickConstructor
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/jboss/resteasy/util/PickConstructor;
public static java.lang.reflect.Constructor pickSingletonConstructor(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getConstructors:()[Ljava/lang/reflect/Constructor;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aconst_null
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 25
StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int top int int java.lang.reflect.Constructor[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: aload 5
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 8
7: goto 24
8: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int java.lang.reflect.Constructor int int java.lang.reflect.Constructor[]
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
iload 2
if_icmplt 24
9: aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
iload 2
if_icmple 11
10: iconst_0
istore 4
11: StackMap locals:
StackMap stack:
iconst_0
istore 9
start local 9 12: aload 5
invokevirtual java.lang.reflect.Constructor.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
ifnull 19
13: aload 5
invokevirtual java.lang.reflect.Constructor.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 18
StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int java.lang.reflect.Constructor int int java.lang.reflect.Constructor[] int top int int java.lang.annotation.Annotation[][]
StackMap stack:
14: aload 13
iload 11
aaload
astore 10
start local 10 15: aload 10
ldc Ljavax/ws/rs/core/Context;
invokestatic org.jboss.resteasy.util.FindAnnotation.findAnnotation:([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Ljava/lang/Object;
ifnonnull 17
16: iconst_1
istore 9
end local 10 17: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
18: iload 11
iload 12
if_icmplt 14
19: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int java.lang.reflect.Constructor int int java.lang.reflect.Constructor[] int
StackMap stack:
iload 9
ifeq 20
goto 24
20: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
iload 2
if_icmpne 22
iload 2
ifeq 22
21: iconst_1
istore 4
22: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
istore 2
23: aload 5
astore 3
end local 9 end local 5 24: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int top int int java.lang.reflect.Constructor[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
iload 7
if_icmplt 5
26: iload 4
ifeq 28
27: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 0
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.ambiguousConstructorsFound:(Ljava/lang/Class;)V
28: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 clazz Ljava/lang/Class;
1 29 1 constructors [Ljava/lang/reflect/Constructor;
2 29 2 numParameters I
3 29 3 pick Ljava/lang/reflect/Constructor;
4 29 4 potentialConflict Z
6 24 5 con Ljava/lang/reflect/Constructor;
12 24 9 noContextAnnotation Z
15 17 10 ann [Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
clazz
public static java.lang.reflect.Constructor pickPerRequestConstructor(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getConstructors:()[Ljava/lang/reflect/Constructor;
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
pop
2: iconst_0
istore 2
start local 2 3: aconst_null
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 26
StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int top int int java.lang.reflect.Constructor[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 5
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 9
8: goto 25
9: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int java.lang.reflect.Constructor int int java.lang.reflect.Constructor[]
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
iload 2
if_icmplt 25
10: aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
iload 2
if_icmple 12
11: iconst_0
istore 4
12: StackMap locals:
StackMap stack:
iconst_0
istore 9
start local 9 13: aload 5
invokevirtual java.lang.reflect.Constructor.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
ifnull 20
14: aload 5
invokevirtual java.lang.reflect.Constructor.getParameterAnnotations:()[[Ljava/lang/annotation/Annotation;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 19
StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int java.lang.reflect.Constructor int int java.lang.reflect.Constructor[] int top int int java.lang.annotation.Annotation[][]
StackMap stack:
15: aload 13
iload 11
aaload
astore 10
start local 10 16: aload 10
invokestatic org.jboss.resteasy.util.FindAnnotation.findJaxRSAnnotations:([Ljava/lang/annotation/Annotation;)[Ljava/lang/Class;
arraylength
ifne 18
17: iconst_1
istore 9
end local 10 18: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
19: iload 11
iload 12
if_icmplt 15
20: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int java.lang.reflect.Constructor int int java.lang.reflect.Constructor[] int
StackMap stack:
iload 9
ifeq 21
goto 25
21: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
iload 2
if_icmpne 23
iload 2
ifeq 23
22: iconst_1
istore 4
23: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
arraylength
istore 2
24: aload 5
astore 3
end local 9 end local 5 25: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int top int int java.lang.reflect.Constructor[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
iload 7
if_icmplt 6
27: iload 4
ifeq 29
28: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 0
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.ambiguousConstructorsFound:(Ljava/lang/Class;)V
29: StackMap locals: java.lang.Class java.lang.reflect.Constructor[] int java.lang.reflect.Constructor int
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 clazz Ljava/lang/Class;
1 30 1 constructors [Ljava/lang/reflect/Constructor;
3 30 2 numParameters I
4 30 3 pick Ljava/lang/reflect/Constructor;
5 30 4 potentialConflict Z
7 25 5 con Ljava/lang/reflect/Constructor;
13 25 9 noContextAnnotation Z
16 18 10 ann [Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
clazz
}
SourceFile: "PickConstructor.java"