class javax.swing.plaf.metal.MetalIconFactory$ImageCacher
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.MetalIconFactory$ImageCacher
super_class: java.lang.Object
{
java.util.Vector<javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair> images;
descriptor: Ljava/util/Vector;
flags: (0x0000)
Signature: Ljava/util/Vector<Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;>;
javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair currentImageGcPair;
descriptor: Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher this
0: .line 1590
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 1594
aload 0 /* this */
new java.util.Vector
dup
iconst_1
iconst_1
invokespecial java.util.Vector.<init>:(II)V
putfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.images:Ljava/util/Vector;
2: .line 1590
return
end local 0 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher;
java.awt.Image getImage(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Ljava/awt/Image;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher this
start local 1 // java.awt.GraphicsConfiguration newGC
0: .line 1613
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.currentImageGcPair:Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
ifnull 2
1: .line 1614
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.currentImageGcPair:Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
aload 1 /* newGC */
invokevirtual javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair.hasSameConfiguration:(Ljava/awt/GraphicsConfiguration;)Z
ifne 9
2: .line 1616
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.images:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: javax.swing.plaf.metal.MetalIconFactory$ImageCacher java.awt.GraphicsConfiguration top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair
astore 2 /* imgGcPair */
start local 2 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair imgGcPair
4: .line 1617
aload 2 /* imgGcPair */
aload 1 /* newGC */
invokevirtual javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair.hasSameConfiguration:(Ljava/awt/GraphicsConfiguration;)Z
ifeq 7
5: .line 1618
aload 0 /* this */
aload 2 /* imgGcPair */
putfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.currentImageGcPair:Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
6: .line 1619
aload 2 /* imgGcPair */
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair.image:Ljava/awt/Image;
areturn
end local 2 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair imgGcPair
7: .line 1616
StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: .line 1622
aconst_null
areturn
9: .line 1624
StackMap locals: javax.swing.plaf.metal.MetalIconFactory$ImageCacher java.awt.GraphicsConfiguration
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.currentImageGcPair:Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair.image:Ljava/awt/Image;
areturn
end local 1 // java.awt.GraphicsConfiguration newGC
end local 0 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher;
0 10 1 newGC Ljava/awt/GraphicsConfiguration;
4 7 2 imgGcPair Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
MethodParameters:
Name Flags
newGC
void cacheImage(java.awt.Image, java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/Image;Ljava/awt/GraphicsConfiguration;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher this
start local 1 // java.awt.Image image
start local 2 // java.awt.GraphicsConfiguration gc
0: .line 1628
new javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair
dup
aload 0 /* this */
aload 1 /* image */
aload 2 /* gc */
invokespecial javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair.<init>:(Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher;Ljava/awt/Image;Ljava/awt/GraphicsConfiguration;)V
astore 3 /* imgGcPair */
start local 3 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair imgGcPair
1: .line 1629
aload 0 /* this */
getfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.images:Ljava/util/Vector;
aload 3 /* imgGcPair */
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
2: .line 1630
aload 0 /* this */
aload 3 /* imgGcPair */
putfield javax.swing.plaf.metal.MetalIconFactory$ImageCacher.currentImageGcPair:Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
3: .line 1631
return
end local 3 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair imgGcPair
end local 2 // java.awt.GraphicsConfiguration gc
end local 1 // java.awt.Image image
end local 0 // javax.swing.plaf.metal.MetalIconFactory$ImageCacher this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher;
0 4 1 image Ljava/awt/Image;
0 4 2 gc Ljava/awt/GraphicsConfiguration;
1 4 3 imgGcPair Ljavax/swing/plaf/metal/MetalIconFactory$ImageCacher$ImageGcPair;
MethodParameters:
Name Flags
image
gc
}
SourceFile: "MetalIconFactory.java"
NestHost: javax.swing.plaf.metal.MetalIconFactory
InnerClasses:
ImageCacher = javax.swing.plaf.metal.MetalIconFactory$ImageCacher of javax.swing.plaf.metal.MetalIconFactory
ImageGcPair = javax.swing.plaf.metal.MetalIconFactory$ImageCacher$ImageGcPair of javax.swing.plaf.metal.MetalIconFactory$ImageCacher