public abstract class com.sun.javafx.runtime.async.AbstractAsyncOperation<V> implements com.sun.javafx.runtime.async.AsyncOperation, java.util.concurrent.Callable<V>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.javafx.runtime.async.AbstractAsyncOperation
super_class: java.lang.Object
{
protected final java.util.concurrent.FutureTask<V> future;
descriptor: Ljava/util/concurrent/FutureTask;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/concurrent/FutureTask<TV;>;
protected final com.sun.javafx.runtime.async.AsyncOperationListener listener;
descriptor: Lcom/sun/javafx/runtime/async/AsyncOperationListener;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private int progressGranularity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int progressMax;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastProgress;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int progressIncrement;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextProgress;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int bytesRead;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(com.sun.javafx.runtime.async.AsyncOperationListener<V>);
descriptor: (Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 100
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressGranularity:I
2: aload 0
aload 1
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.listener:Lcom/sun/javafx/runtime/async/AsyncOperationListener;
3: aload 0
invokedynamic call(Lcom/sun/javafx/runtime/async/AbstractAsyncOperation;)Ljava/util/concurrent/Callable;
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;
com/sun/javafx/runtime/async/AbstractAsyncOperation.lambda$0()Ljava/lang/Object; (7)
()Ljava/lang/Object;
astore 2
start local 2 4: new com.sun.javafx.runtime.async.AbstractAsyncOperation$1
dup
aload 0
aload 1
invokespecial com.sun.javafx.runtime.async.AbstractAsyncOperation$1.<init>:(Lcom/sun/javafx/runtime/async/AbstractAsyncOperation;Lcom/sun/javafx/runtime/async/AsyncOperationListener;)V
astore 3
start local 3 5: aload 0
new com.sun.javafx.runtime.async.AbstractAsyncOperation$2
dup
aload 0
aload 2
aload 3
invokespecial com.sun.javafx.runtime.async.AbstractAsyncOperation$2.<init>:(Lcom/sun/javafx/runtime/async/AbstractAsyncOperation;Ljava/util/concurrent/Callable;Ljava/lang/Runnable;)V
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.future:Ljava/util/concurrent/FutureTask;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
0 7 1 listener Lcom/sun/javafx/runtime/async/AsyncOperationListener<TV;>;
4 7 2 callable Ljava/util/concurrent/Callable<TV;>;
5 7 3 completionRunnable Ljava/lang/Runnable;
Signature: (Lcom/sun/javafx/runtime/async/AsyncOperationListener<TV;>;)V
MethodParameters:
Name Flags
listener final
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.future:Ljava/util/concurrent/FutureTask;
invokevirtual java.util.concurrent.FutureTask.isCancelled:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.future:Ljava/util/concurrent/FutureTask;
invokevirtual java.util.concurrent.FutureTask.isDone:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.future:Ljava/util/concurrent/FutureTask;
iconst_1
invokevirtual java.util.concurrent.FutureTask.cancel:(Z)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.javafx.runtime.async.BackgroundExecutor.getExecutor:()Ljava/util/concurrent/ExecutorService;
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.future:Ljava/util/concurrent/FutureTask;
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
protected void notifyProgress();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.lastProgress:I
istore 1
start local 1 1: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressMax:I
istore 2
start local 2 2: aload 0
iload 1
iload 2
invokedynamic run(Lcom/sun/javafx/runtime/async/AbstractAsyncOperation;II)Ljava/lang/Runnable;
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:
()V
com/sun/javafx/runtime/async/AbstractAsyncOperation.lambda$1(II)V (7)
()V
invokestatic javafx.application.Platform.runLater:(Ljava/lang/Runnable;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
1 4 1 last I
2 4 2 max I
protected void addProgress(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.bytesRead:I
iload 1
iadd
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.bytesRead:I
1: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.bytesRead:I
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.nextProgress:I
if_icmple 5
2: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.bytesRead:I
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.lastProgress:I
3: aload 0
invokevirtual com.sun.javafx.runtime.async.AbstractAsyncOperation.notifyProgress:()V
4: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.lastProgress:I
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
idiv
iconst_1
iadd
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
imul
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.nextProgress:I
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
0 6 1 amount I
MethodParameters:
Name Flags
amount
protected int getProgressMax();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressMax:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
protected void setProgressMax(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 3
1: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressGranularity:I
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
2: goto 10
3: StackMap locals:
StackMap stack:
iload 1
iconst_m1
if_icmpne 6
4: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressGranularity:I
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressMax:I
7: aload 0
iload 1
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressGranularity:I
idiv
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
8: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
iconst_1
if_icmpge 10
9: aload 0
iconst_1
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.lastProgress:I
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
idiv
iconst_1
iadd
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
imul
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.nextProgress:I
11: aload 0
invokevirtual com.sun.javafx.runtime.async.AbstractAsyncOperation.notifyProgress:()V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
0 13 1 progressMax I
MethodParameters:
Name Flags
progressMax
protected int getProgressGranularity();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressGranularity:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
protected void setProgressGranularity(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressGranularity:I
1: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressMax:I
iload 1
idiv
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
2: aload 0
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.lastProgress:I
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
idiv
iconst_1
iadd
aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.progressIncrement:I
imul
putfield com.sun.javafx.runtime.async.AbstractAsyncOperation.nextProgress:I
3: aload 0
invokevirtual com.sun.javafx.runtime.async.AbstractAsyncOperation.notifyProgress:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
0 5 1 progressGranularity I
MethodParameters:
Name Flags
progressGranularity
private java.lang.Object lambda$0();
descriptor: ()Ljava/lang/Object;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.runtime.async.AbstractAsyncOperation.call:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
Exceptions:
throws java.lang.Exception
private void lambda$1(int, int);
descriptor: (II)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
getfield com.sun.javafx.runtime.async.AbstractAsyncOperation.listener:Lcom/sun/javafx/runtime/async/AsyncOperationListener;
iload 1
iload 2
invokeinterface com.sun.javafx.runtime.async.AsyncOperationListener.onProgress:(II)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/runtime/async/AbstractAsyncOperation<TV;>;
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;Lcom/sun/javafx/runtime/async/AsyncOperation;Ljava/util/concurrent/Callable<TV;>;
SourceFile: "AbstractAsyncOperation.java"
NestMembers:
com.sun.javafx.runtime.async.AbstractAsyncOperation$1 com.sun.javafx.runtime.async.AbstractAsyncOperation$2
InnerClasses:
com.sun.javafx.runtime.async.AbstractAsyncOperation$1
com.sun.javafx.runtime.async.AbstractAsyncOperation$2
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles