public abstract class org.springframework.jmx.export.metadata.JmxMetadataUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.jmx.export.metadata.JmxMetadataUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.springframework.jmx.export.metadata.JmxMetadataUtils this
0: .line 31
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.springframework.jmx.export.metadata.JmxMetadataUtils this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jmx/export/metadata/JmxMetadataUtils;
public static javax.management.modelmbean.ModelMBeanNotificationInfo convertToModelMBeanNotificationInfo(org.springframework.jmx.export.metadata.ManagedNotification);
descriptor: (Lorg/springframework/jmx/export/metadata/ManagedNotification;)Ljavax/management/modelmbean/ModelMBeanNotificationInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 // org.springframework.jmx.export.metadata.ManagedNotification notificationInfo
0: .line 38
aload 0 /* notificationInfo */
invokevirtual org.springframework.jmx.export.metadata.ManagedNotification.getNotificationTypes:()[Ljava/lang/String;
astore 1 /* notifTypes */
start local 1 // java.lang.String[] notifTypes
1: .line 39
aload 1 /* notifTypes */
invokestatic org.springframework.util.ObjectUtils.isEmpty:([Ljava/lang/Object;)Z
ifeq 3
2: .line 40
new java.lang.IllegalArgumentException
dup
ldc "Must specify at least one notification type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 43
StackMap locals: java.lang.String[]
StackMap stack:
aload 0 /* notificationInfo */
invokevirtual org.springframework.jmx.export.metadata.ManagedNotification.getName:()Ljava/lang/String;
astore 2 /* name */
start local 2 // java.lang.String name
4: .line 44
aload 2 /* name */
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 6
5: .line 45
new java.lang.IllegalArgumentException
dup
ldc "Must specify notification name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: .line 48
StackMap locals: java.lang.String
StackMap stack:
aload 0 /* notificationInfo */
invokevirtual org.springframework.jmx.export.metadata.ManagedNotification.getDescription:()Ljava/lang/String;
astore 3 /* description */
start local 3 // java.lang.String description
7: .line 49
new javax.management.modelmbean.ModelMBeanNotificationInfo
dup
aload 1 /* notifTypes */
aload 2 /* name */
aload 3 /* description */
invokespecial javax.management.modelmbean.ModelMBeanNotificationInfo.<init>:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 3 // java.lang.String description
end local 2 // java.lang.String name
end local 1 // java.lang.String[] notifTypes
end local 0 // org.springframework.jmx.export.metadata.ManagedNotification notificationInfo
LocalVariableTable:
Start End Slot Name Signature
0 8 0 notificationInfo Lorg/springframework/jmx/export/metadata/ManagedNotification;
1 8 1 notifTypes [Ljava/lang/String;
4 8 2 name Ljava/lang/String;
7 8 3 description Ljava/lang/String;
MethodParameters:
Name Flags
notificationInfo
}
SourceFile: "JmxMetadataUtils.java"