final class com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$EnumMapping<T extends java.lang.Enum<T>> 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$EnumMapping
super_class: com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$NonNullMXBeanMapping
{
private final java.lang.Class<T> enumClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
void <init>(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic javax.management.openmbean.SimpleType.STRING:Ljavax/management/openmbean/SimpleType;
invokespecial com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$NonNullMXBeanMapping.<init>:(Ljava/lang/reflect/Type;Ljavax/management/openmbean/OpenType;)V
1: aload 0
aload 1
putfield com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$EnumMapping.enumClass:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$EnumMapping<TT;>;
0 3 1 enumClass Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
enumClass
final java.lang.Object toNonNullOpenValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast java.lang.Enum
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$EnumMapping<TT;>;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
final T fromNonNullOpenValue();
descriptor: (Ljava/lang/Object;)Ljava/lang/Enum;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$EnumMapping.enumClass:Ljava/lang/Class;
aload 1
checkcast java.lang.String
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: new java.lang.StringBuilder
dup
ldc "Cannot convert to enum: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: aload 2
7: invokestatic com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory.invalidObjectException:(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/io/InvalidObjectException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$EnumMapping<TT;>;
0 8 1 value Ljava/lang/Object;
3 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws java.io.InvalidObjectException
Signature: (Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
value
java.lang.Object fromNonNullOpenValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$EnumMapping.fromNonNullOpenValue:(Ljava/lang/Object;)Ljava/lang/Enum;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.InvalidObjectException
}
Signature: <T:Ljava/lang/Enum<TT;>;>Lcom/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory$NonNullMXBeanMapping;
SourceFile: "DefaultMXBeanMappingFactory.java"
NestHost: com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory
InnerClasses:
private final EnumMapping = com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$EnumMapping of com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory
abstract NonNullMXBeanMapping = com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory$NonNullMXBeanMapping of com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory