public class sun.awt.image.MultiResolutionCachedImage extends java.awt.image.AbstractMultiResolutionImage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.MultiResolutionCachedImage
super_class: java.awt.image.AbstractMultiResolutionImage
{
private final int baseImageWidth;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int baseImageHeight;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.awt.geom.Dimension2D[] sizes;
descriptor: [Ljava/awt/geom/Dimension2D;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.BiFunction<java.lang.Integer, java.lang.Integer, java.awt.Image> mapper;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;
private int availableInfo;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int, int, java.util.function.BiFunction<java.lang.Integer, java.lang.Integer, java.awt.Image>);
descriptor: (IILjava/util/function/BiFunction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
1: iconst_1
anewarray java.awt.Dimension
dup
iconst_0
new java.awt.Dimension
dup
iload 1
iload 2
invokespecial java.awt.Dimension.<init>:(II)V
aastore
2: aload 3
invokespecial sun.awt.image.MultiResolutionCachedImage.<init>:(II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 4 1 baseImageWidth I
0 4 2 baseImageHeight I
0 4 3 mapper Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;
Signature: (IILjava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;)V
MethodParameters:
Name Flags
baseImageWidth
baseImageHeight
mapper
public void <init>(int, int, java.awt.geom.Dimension2D[], java.util.function.BiFunction<java.lang.Integer, java.lang.Integer, java.awt.Image>);
descriptor: (II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
aload 3
aload 4
iconst_1
invokespecial sun.awt.image.MultiResolutionCachedImage.<init>:(II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 2 1 baseImageWidth I
0 2 2 baseImageHeight I
0 2 3 sizes [Ljava/awt/geom/Dimension2D;
0 2 4 mapper Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;
Signature: (II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;)V
MethodParameters:
Name Flags
baseImageWidth
baseImageHeight
sizes
mapper
private void <init>(int, int, java.awt.geom.Dimension2D[], java.util.function.BiFunction<java.lang.Integer, java.lang.Integer, java.awt.Image>, );
descriptor: (II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.awt.image.AbstractMultiResolutionImage.<init>:()V
1: aload 0
iload 1
putfield sun.awt.image.MultiResolutionCachedImage.baseImageWidth:I
2: aload 0
iload 2
putfield sun.awt.image.MultiResolutionCachedImage.baseImageHeight:I
3: aload 0
iload 5
ifeq 5
aload 3
ifnull 5
4: aload 3
aload 3
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.awt.geom.Dimension2D[]
goto 6
5: StackMap locals: sun.awt.image.MultiResolutionCachedImage int int java.awt.geom.Dimension2D[] java.util.function.BiFunction int
StackMap stack: sun.awt.image.MultiResolutionCachedImage
aload 3
6: StackMap locals: sun.awt.image.MultiResolutionCachedImage int int java.awt.geom.Dimension2D[] java.util.function.BiFunction int
StackMap stack: sun.awt.image.MultiResolutionCachedImage java.awt.geom.Dimension2D[]
putfield sun.awt.image.MultiResolutionCachedImage.sizes:[Ljava/awt/geom/Dimension2D;
7: aload 0
aload 4
putfield sun.awt.image.MultiResolutionCachedImage.mapper:Ljava/util/function/BiFunction;
8: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 9 1 baseImageWidth I
0 9 2 baseImageHeight I
0 9 3 sizes [Ljava/awt/geom/Dimension2D;
0 9 4 mapper Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;
0 9 5 copySizes Z
Signature: (II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;Z)V
MethodParameters:
Name Flags
baseImageWidth
baseImageHeight
sizes
mapper
copySizes
public java.awt.Image getResolutionVariant(double, double);
descriptor: (DD)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 3 0: dload 1
dload 3
invokestatic sun.awt.image.MultiResolutionCachedImage.checkSize:(DD)V
1: dload 1
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 5
start local 5 2: dload 3
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 6
start local 6 3: invokestatic sun.awt.image.ImageCache.getInstance:()Lsun/awt/image/ImageCache;
astore 7
start local 7 4: new sun.awt.image.MultiResolutionCachedImage$ImageCacheKey
dup
aload 0
iload 5
iload 6
invokespecial sun.awt.image.MultiResolutionCachedImage$ImageCacheKey.<init>:(Ljava/awt/Image;II)V
astore 8
start local 8 5: aload 7
aload 8
invokevirtual sun.awt.image.ImageCache.getImage:(Lsun/awt/image/ImageCache$PixelsKey;)Ljava/awt/Image;
astore 9
start local 9 6: aload 9
ifnonnull 9
7: aload 0
getfield sun.awt.image.MultiResolutionCachedImage.mapper:Ljava/util/function/BiFunction;
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Image
astore 9
8: aload 7
aload 8
aload 9
invokevirtual sun.awt.image.ImageCache.setImage:(Lsun/awt/image/ImageCache$PixelsKey;Ljava/awt/Image;)V
9: StackMap locals: sun.awt.image.MultiResolutionCachedImage double double int int sun.awt.image.ImageCache sun.awt.image.MultiResolutionCachedImage$ImageCacheKey java.awt.Image
StackMap stack:
aload 9
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.availableInfo:I
invokestatic sun.awt.image.MultiResolutionCachedImage.preload:(Ljava/awt/Image;I)V
10: aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 11 1 destWidth D
0 11 3 destHeight D
2 11 5 width I
3 11 6 height I
4 11 7 cache Lsun/awt/image/ImageCache;
5 11 8 key Lsun/awt/image/MultiResolutionCachedImage$ImageCacheKey;
6 11 9 resolutionVariant Ljava/awt/Image;
MethodParameters:
Name Flags
destWidth
destHeight
private static void checkSize(double, double);
descriptor: (DD)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 2 0: dload 0
dconst_0
dcmpg
ifle 1
dload 2
dconst_0
dcmpg
ifgt 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
2: ldc "Width (%s) or height (%s) cannot be <= 0"
iconst_2
anewarray java.lang.Object
dup
iconst_0
dload 0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
dload 0
invokestatic java.lang.Double.isFinite:(D)Z
ifeq 5
dload 2
invokestatic java.lang.Double.isFinite:(D)Z
ifne 8
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
6: ldc "Width (%s) or height (%s) is not finite"
iconst_2
anewarray java.lang.Object
dup
iconst_0
dload 0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 width D
0 9 2 height D
MethodParameters:
Name Flags
width
height
public java.util.List<java.awt.Image> getResolutionVariants();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.MultiResolutionCachedImage.sizes:[Ljava/awt/geom/Dimension2D;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
aload 0
invokedynamic apply(Lsun/awt/image/MultiResolutionCachedImage;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
sun/awt/image/MultiResolutionCachedImage.lambda$0(Ljava/awt/geom/Dimension2D;)Ljava/awt/Image; (7)
(Ljava/awt/geom/Dimension2D;)Ljava/awt/Image;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
1: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/MultiResolutionCachedImage;
Signature: ()Ljava/util/List<Ljava/awt/Image;>;
public sun.awt.image.MultiResolutionCachedImage map(java.util.function.Function<java.awt.Image, java.awt.Image>);
descriptor: (Ljava/util/function/Function;)Lsun/awt/image/MultiResolutionCachedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new sun.awt.image.MultiResolutionCachedImage
dup
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageWidth:I
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageHeight:I
1: aload 0
getfield sun.awt.image.MultiResolutionCachedImage.sizes:[Ljava/awt/geom/Dimension2D;
aload 0
aload 1
invokedynamic apply(Lsun/awt/image/MultiResolutionCachedImage;Ljava/util/function/Function;)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
sun/awt/image/MultiResolutionCachedImage.lambda$1(Ljava/util/function/Function;Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/awt/Image; (7)
(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/awt/Image;
2: invokespecial sun.awt.image.MultiResolutionCachedImage.<init>:(II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 3 1 mapper Ljava/util/function/Function<Ljava/awt/Image;Ljava/awt/Image;>;
Signature: (Ljava/util/function/Function<Ljava/awt/Image;Ljava/awt/Image;>;)Lsun/awt/image/MultiResolutionCachedImage;
MethodParameters:
Name Flags
mapper
public static java.awt.Image map(java.awt.image.MultiResolutionImage, java.util.function.Function<java.awt.Image, java.awt.Image>);
descriptor: (Ljava/awt/image/MultiResolutionImage;Ljava/util/function/Function;)Ljava/awt/Image;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
instanceof sun.awt.image.MultiResolutionToolkitImage
ifeq 4
1: aload 0
checkcast sun.awt.image.MultiResolutionToolkitImage
2: astore 2
start local 2 3: aload 2
aload 1
invokestatic sun.awt.image.MultiResolutionToolkitImage.map:(Lsun/awt/image/MultiResolutionToolkitImage;Ljava/util/function/Function;)Ljava/awt/Image;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokedynamic apply(Ljava/util/function/Function;Ljava/awt/image/MultiResolutionImage;)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
sun/awt/image/MultiResolutionCachedImage.lambda$2(Ljava/util/function/Function;Ljava/awt/image/MultiResolutionImage;Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/awt/Image; (6)
(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/awt/Image;
5: astore 2
start local 2 6: aload 0
instanceof sun.awt.image.MultiResolutionCachedImage
ifeq 15
7: aload 0
checkcast sun.awt.image.MultiResolutionCachedImage
8: astore 3
start local 3 9: new sun.awt.image.MultiResolutionCachedImage
dup
aload 3
getfield sun.awt.image.MultiResolutionCachedImage.baseImageWidth:I
10: aload 3
getfield sun.awt.image.MultiResolutionCachedImage.baseImageHeight:I
11: aload 3
getfield sun.awt.image.MultiResolutionCachedImage.sizes:[Ljava/awt/geom/Dimension2D;
12: aload 2
13: iconst_0
14: invokespecial sun.awt.image.MultiResolutionCachedImage.<init>:(II[Ljava/awt/geom/Dimension2D;Ljava/util/function/BiFunction;Z)V
areturn
end local 3 15: StackMap locals: java.util.function.BiFunction
StackMap stack:
aload 0
checkcast java.awt.Image
astore 3
start local 3 16: aload 3
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
istore 4
start local 4 17: aload 3
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
istore 5
start local 5 18: new sun.awt.image.MultiResolutionCachedImage
dup
iload 4
iload 5
aload 2
invokespecial sun.awt.image.MultiResolutionCachedImage.<init>:(IILjava/util/function/BiFunction;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 mrImage Ljava/awt/image/MultiResolutionImage;
0 19 1 mapper Ljava/util/function/Function<Ljava/awt/Image;Ljava/awt/Image;>;
3 4 2 mrtImage Lsun/awt/image/MultiResolutionToolkitImage;
6 19 2 sizeMapper Ljava/util/function/BiFunction<Ljava/lang/Integer;Ljava/lang/Integer;Ljava/awt/Image;>;
9 15 3 mrcImage Lsun/awt/image/MultiResolutionCachedImage;
16 19 3 image Ljava/awt/Image;
17 19 4 width I
18 19 5 height I
Signature: (Ljava/awt/image/MultiResolutionImage;Ljava/util/function/Function<Ljava/awt/Image;Ljava/awt/Image;>;)Ljava/awt/Image;
MethodParameters:
Name Flags
mrImage
mapper
public int getWidth(java.awt.image.ImageObserver);
descriptor: (Ljava/awt/image/ImageObserver;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual sun.awt.image.MultiResolutionCachedImage.updateInfo:(Ljava/awt/image/ImageObserver;I)V
1: aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageWidth:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 2 1 observer Ljava/awt/image/ImageObserver;
MethodParameters:
Name Flags
observer
public int getHeight(java.awt.image.ImageObserver);
descriptor: (Ljava/awt/image/ImageObserver;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_2
invokevirtual sun.awt.image.MultiResolutionCachedImage.updateInfo:(Ljava/awt/image/ImageObserver;I)V
1: aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageHeight:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 2 1 observer Ljava/awt/image/ImageObserver;
MethodParameters:
Name Flags
observer
public java.lang.Object getProperty(java.lang.String, java.awt.image.ImageObserver);
descriptor: (Ljava/lang/String;Ljava/awt/image/ImageObserver;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
iconst_4
invokevirtual sun.awt.image.MultiResolutionCachedImage.updateInfo:(Ljava/awt/image/ImageObserver;I)V
1: getstatic java.awt.Image.UndefinedProperty:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 2 1 name Ljava/lang/String;
0 2 2 observer Ljava/awt/image/ImageObserver;
MethodParameters:
Name Flags
name
observer
public java.awt.Image getScaledInstance(int, int, int);
descriptor: (III)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
i2d
iload 2
i2d
invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(DD)Ljava/awt/Image;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 1 1 width I
0 1 2 height I
0 1 3 hints I
MethodParameters:
Name Flags
width
height
hints
protected java.awt.Image getBaseImage();
descriptor: ()Ljava/awt/Image;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageWidth:I
i2d
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageHeight:I
i2d
invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(DD)Ljava/awt/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/MultiResolutionCachedImage;
private void updateInfo(java.awt.image.ImageObserver, int);
descriptor: (Ljava/awt/image/ImageObserver;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
getfield sun.awt.image.MultiResolutionCachedImage.availableInfo:I
aload 1
ifnonnull 1
bipush 32
goto 2
StackMap locals: sun.awt.image.MultiResolutionCachedImage java.awt.image.ImageObserver int
StackMap stack: sun.awt.image.MultiResolutionCachedImage int
1: iload 2
StackMap locals: sun.awt.image.MultiResolutionCachedImage java.awt.image.ImageObserver int
StackMap stack: sun.awt.image.MultiResolutionCachedImage int int
2: ior
putfield sun.awt.image.MultiResolutionCachedImage.availableInfo:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 4 1 observer Ljava/awt/image/ImageObserver;
0 4 2 info I
MethodParameters:
Name Flags
observer
info
private static int getInfo(java.awt.Image);
descriptor: (Ljava/awt/Image;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof sun.awt.image.ToolkitImage
ifeq 4
1: aload 0
checkcast sun.awt.image.ToolkitImage
invokevirtual sun.awt.image.ToolkitImage.getImageRep:()Lsun/awt/image/ImageRepresentation;
2: invokedynamic imageUpdate()Ljava/awt/image/ImageObserver;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/awt/Image;IIIII)Z
sun/awt/image/MultiResolutionCachedImage.lambda$3(Ljava/awt/Image;IIIII)Z (6)
(Ljava/awt/Image;IIIII)Z
3: invokevirtual sun.awt.image.ImageRepresentation.check:(Ljava/awt/image/ImageObserver;)I
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 image Ljava/awt/Image;
MethodParameters:
Name Flags
image
private static void preload(java.awt.Image, int);
descriptor: (Ljava/awt/Image;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
aload 0
instanceof sun.awt.image.ToolkitImage
ifeq 2
1: aload 0
checkcast sun.awt.image.ToolkitImage
new sun.awt.image.MultiResolutionCachedImage$1
dup
iload 1
invokespecial sun.awt.image.MultiResolutionCachedImage$1.<init>:(I)V
invokevirtual sun.awt.image.ToolkitImage.preload:(Ljava/awt/image/ImageObserver;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 image Ljava/awt/Image;
0 3 1 availableInfo I
MethodParameters:
Name Flags
image
availableInfo
private java.awt.Image lambda$0(java.awt.geom.Dimension2D);
descriptor: (Ljava/awt/geom/Dimension2D;)Ljava/awt/Image;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Dimension2D.getWidth:()D
aload 1
invokevirtual java.awt.geom.Dimension2D.getHeight:()D
invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(DD)Ljava/awt/Image;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 1 1 size Ljava/awt/geom/Dimension2D;
private java.awt.Image lambda$1(java.util.function.Function, java.lang.Integer, java.lang.Integer);
descriptor: (Ljava/util/function/Function;Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/awt/Image;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 1
aload 0
aload 2
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 3
invokevirtual java.lang.Integer.intValue:()I
i2d
invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(DD)Ljava/awt/Image;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Image
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 1 2 width Ljava/lang/Integer;
0 1 3 height Ljava/lang/Integer;
private static java.awt.Image lambda$2(java.util.function.Function, java.awt.image.MultiResolutionImage, java.lang.Integer, java.lang.Integer);
descriptor: (Ljava/util/function/Function;Ljava/awt/image/MultiResolutionImage;Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/awt/Image;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=4
start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
i2d
aload 3
invokevirtual java.lang.Integer.intValue:()I
i2d
invokeinterface java.awt.image.MultiResolutionImage.getResolutionVariant:(DD)Ljava/awt/Image;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Image
areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 w Ljava/lang/Integer;
0 1 3 h Ljava/lang/Integer;
private static boolean lambda$3(java.awt.Image, int, int, int, int, int);
descriptor: (Ljava/awt/Image;IIIII)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 img Ljava/awt/Image;
0 1 1 infoflags I
0 1 2 x I
0 1 3 y I
0 1 4 w I
0 1 5 h I
}
SourceFile: "MultiResolutionCachedImage.java"
NestMembers:
sun.awt.image.MultiResolutionCachedImage$1 sun.awt.image.MultiResolutionCachedImage$ImageCacheKey
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract PixelsKey = sun.awt.image.ImageCache$PixelsKey of sun.awt.image.ImageCache
sun.awt.image.MultiResolutionCachedImage$1
private ImageCacheKey = sun.awt.image.MultiResolutionCachedImage$ImageCacheKey of sun.awt.image.MultiResolutionCachedImage