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