public class sun.tools.jconsole.inspector.IconManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.inspector.IconManager
super_class: java.lang.Object
{
public static javax.swing.Icon MBEAN;
descriptor: Ljavax/swing/Icon;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static javax.swing.Icon MBEANSERVERDELEGATE;
descriptor: Ljavax/swing/Icon;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static javax.swing.Icon DEFAULT_XOBJECT;
descriptor: Ljavax/swing/Icon;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "mbean.gif"
invokestatic sun.tools.jconsole.inspector.IconManager.getImage:(Ljava/lang/String;)Ljavax/swing/ImageIcon;
invokestatic sun.tools.jconsole.inspector.IconManager.getSmallIcon:(Ljavax/swing/ImageIcon;)Ljavax/swing/ImageIcon;
1: putstatic sun.tools.jconsole.inspector.IconManager.MBEAN:Ljavax/swing/Icon;
2: ldc "mbeanserverdelegate.gif"
invokestatic sun.tools.jconsole.inspector.IconManager.getImage:(Ljava/lang/String;)Ljavax/swing/ImageIcon;
invokestatic sun.tools.jconsole.inspector.IconManager.getSmallIcon:(Ljavax/swing/ImageIcon;)Ljavax/swing/ImageIcon;
3: putstatic sun.tools.jconsole.inspector.IconManager.MBEANSERVERDELEGATE:Ljavax/swing/Icon;
4: ldc "xobject.gif"
invokestatic sun.tools.jconsole.inspector.IconManager.getImage:(Ljava/lang/String;)Ljavax/swing/ImageIcon;
invokestatic sun.tools.jconsole.inspector.IconManager.getSmallIcon:(Ljavax/swing/ImageIcon;)Ljavax/swing/ImageIcon;
5: putstatic sun.tools.jconsole.inspector.IconManager.DEFAULT_XOBJECT:Ljavax/swing/Icon;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/IconManager;
private static javax.swing.ImageIcon getImage(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/ImageIcon;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new javax.swing.ImageIcon
dup
ldc Lsun/tools/jconsole/JConsole;
new java.lang.StringBuilder
dup
ldc "resources/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
invokespecial javax.swing.ImageIcon.<init>:(Ljava/net/URL;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 img Ljava/lang/String;
MethodParameters:
Name Flags
img
private static javax.swing.ImageIcon getSmallIcon(javax.swing.ImageIcon);
descriptor: (Ljavax/swing/ImageIcon;)Ljavax/swing/ImageIcon;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new javax.swing.ImageIcon
dup
1: aload 0
invokevirtual javax.swing.ImageIcon.getImage:()Ljava/awt/Image;
bipush 16
bipush 16
iconst_4
invokevirtual java.awt.Image.getScaledInstance:(III)Ljava/awt/Image;
2: invokespecial javax.swing.ImageIcon.<init>:(Ljava/awt/Image;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 icon Ljavax/swing/ImageIcon;
MethodParameters:
Name Flags
icon
}
SourceFile: "IconManager.java"