final class com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom extends com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom
super_class: com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilder
{
private java.lang.reflect.Method fromMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.Class<?>, java.lang.String[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilder.<init>:(Ljava/lang/Class;[Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$CompositeBuilderViaFrom;
0 2 1 targetClass Ljava/lang/Class<*>;
0 2 2 itemNames [Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;[Ljava/lang/String;)V
MethodParameters:
Name Flags
targetClass
itemNames
java.lang.String applicable(java.lang.reflect.Method[]);
descriptor: ([Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom.getTargetClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc "from"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/management/openmbean/CompositeData;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
2: astore 3
start local 3 3: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 5
4: new java.io.InvalidObjectException
dup
ldc "Method from(CompositeData) is not static"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Class java.lang.reflect.Method
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 0
invokevirtual com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom.getTargetClass:()Ljava/lang/Class;
if_acmpeq 12
6: new java.lang.StringBuilder
dup
ldc "Method from(CompositeData) returns "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 3
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokestatic com.sun.jmx.mbeanserver.MXBeanIntrospector.typeName:(Ljava/lang/reflect/Type;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " not "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokestatic com.sun.jmx.mbeanserver.MXBeanIntrospector.typeName:(Ljava/lang/reflect/Type;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: astore 4
start local 4 11: new java.io.InvalidObjectException
dup
aload 4
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom.fromMethod:Ljava/lang/reflect/Method;
13: aconst_null
areturn
end local 3 14: StackMap locals: com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom java.lang.reflect.Method[] java.lang.Class
StackMap stack: java.io.InvalidObjectException
astore 3
start local 3 15: aload 3
athrow
end local 3 16: StackMap locals:
StackMap stack: java.lang.Exception
pop
17: ldc "no method from(CompositeData)"
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$CompositeBuilderViaFrom;
0 18 1 getters [Ljava/lang/reflect/Method;
1 18 2 targetClass Ljava/lang/Class<*>;
3 14 3 fromMethod Ljava/lang/reflect/Method;
11 12 4 msg Ljava/lang/String;
15 16 3 e Ljava/io/InvalidObjectException;
Exception table:
from to target type
1 13 14 Class java.io.InvalidObjectException
1 13 16 Class java.lang.Exception
Exceptions:
throws java.io.InvalidObjectException
MethodParameters:
Name Flags
getters
final java.lang.Object fromCompositeData(javax.management.openmbean.CompositeData, java.lang.String[], com.sun.jmx.mbeanserver.MXBeanMapping[]);
descriptor: (Ljavax/management/openmbean/CompositeData;[Ljava/lang/String;[Lcom/sun/jmx/mbeanserver/MXBeanMapping;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom.fromMethod:Ljava/lang/reflect/Method;
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 3: ldc "Failed to invoke from(CompositeData)"
aload 4
invokestatic com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.invalidObjectException:(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/io/InvalidObjectException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$CompositeBuilderViaFrom;
0 4 1 cd Ljavax/management/openmbean/CompositeData;
0 4 2 itemNames [Ljava/lang/String;
0 4 3 converters [Lcom/sun/jmx/mbeanserver/MXBeanMapping;
3 4 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.io.InvalidObjectException
MethodParameters:
Name Flags
cd
itemNames
converters
}
SourceFile: "DefaultMXBeanMappingFactory.java"
NestHost: com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory
InnerClasses:
private abstract CompositeBuilder = com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilder of com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory
private final CompositeBuilderViaFrom = com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$CompositeBuilderViaFrom of com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory