class sun.management.MappedMXBeanType$CompositeDataMXBeanType extends sun.management.MappedMXBeanType
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.management.MappedMXBeanType$CompositeDataMXBeanType
super_class: sun.management.MappedMXBeanType
{
final java.lang.Class<?> javaClass;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<*>;
final boolean isCompositeData;
descriptor: Z
flags: (0x0010) ACC_FINAL
java.lang.reflect.Method fromMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0000)
void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=9, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.management.MappedMXBeanType.<init>:()V
1: aload 0
aconst_null
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.fromMethod:Ljava/lang/reflect/Method;
2: aload 0
aload 1
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.javaClass:Ljava/lang/Class;
3: aload 0
getstatic sun.management.MappedMXBeanType.COMPOSITE_DATA_CLASS:Ljava/lang/Class;
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.mappedTypeClass:Ljava/lang/Class;
4: aload 0
new sun.management.MappedMXBeanType$CompositeDataMXBeanType$1
dup
aload 0
invokespecial sun.management.MappedMXBeanType$CompositeDataMXBeanType$1.<init>:(Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.fromMethod:Ljava/lang/reflect/Method;
5: goto 7
StackMap locals: sun.management.MappedMXBeanType$CompositeDataMXBeanType java.lang.Class
StackMap stack: java.security.PrivilegedActionException
6: pop
7: StackMap locals:
StackMap stack:
getstatic sun.management.MappedMXBeanType.COMPOSITE_DATA_CLASS:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 11
8: aload 0
iconst_1
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.isCompositeData:Z
9: aload 0
aconst_null
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.openType:Ljavax/management/openmbean/OpenType;
10: goto 44
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.isCompositeData:Z
12: new sun.management.MappedMXBeanType$CompositeDataMXBeanType$2
dup
aload 0
invokespecial sun.management.MappedMXBeanType$CompositeDataMXBeanType$2.<init>:(Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
13: astore 2
start local 2 14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 15: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 16: iconst_0
istore 5
start local 5 17: goto 36
18: StackMap locals: sun.management.MappedMXBeanType$CompositeDataMXBeanType java.lang.Class java.lang.reflect.Method[] java.util.List java.util.List int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 19: aload 6
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 7
start local 7 20: aload 6
invokevirtual java.lang.reflect.Method.getGenericReturnType:()Ljava/lang/reflect/Type;
astore 8
start local 8 21: aload 7
ldc "get"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
22: aload 7
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 23: goto 28
end local 9 StackMap locals: java.lang.reflect.Method java.lang.String java.lang.reflect.Type
StackMap stack:
24: aload 7
ldc "is"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 35
25: aload 8
instanceof java.lang.Class
ifeq 35
26: aload 8
checkcast java.lang.Class
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 35
27: aload 7
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 28: StackMap locals: java.lang.String
StackMap stack:
aload 9
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 35
29: aload 6
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifgt 35
30: aload 8
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 35
31: aload 9
ldc "Class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
32: goto 35
33: StackMap locals:
StackMap stack:
aload 3
aload 9
invokestatic sun.management.MappedMXBeanType.decapitalize:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
34: aload 4
aload 8
invokestatic sun.management.MappedMXBeanType$CompositeDataMXBeanType.toOpenType:(Ljava/lang/reflect/Type;)Ljavax/management/openmbean/OpenType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 end local 6 35: StackMap locals: sun.management.MappedMXBeanType$CompositeDataMXBeanType java.lang.Class java.lang.reflect.Method[] java.util.List java.util.List int
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
36: iload 5
aload 2
arraylength
if_icmplt 18
end local 5 37: aload 3
iconst_0
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 5
start local 5 38: aload 0
new javax.management.openmbean.CompositeType
dup
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
39: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
40: aload 5
41: aload 5
42: aload 4
iconst_0
anewarray javax.management.openmbean.OpenType
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.management.openmbean.OpenType[]
invokespecial javax.management.openmbean.CompositeType.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljavax/management/openmbean/OpenType;)V
43: putfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.openType:Ljavax/management/openmbean/OpenType;
end local 5 end local 4 end local 3 end local 2 44: StackMap locals: sun.management.MappedMXBeanType$CompositeDataMXBeanType java.lang.Class
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;
0 45 1 c Ljava/lang/Class<*>;
14 44 2 methods [Ljava/lang/reflect/Method;
15 44 3 names Ljava/util/List<Ljava/lang/String;>;
16 44 4 types Ljava/util/List<Ljavax/management/openmbean/OpenType<*>;>;
17 37 5 i I
19 35 6 method Ljava/lang/reflect/Method;
20 35 7 name Ljava/lang/String;
21 35 8 type Ljava/lang/reflect/Type;
23 24 9 rest Ljava/lang/String;
28 35 9 rest Ljava/lang/String;
38 44 5 nameArray [Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.security.PrivilegedActionException
Exceptions:
throws javax.management.openmbean.OpenDataException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
c
java.lang.reflect.Type getJavaType();
descriptor: ()Ljava/lang/reflect/Type;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.javaClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;
java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;
java.lang.Object toOpenTypeData(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.management.MemoryUsage
ifeq 2
1: aload 1
checkcast java.lang.management.MemoryUsage
invokestatic sun.management.MemoryUsageCompositeData.toCompositeData:(Ljava/lang/management/MemoryUsage;)Ljavax/management/openmbean/CompositeData;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.management.ThreadInfo
ifeq 4
3: aload 1
checkcast java.lang.management.ThreadInfo
invokestatic sun.management.ThreadInfoCompositeData.toCompositeData:(Ljava/lang/management/ThreadInfo;)Ljavax/management/openmbean/CompositeData;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.management.LockInfo
ifeq 8
5: aload 1
instanceof java.lang.management.MonitorInfo
ifeq 7
6: aload 1
checkcast java.lang.management.MonitorInfo
invokestatic sun.management.MonitorInfoCompositeData.toCompositeData:(Ljava/lang/management/MonitorInfo;)Ljavax/management/openmbean/CompositeData;
areturn
7: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.management.LockInfo
invokestatic sun.management.LockDataConverter.toLockInfoCompositeData:(Ljava/lang/management/LockInfo;)Ljavax/management/openmbean/CompositeData;
areturn
8: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.management.MemoryNotificationInfo
ifeq 11
9: aload 1
checkcast java.lang.management.MemoryNotificationInfo
invokestatic sun.management.MemoryNotifInfoCompositeData.toCompositeData:(Ljava/lang/management/MemoryNotificationInfo;)Ljavax/management/openmbean/CompositeData;
10: areturn
11: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.management.VMOption
ifeq 13
12: aload 1
checkcast com.sun.management.VMOption
invokestatic sun.management.VMOptionCompositeData.toCompositeData:(Lcom/sun/management/VMOption;)Ljavax/management/openmbean/CompositeData;
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.isCompositeData:Z
ifeq 19
14: aload 1
checkcast javax.management.openmbean.CompositeData
astore 2
start local 2 15: aload 2
invokeinterface javax.management.openmbean.CompositeData.getCompositeType:()Ljavax/management/openmbean/CompositeType;
astore 3
start local 3 16: aload 3
invokevirtual javax.management.openmbean.CompositeType.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 4
start local 4 17: aload 2
aload 4
invokeinterface javax.management.openmbean.CompositeData.getAll:([Ljava/lang/String;)[Ljava/lang/Object;
astore 5
start local 5 18: new javax.management.openmbean.CompositeDataSupport
dup
aload 3
aload 4
aload 5
invokespecial javax.management.openmbean.CompositeDataSupport.<init>:(Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;[Ljava/lang/Object;)V
areturn
end local 5 end local 4 end local 3 end local 2 19: StackMap locals:
StackMap stack:
new javax.management.openmbean.OpenDataException
dup
new java.lang.StringBuilder
dup
aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: ldc " is not supported for platform MXBeans"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial javax.management.openmbean.OpenDataException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;
0 22 1 data Ljava/lang/Object;
15 19 2 cd Ljavax/management/openmbean/CompositeData;
16 19 3 ct Ljavax/management/openmbean/CompositeType;
17 19 4 itemNames [Ljava/lang/String;
18 19 5 itemValues [Ljava/lang/Object;
Exceptions:
throws javax.management.openmbean.OpenDataException
MethodParameters:
Name Flags
data
java.lang.Object toJavaTypeData(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.fromMethod:Ljava/lang/reflect/Method;
ifnonnull 2
1: new java.lang.AssertionError
dup
ldc "Does not support data conversion"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.fromMethod:Ljava/lang/reflect/Method;
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 5: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 6: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 7: new javax.management.openmbean.OpenDataException
dup
new java.lang.StringBuilder
dup
ldc "Failed to invoke "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.fromMethod:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to convert CompositeData "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.management.MappedMXBeanType$CompositeDataMXBeanType.javaClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial javax.management.openmbean.OpenDataException.<init>:(Ljava/lang/String;)V
11: astore 3
start local 3 12: aload 3
aload 2
invokevirtual javax.management.openmbean.OpenDataException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
13: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/management/MappedMXBeanType$CompositeDataMXBeanType;
0 14 1 data Ljava/lang/Object;
5 6 2 e Ljava/lang/IllegalAccessException;
7 14 2 e Ljava/lang/reflect/InvocationTargetException;
12 14 3 ode Ljavax/management/openmbean/OpenDataException;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalAccessException
2 3 6 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws javax.management.openmbean.OpenDataException, java.io.InvalidObjectException
MethodParameters:
Name Flags
data
}
SourceFile: "MappedMXBeanType.java"
NestHost: sun.management.MappedMXBeanType
InnerClasses:
CompositeDataMXBeanType = sun.management.MappedMXBeanType$CompositeDataMXBeanType of sun.management.MappedMXBeanType
sun.management.MappedMXBeanType$CompositeDataMXBeanType$1
sun.management.MappedMXBeanType$CompositeDataMXBeanType$2