final class javafx.scene.image.Image$ImageTask implements com.sun.javafx.runtime.async.AsyncOperationListener<com.sun.javafx.tk.ImageLoader>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javafx.scene.image.Image$ImageTask
super_class: java.lang.Object
{
private final com.sun.javafx.runtime.async.AsyncOperation peer;
descriptor: Lcom/sun/javafx/runtime/async/AsyncOperation;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final javafx.scene.image.Image this$0;
descriptor: Ljavafx/scene/image/Image;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javafx.scene.image.Image);
descriptor: (Ljavafx/scene/image/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual javafx.scene.image.Image$ImageTask.constructPeer:()Lcom/sun/javafx/runtime/async/AsyncOperation;
putfield javafx.scene.image.Image$ImageTask.peer:Lcom/sun/javafx/runtime/async/AsyncOperation;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/image/Image$ImageTask;
MethodParameters:
Name Flags
this$0 final
public void onCancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
new java.util.concurrent.CancellationException
dup
ldc "Loading cancelled"
invokespecial java.util.concurrent.CancellationException.<init>:(Ljava/lang/String;)V
invokevirtual javafx.scene.image.Image.finishImage:(Ljava/lang/Exception;)V
1: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
invokevirtual javafx.scene.image.Image.cycleTasks:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/image/Image$ImageTask;
public void onException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
aload 1
invokevirtual javafx.scene.image.Image.finishImage:(Ljava/lang/Exception;)V
1: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
invokevirtual javafx.scene.image.Image.cycleTasks:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/image/Image$ImageTask;
0 3 1 exception Ljava/lang/Exception;
MethodParameters:
Name Flags
exception
public void onCompletion(com.sun.javafx.tk.ImageLoader);
descriptor: (Lcom/sun/javafx/tk/ImageLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
aload 1
invokevirtual javafx.scene.image.Image.finishImage:(Lcom/sun/javafx/tk/ImageLoader;)V
1: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
invokevirtual javafx.scene.image.Image.cycleTasks:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/image/Image$ImageTask;
0 3 1 value Lcom/sun/javafx/tk/ImageLoader;
MethodParameters:
Name Flags
value
public void onProgress(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifle 4
1: iload 1
i2d
iload 2
i2d
ddiv
dstore 3
start local 3 2: dload 3
dconst_1
dcmpg
ifge 4
dload 3
aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
invokevirtual javafx.scene.image.Image.getProgress:()D
ldc 0.1
dadd
dcmpl
iflt 4
3: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
dload 3
invokevirtual javafx.scene.image.Image.setProgress:(D)V
end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/image/Image$ImageTask;
0 5 1 cur I
0 5 2 max I
2 4 3 curProgress D
MethodParameters:
Name Flags
cur
max
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.image.Image$ImageTask.peer:Lcom/sun/javafx/runtime/async/AsyncOperation;
invokeinterface com.sun.javafx.runtime.async.AsyncOperation.start:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/image/Image$ImageTask;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.image.Image$ImageTask.peer:Lcom/sun/javafx/runtime/async/AsyncOperation;
invokeinterface com.sun.javafx.runtime.async.AsyncOperation.cancel:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/image/Image$ImageTask;
private com.sun.javafx.runtime.async.AsyncOperation constructPeer();
descriptor: ()Lcom/sun/javafx/runtime/async/AsyncOperation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
getfield javafx.scene.image.Image.url:Ljava/lang/String;
1: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
getfield javafx.scene.image.Image.requestedWidth:D
aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
getfield javafx.scene.image.Image.requestedHeight:D
2: aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
getfield javafx.scene.image.Image.preserveRatio:Z
aload 0
getfield javafx.scene.image.Image$ImageTask.this$0:Ljavafx/scene/image/Image;
getfield javafx.scene.image.Image.smooth:Z
3: invokestatic javafx.scene.image.Image.loadImageAsync:(Lcom/sun/javafx/runtime/async/AsyncOperationListener;Ljava/lang/String;DDZZ)Lcom/sun/javafx/runtime/async/AsyncOperation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/image/Image$ImageTask;
public void onCompletion(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.sun.javafx.tk.ImageLoader
invokevirtual javafx.scene.image.Image$ImageTask.onCompletion:(Lcom/sun/javafx/tk/ImageLoader;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/sun/javafx/runtime/async/AsyncOperationListener<Lcom/sun/javafx/tk/ImageLoader;>;
SourceFile: "Image.java"
NestHost: javafx.scene.image.Image
InnerClasses:
private final ImageTask = javafx.scene.image.Image$ImageTask of javafx.scene.image.Image