final class com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter extends com.sun.jmx.mbeanserver.OpenConverter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter
super_class: com.sun.jmx.mbeanserver.OpenConverter
{
private final java.lang.Class<? extends java.util.Collection> collectionClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+Ljava/util/Collection;>;
private final com.sun.jmx.mbeanserver.OpenConverter elementConverter;
descriptor: Lcom/sun/jmx/mbeanserver/OpenConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/jmx/mbeanserver/OpenConverter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.reflect.Type, javax.management.openmbean.ArrayType, java.lang.Class, com.sun.jmx.mbeanserver.OpenConverter);
descriptor: (Ljava/lang/reflect/Type;Ljavax/management/openmbean/ArrayType;Ljava/lang/Class;Lcom/sun/jmx/mbeanserver/OpenConverter;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.jmx.mbeanserver.OpenConverter.<init>:(Ljava/lang/reflect/Type;Ljavax/management/openmbean/OpenType;Ljava/lang/Class;)V
1: aload 0
aload 4
putfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.elementConverter:Lcom/sun/jmx/mbeanserver/OpenConverter;
2: aload 1
checkcast java.lang.reflect.ParameterizedType
invokeinterface java.lang.reflect.ParameterizedType.getRawType:()Ljava/lang/reflect/Type;
astore 5
start local 5 3: aload 5
checkcast java.lang.Class
astore 6
start local 6 4: aload 6
ldc Ljava/util/List;
if_acmpne 6
5: aload 0
ldc Ljava/util/ArrayList;
putfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.collectionClass:Ljava/lang/Class;
goto 12
6: StackMap locals: com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter java.lang.reflect.Type javax.management.openmbean.ArrayType java.lang.Class com.sun.jmx.mbeanserver.OpenConverter java.lang.reflect.Type java.lang.Class
StackMap stack:
aload 6
ldc Ljava/util/Set;
if_acmpne 8
7: aload 0
ldc Ljava/util/HashSet;
putfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.collectionClass:Ljava/lang/Class;
goto 12
8: StackMap locals:
StackMap stack:
aload 6
ldc Ljava/util/SortedSet;
if_acmpne 10
9: aload 0
ldc Ljava/util/TreeSet;
putfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.collectionClass:Ljava/lang/Class;
goto 12
10: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.$assertionsDisabled:Z
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.collectionClass:Ljava/lang/Class;
12: StackMap locals:
StackMap stack:
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 13 0 this Lcom/sun/jmx/mbeanserver/OpenConverter$CollectionConverter;
0 13 1 targetType Ljava/lang/reflect/Type;
0 13 2 openArrayType Ljavax/management/openmbean/ArrayType;
0 13 3 openArrayClass Ljava/lang/Class;
0 13 4 elementConverter Lcom/sun/jmx/mbeanserver/OpenConverter;
3 13 5 raw Ljava/lang/reflect/Type;
4 13 6 c Ljava/lang/Class;
MethodParameters:
Name Flags
targetType
openArrayType
openArrayClass
elementConverter
final java.lang.Object toNonNullOpenValue(com.sun.jmx.mbeanserver.MXBeanLookup, java.lang.Object);
descriptor: (Lcom/sun/jmx/mbeanserver/MXBeanLookup;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast java.util.Collection
astore 3
start local 3 1: aload 3
instanceof java.util.SortedSet
ifeq 10
2: aload 3
checkcast java.util.SortedSet
invokeinterface java.util.SortedSet.comparator:()Ljava/util/Comparator;
3: astore 4
start local 4 4: aload 4
ifnull 10
5: new java.lang.StringBuilder
dup
ldc "Cannot convert SortedSet with non-null comparator: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: astore 5
start local 5 9: new javax.management.openmbean.OpenDataException
dup
aload 5
invokespecial javax.management.openmbean.OpenDataException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 10: StackMap locals: java.util.Collection
StackMap stack:
aload 0
invokevirtual com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.getOpenClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
11: aload 3
invokeinterface java.util.Collection.size:()I
12: invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
13: checkcast java.lang.Object[]
astore 4
start local 4 14: iconst_0
istore 5
start local 5 15: aload 3
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 18
StackMap locals: com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter com.sun.jmx.mbeanserver.MXBeanLookup java.lang.Object java.util.Collection java.lang.Object[] int top java.util.Iterator
StackMap stack:
16: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 17: aload 4
iload 5
iinc 5 1
aload 0
getfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.elementConverter:Lcom/sun/jmx/mbeanserver/OpenConverter;
aload 1
aload 6
invokevirtual com.sun.jmx.mbeanserver.OpenConverter.toOpenValue:(Lcom/sun/jmx/mbeanserver/MXBeanLookup;Ljava/lang/Object;)Ljava/lang/Object;
aastore
end local 6 18: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
19: aload 4
areturn
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 20 0 this Lcom/sun/jmx/mbeanserver/OpenConverter$CollectionConverter;
0 20 1 lookup Lcom/sun/jmx/mbeanserver/MXBeanLookup;
0 20 2 value Ljava/lang/Object;
1 20 3 valueCollection Ljava/util/Collection;
4 10 4 comparator Ljava/util/Comparator;
9 10 5 msg Ljava/lang/String;
14 20 4 openArray [Ljava/lang/Object;
15 20 5 i I
17 18 6 o Ljava/lang/Object;
Exceptions:
throws javax.management.openmbean.OpenDataException
MethodParameters:
Name Flags
lookup
value
public final java.lang.Object fromNonNullOpenValue(com.sun.jmx.mbeanserver.MXBeanLookup, java.lang.Object);
descriptor: (Lcom/sun/jmx/mbeanserver/MXBeanLookup;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast java.lang.Object[]
astore 3
start local 3 1: aload 0
getfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.collectionClass:Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
invokestatic com.sun.jmx.mbeanserver.Util.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 2: goto 5
end local 4 StackMap locals: com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter com.sun.jmx.mbeanserver.MXBeanLookup java.lang.Object java.lang.Object[]
StackMap stack: java.lang.Exception
3: astore 5
start local 5 4: ldc "Cannot create collection"
aload 5
invokestatic com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.invalidObjectException:(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/io/InvalidObjectException;
athrow
end local 5 start local 4 5: StackMap locals: java.util.Collection
StackMap stack:
aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 16
StackMap locals: com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter com.sun.jmx.mbeanserver.MXBeanLookup java.lang.Object java.lang.Object[] java.util.Collection top int int java.lang.Object[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 0
getfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.elementConverter:Lcom/sun/jmx/mbeanserver/OpenConverter;
aload 1
aload 5
invokevirtual com.sun.jmx.mbeanserver.OpenConverter.fromOpenValue:(Lcom/sun/jmx/mbeanserver/MXBeanLookup;Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 8: aload 4
aload 9
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
ifne 15
9: new java.lang.StringBuilder
dup
ldc "Could not add "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 0
getfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.collectionClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " (duplicate set element?)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: astore 10
start local 10 14: new java.io.InvalidObjectException
dup
aload 10
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
end local 10 end local 9 end local 5 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 7
if_icmplt 6
17: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/jmx/mbeanserver/OpenConverter$CollectionConverter;
0 18 1 lookup Lcom/sun/jmx/mbeanserver/MXBeanLookup;
0 18 2 openValue Ljava/lang/Object;
1 18 3 openArray [Ljava/lang/Object;
2 3 4 valueCollection Ljava/util/Collection<Ljava/lang/Object;>;
5 18 4 valueCollection Ljava/util/Collection<Ljava/lang/Object;>;
4 5 5 e Ljava/lang/Exception;
7 15 5 o Ljava/lang/Object;
8 15 9 value Ljava/lang/Object;
14 15 10 msg Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Exceptions:
throws java.io.InvalidObjectException
MethodParameters:
Name Flags
lookup
openValue
void checkReconstructible();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter.elementConverter:Lcom/sun/jmx/mbeanserver/OpenConverter;
invokevirtual com.sun.jmx.mbeanserver.OpenConverter.checkReconstructible:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jmx/mbeanserver/OpenConverter$CollectionConverter;
Exceptions:
throws java.io.InvalidObjectException
}
SourceFile: "OpenConverter.java"
NestHost: com.sun.jmx.mbeanserver.OpenConverter
InnerClasses:
private final CollectionConverter = com.sun.jmx.mbeanserver.OpenConverter$CollectionConverter of com.sun.jmx.mbeanserver.OpenConverter