public class io.vertx.ext.shell.command.base.FileSystemPwd extends io.vertx.ext.shell.command.AnnotatedCommand
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.shell.command.base.FileSystemPwd
super_class: io.vertx.ext.shell.command.AnnotatedCommand
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // io.vertx.ext.shell.command.base.FileSystemPwd this
0: .line 45
aload 0 /* this */
invokespecial io.vertx.ext.shell.command.AnnotatedCommand.<init>:()V
return
end local 0 // io.vertx.ext.shell.command.base.FileSystemPwd this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/shell/command/base/FileSystemPwd;
public void process(io.vertx.ext.shell.command.CommandProcess);
descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // io.vertx.ext.shell.command.base.FileSystemPwd this
start local 1 // io.vertx.ext.shell.command.CommandProcess process
0: .line 49
aload 1 /* process */
invokeinterface io.vertx.ext.shell.command.CommandProcess.session:()Lio/vertx/ext/shell/session/Session;
ldc "cwd"
invokeinterface io.vertx.ext.shell.session.Session.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
astore 2 /* cwd */
start local 2 // java.lang.String cwd
1: .line 50
aload 2 /* cwd */
ifnonnull 3
2: .line 51
new io.vertx.ext.shell.command.base.FsHelper
dup
invokespecial io.vertx.ext.shell.command.base.FsHelper.<init>:()V
invokevirtual io.vertx.ext.shell.command.base.FsHelper.rootDir:()Ljava/lang/String;
astore 2 /* cwd */
3: .line 53
StackMap locals: java.lang.String
StackMap stack:
aload 1 /* process */
aload 2 /* cwd */
invokeinterface io.vertx.ext.shell.command.CommandProcess.write:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandProcess;
ldc "\n"
invokeinterface io.vertx.ext.shell.command.CommandProcess.write:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandProcess;
invokeinterface io.vertx.ext.shell.command.CommandProcess.end:()V
4: .line 54
return
end local 2 // java.lang.String cwd
end local 1 // io.vertx.ext.shell.command.CommandProcess process
end local 0 // io.vertx.ext.shell.command.base.FileSystemPwd this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/shell/command/base/FileSystemPwd;
0 5 1 process Lio/vertx/ext/shell/command/CommandProcess;
1 5 2 cwd Ljava/lang/String;
MethodParameters:
Name Flags
process
}
SourceFile: "FileSystemPwd.java"
RuntimeVisibleAnnotations:
io.vertx.core.cli.annotations.Name(value = "pwd")
io.vertx.core.cli.annotations.Summary(value = "Print the current working dir")