public class io.vertx.ext.shell.system.impl.JobImpl implements io.vertx.ext.shell.system.Job
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.shell.system.impl.JobImpl
super_class: java.lang.Object
{
final int id;
descriptor: I
flags: (0x0010) ACC_FINAL
final io.vertx.ext.shell.system.impl.JobControllerImpl controller;
descriptor: Lio/vertx/ext/shell/system/impl/JobControllerImpl;
flags: (0x0010) ACC_FINAL
final io.vertx.ext.shell.system.Process process;
descriptor: Lio/vertx/ext/shell/system/Process;
flags: (0x0010) ACC_FINAL
final java.lang.String line;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private volatile io.vertx.ext.shell.system.ExecStatus actualStatus;
descriptor: Lio/vertx/ext/shell/system/ExecStatus;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
volatile long lastStopped;
descriptor: J
flags: (0x0040) ACC_VOLATILE
volatile io.vertx.ext.shell.term.Tty tty;
descriptor: Lio/vertx/ext/shell/term/Tty;
flags: (0x0040) ACC_VOLATILE
volatile io.vertx.ext.shell.session.Session session;
descriptor: Lio/vertx/ext/shell/session/Session;
flags: (0x0040) ACC_VOLATILE
volatile io.vertx.core.Handler<io.vertx.ext.shell.system.ExecStatus> statusUpdateHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0040) ACC_VOLATILE
Signature: Lio/vertx/core/Handler<Lio/vertx/ext/shell/system/ExecStatus;>;
final io.vertx.core.Promise<java.lang.Void> terminatePromise;
descriptor: Lio/vertx/core/Promise;
flags: (0x0010) ACC_FINAL
Signature: Lio/vertx/core/Promise<Ljava/lang/Void;>;
void <init>(int, io.vertx.ext.shell.system.impl.JobControllerImpl, io.vertx.ext.shell.system.Process, java.lang.String);
descriptor: (ILio/vertx/ext/shell/system/impl/JobControllerImpl;Lio/vertx/ext/shell/system/Process;Ljava/lang/String;)V
flags: (0x0000)
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 java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.vertx.ext.shell.system.impl.JobImpl.id:I
2: aload 0
aload 2
putfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
3: aload 0
aload 3
putfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
4: aload 0
aload 4
putfield io.vertx.ext.shell.system.impl.JobImpl.line:Ljava/lang/String;
5: aload 0
invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
putfield io.vertx.ext.shell.system.impl.JobImpl.terminatePromise:Lio/vertx/core/Promise;
6: aload 3
aload 0
aload 2
invokedynamic handle(Lio/vertx/ext/shell/system/impl/JobImpl;Lio/vertx/ext/shell/system/impl/JobControllerImpl;)Lio/vertx/core/Handler;
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;)V
io/vertx/ext/shell/system/impl/JobImpl.lambda$0(Lio/vertx/ext/shell/system/impl/JobControllerImpl;Ljava/lang/Integer;)V (7)
(Ljava/lang/Integer;)V
invokeinterface io.vertx.ext.shell.system.Process.terminatedHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/system/Process;
pop
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 Lio/vertx/ext/shell/system/impl/JobImpl;
0 8 1 id I
0 8 2 controller Lio/vertx/ext/shell/system/impl/JobControllerImpl;
0 8 3 process Lio/vertx/ext/shell/system/Process;
0 8 4 line Ljava/lang/String;
MethodParameters:
Name Flags
id
controller
process
line
public io.vertx.ext.shell.system.Job setSession(io.vertx.ext.shell.session.Session);
descriptor: (Lio/vertx/ext/shell/session/Session;)Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.shell.system.impl.JobImpl.session:Lio/vertx/ext/shell/session/Session;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 2 1 session Lio/vertx/ext/shell/session/Session;
MethodParameters:
Name Flags
session
public io.vertx.ext.shell.system.ExecStatus actualStatus();
descriptor: ()Lio/vertx/ext/shell/system/ExecStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.actualStatus:Lio/vertx/ext/shell/system/ExecStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public io.vertx.ext.shell.system.Job statusUpdateHandler(io.vertx.core.Handler<io.vertx.ext.shell.system.ExecStatus>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/ext/shell/system/ExecStatus;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/ext/shell/system/ExecStatus;>;)Lio/vertx/ext/shell/system/Job;
MethodParameters:
Name Flags
handler
public boolean interrupt();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.interrupt:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public io.vertx.ext.shell.system.Job resume(boolean);
descriptor: (Z)Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
ifnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
iload 1
aload 0
invokedynamic handle(Lio/vertx/ext/shell/system/impl/JobImpl;)Lio/vertx/core/Handler;
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;)V
io/vertx/ext/shell/system/impl/JobImpl.lambda$1(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.ext.shell.system.Process.resume:(ZLio/vertx/core/Handler;)V
3: goto 5
StackMap locals:
StackMap stack: java.lang.IllegalStateException
4: pop
5: StackMap locals:
StackMap stack:
iload 1
ifeq 9
6: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
aload 0
putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
7: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
ifnull 9
8: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
ifnull 11
10: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.status:()Lio/vertx/ext/shell/system/ExecStatus;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 12 1 foreground Z
Exception table:
from to target type
2 3 4 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
foreground
public io.vertx.ext.shell.system.Job suspend();
descriptor: ()Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
aload 0
invokedynamic handle(Lio/vertx/ext/shell/system/impl/JobImpl;)Lio/vertx/core/Handler;
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;)V
io/vertx/ext/shell/system/impl/JobImpl.lambda$2(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.ext.shell.system.Process.suspend:(Lio/vertx/core/Handler;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.IllegalStateException
2: pop
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
aload 0
if_acmpne 8
5: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
aconst_null
putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
6: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
ifnull 8
7: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
ifnull 10
9: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.status:()Lio/vertx/ext/shell/system/ExecStatus;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
public void terminate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.terminate:()V
1: goto 3
StackMap locals:
StackMap stack: java.lang.IllegalStateException
2: pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
public io.vertx.ext.shell.system.Process process();
descriptor: ()Lio/vertx/ext/shell/system/Process;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public long lastStopped();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.lastStopped:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public io.vertx.ext.shell.system.ExecStatus status();
descriptor: ()Lio/vertx/ext/shell/system/ExecStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.status:()Lio/vertx/ext/shell/system/ExecStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public java.lang.String line();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.line:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public io.vertx.ext.shell.system.Job toBackground();
descriptor: ()Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
aload 0
if_acmpne 5
1: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
aconst_null
putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
2: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.toBackground:()V
3: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
ifnull 5
4: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.status:()Lio/vertx/ext/shell/system/ExecStatus;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public io.vertx.ext.shell.system.Job toForeground();
descriptor: ()Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
ifnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
aload 0
putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
3: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
ifnull 5
4: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.toForeground:()V
6: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
ifnull 8
7: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.status:()Lio/vertx/ext/shell/system/ExecStatus;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public int id();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.id:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
public io.vertx.ext.shell.system.Job setTty(io.vertx.ext.shell.term.Tty);
descriptor: (Lio/vertx/ext/shell/term/Tty;)Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.shell.system.impl.JobImpl.tty:Lio/vertx/ext/shell/term/Tty;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 2 1 tty Lio/vertx/ext/shell/term/Tty;
MethodParameters:
Name Flags
tty
public io.vertx.ext.shell.system.Job run();
descriptor: ()Lio/vertx/ext/shell/system/Job;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
aload 0
putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
1: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
ifnull 3
2: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.controller:Lio/vertx/ext/shell/system/impl/JobControllerImpl;
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getstatic io.vertx.ext.shell.system.ExecStatus.RUNNING:Lio/vertx/ext/shell/system/ExecStatus;
putfield io.vertx.ext.shell.system.impl.JobImpl.actualStatus:Lio/vertx/ext/shell/system/ExecStatus;
4: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
ifnull 6
5: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
getstatic io.vertx.ext.shell.system.ExecStatus.RUNNING:Lio/vertx/ext/shell/system/ExecStatus;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.tty:Lio/vertx/ext/shell/term/Tty;
invokeinterface io.vertx.ext.shell.system.Process.setTty:(Lio/vertx/ext/shell/term/Tty;)Lio/vertx/ext/shell/system/Process;
pop
7: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.session:Lio/vertx/ext/shell/session/Session;
invokeinterface io.vertx.ext.shell.system.Process.setSession:(Lio/vertx/ext/shell/session/Session;)Lio/vertx/ext/shell/system/Process;
pop
8: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.process:Lio/vertx/ext/shell/system/Process;
invokeinterface io.vertx.ext.shell.system.Process.run:()V
9: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
private void lambda$0(io.vertx.ext.shell.system.impl.JobControllerImpl, java.lang.Integer);
descriptor: (Lio/vertx/ext/shell/system/impl/JobControllerImpl;Ljava/lang/Integer;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 1
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
aload 0
if_acmpne 4
1: aload 1
aconst_null
putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
2: aload 1
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
ifnull 4
3: aload 1
getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.id:I
invokevirtual io.vertx.ext.shell.system.impl.JobControllerImpl.removeJob:(I)Z
pop
5: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
ifnull 7
6: aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.statusUpdateHandler:Lio/vertx/core/Handler;
getstatic io.vertx.ext.shell.system.ExecStatus.TERMINATED:Lio/vertx/ext/shell/system/ExecStatus;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.shell.system.impl.JobImpl.terminatePromise:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.complete:()V
8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 9 2 exitCode Ljava/lang/Integer;
private void lambda$1(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.ext.shell.system.ExecStatus.RUNNING:Lio/vertx/ext/shell/system/ExecStatus;
putfield io.vertx.ext.shell.system.impl.JobImpl.actualStatus:Lio/vertx/ext/shell/system/ExecStatus;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 2 1 v Ljava/lang/Void;
private void lambda$2(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.ext.shell.system.ExecStatus.STOPPED:Lio/vertx/ext/shell/system/ExecStatus;
putfield io.vertx.ext.shell.system.impl.JobImpl.actualStatus:Lio/vertx/ext/shell/system/ExecStatus;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/shell/system/impl/JobImpl;
0 2 1 v Ljava/lang/Void;
}
SourceFile: "JobImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles