public class sun.awt.image.MultiResolutionCachedImage extends sun.awt.image.AbstractMultiResolutionImage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.MultiResolutionCachedImage
super_class: sun.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
iconst_1
anewarray java.awt.Dimension
dup
iconst_0
new java.awt.Dimension
dup
1: 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=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial sun.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
aload 3
ifnonnull 4
aconst_null
goto 5
StackMap locals: sun.awt.image.MultiResolutionCachedImage int int java.awt.geom.Dimension2D[] java.util.function.BiFunction
StackMap stack: sun.awt.image.MultiResolutionCachedImage
4: aload 3
aload 3
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.awt.geom.Dimension2D[]
StackMap locals: sun.awt.image.MultiResolutionCachedImage int int java.awt.geom.Dimension2D[] java.util.function.BiFunction
StackMap stack: sun.awt.image.MultiResolutionCachedImage java.awt.geom.Dimension2D[]
5: putfield sun.awt.image.MultiResolutionCachedImage.sizes:[Ljava/awt/geom/Dimension2D;
6: aload 0
aload 4
putfield sun.awt.image.MultiResolutionCachedImage.mapper:Ljava/util/function/BiFunction;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 8 1 baseImageWidth I
0 8 2 baseImageHeight I
0 8 3 sizes [Ljava/awt/geom/Dimension2D;
0 8 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
public java.awt.Image getResolutionVariant(int, int);
descriptor: (II)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic sun.awt.image.ImageCache.getInstance:()Lsun/awt/image/ImageCache;
astore 3
start local 3 1: new sun.awt.image.MultiResolutionCachedImage$ImageCacheKey
dup
aload 0
iload 1
iload 2
invokespecial sun.awt.image.MultiResolutionCachedImage$ImageCacheKey.<init>:(Ljava/awt/Image;II)V
astore 4
start local 4 2: aload 3
aload 4
invokevirtual sun.awt.image.ImageCache.getImage:(Lsun/awt/image/ImageCache$PixelsKey;)Ljava/awt/Image;
astore 5
start local 5 3: aload 5
ifnonnull 6
4: aload 0
getfield sun.awt.image.MultiResolutionCachedImage.mapper:Ljava/util/function/BiFunction;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
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 5
5: aload 3
aload 4
aload 5
invokevirtual sun.awt.image.ImageCache.setImage:(Lsun/awt/image/ImageCache$PixelsKey;Ljava/awt/Image;)V
6: StackMap locals: sun.awt.image.ImageCache sun.awt.image.MultiResolutionCachedImage$ImageCacheKey java.awt.Image
StackMap stack:
aload 5
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.availableInfo:I
invokestatic sun.awt.image.MultiResolutionCachedImage.preload:(Ljava/awt/Image;I)V
7: aload 5
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 8 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 8 1 width I
0 8 2 height I
1 8 3 cache Lsun/awt/image/ImageCache;
2 8 4 key Lsun/awt/image/MultiResolutionCachedImage$ImageCacheKey;
3 8 5 resolutionVariant Ljava/awt/Image;
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 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
aload 1
invokespecial sun.awt.image.AbstractMultiResolutionImage.getWidth:(Ljava/awt/image/ImageObserver;)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
aload 1
invokespecial sun.awt.image.AbstractMultiResolutionImage.getHeight:(Ljava/awt/image/ImageObserver;)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: aload 0
aload 1
aload 2
invokespecial sun.awt.image.AbstractMultiResolutionImage.getProperty:(Ljava/lang/String;Ljava/awt/image/ImageObserver;)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
protected java.awt.Image getBaseImage();
descriptor: ()Ljava/awt/Image;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageWidth:I
aload 0
getfield sun.awt.image.MultiResolutionCachedImage.baseImageHeight:I
invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(II)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$2(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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Dimension2D.getWidth:()D
d2i
1: aload 1
invokevirtual java.awt.geom.Dimension2D.getHeight:()D
d2i
2: invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(II)Ljava/awt/Image;
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/image/MultiResolutionCachedImage;
0 4 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=4, 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
aload 3
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.awt.image.MultiResolutionCachedImage.getResolutionVariant:(II)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 boolean lambda$2(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