public class org.jf.baksmali.ListHelpCommand extends org.jf.util.jcommander.Command
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jf.baksmali.ListHelpCommand
super_class: org.jf.util.jcommander.Command
{
private java.util.List<java.lang.String> commands;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
com.beust.jcommander.Parameter(description = "If specified, show the detailed usage information for the given commands")
org.jf.util.jcommander.ExtendedParameter(argumentNames = {"commands"})
public void <init>(java.util.List<com.beust.jcommander.JCommander>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.jf.baksmali.ListHelpCommand this
start local 1 // java.util.List commandAncestors
0: .line 55
aload 0 /* this */
aload 1 /* commandAncestors */
invokespecial org.jf.util.jcommander.Command.<init>:(Ljava/util/List;)V
1: .line 56
return
end local 1 // java.util.List commandAncestors
end local 0 // org.jf.baksmali.ListHelpCommand this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jf/baksmali/ListHelpCommand;
0 2 1 commandAncestors Ljava/util/List<Lcom/beust/jcommander/JCommander;>;
Signature: (Ljava/util/List<Lcom/beust/jcommander/JCommander;>;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nonnull()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nonnull()
MethodParameters:
Name Flags
commandAncestors
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 // org.jf.baksmali.ListHelpCommand this
0: .line 59
aload 0 /* this */
getfield org.jf.baksmali.ListHelpCommand.commands:Ljava/util/List;
ifnull 1
aload 0 /* this */
getfield org.jf.baksmali.ListHelpCommand.commands:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
1: .line 60
StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new org.jf.util.jcommander.HelpFormatter
dup
invokespecial org.jf.util.jcommander.HelpFormatter.<init>:()V
2: .line 61
invokestatic org.jf.util.ConsoleUtil.getConsoleWidth:()I
invokevirtual org.jf.util.jcommander.HelpFormatter.width:(I)Lorg/jf/util/jcommander/HelpFormatter;
3: .line 62
aload 0 /* this */
getfield org.jf.baksmali.ListHelpCommand.commandAncestors:Ljava/util/List;
invokevirtual org.jf.util.jcommander.HelpFormatter.format:(Ljava/util/List;)Ljava/lang/String;
4: .line 60
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: .line 63
goto 25
6: .line 64
StackMap locals:
StackMap stack:
iconst_0
istore 1 /* printedHelp */
start local 1 // boolean printedHelp
7: .line 65
aload 0 /* this */
getfield org.jf.baksmali.ListHelpCommand.commandAncestors:Ljava/util/List;
invokestatic com.google.common.collect.Iterables.getLast:(Ljava/lang/Iterable;)Ljava/lang/Object;
checkcast com.beust.jcommander.JCommander
astore 2 /* parentJc */
start local 2 // com.beust.jcommander.JCommander parentJc
8: .line 66
aload 0 /* this */
getfield org.jf.baksmali.ListHelpCommand.commands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: org.jf.baksmali.ListHelpCommand int com.beust.jcommander.JCommander top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3 /* cmd */
start local 3 // java.lang.String cmd
10: .line 67
aload 2 /* parentJc */
aload 3 /* cmd */
invokestatic org.jf.util.jcommander.ExtendedCommands.getSubcommand:(Lcom/beust/jcommander/JCommander;Ljava/lang/String;)Lcom/beust/jcommander/JCommander;
astore 5 /* command */
start local 5 // com.beust.jcommander.JCommander command
11: .line 68
aload 5 /* command */
ifnonnull 14
12: .line 69
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "No such command: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3 /* cmd */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: .line 70
goto 19
14: .line 71
StackMap locals: org.jf.baksmali.ListHelpCommand int com.beust.jcommander.JCommander java.lang.String java.util.Iterator com.beust.jcommander.JCommander
StackMap stack:
iconst_1
istore 1 /* printedHelp */
15: .line 72
getstatic java.lang.System.out:Ljava/io/PrintStream;
new org.jf.util.jcommander.HelpFormatter
dup
invokespecial org.jf.util.jcommander.HelpFormatter.<init>:()V
16: .line 73
invokestatic org.jf.util.ConsoleUtil.getConsoleWidth:()I
invokevirtual org.jf.util.jcommander.HelpFormatter.width:(I)Lorg/jf/util/jcommander/HelpFormatter;
17: .line 74
aload 5 /* command */
invokevirtual com.beust.jcommander.JCommander.getObjects:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jf.util.jcommander.Command
invokevirtual org.jf.util.jcommander.Command.getCommandHierarchy:()Ljava/util/List;
invokevirtual org.jf.util.jcommander.HelpFormatter.format:(Ljava/util/List;)Ljava/lang/String;
18: .line 72
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 // com.beust.jcommander.JCommander command
end local 3 // java.lang.String cmd
19: .line 66
StackMap locals: org.jf.baksmali.ListHelpCommand int com.beust.jcommander.JCommander top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
20: .line 77
iload 1 /* printedHelp */
ifne 25
21: .line 78
getstatic java.lang.System.out:Ljava/io/PrintStream;
new org.jf.util.jcommander.HelpFormatter
dup
invokespecial org.jf.util.jcommander.HelpFormatter.<init>:()V
22: .line 79
invokestatic org.jf.util.ConsoleUtil.getConsoleWidth:()I
invokevirtual org.jf.util.jcommander.HelpFormatter.width:(I)Lorg/jf/util/jcommander/HelpFormatter;
23: .line 80
aload 0 /* this */
getfield org.jf.baksmali.ListHelpCommand.commandAncestors:Ljava/util/List;
invokevirtual org.jf.util.jcommander.HelpFormatter.format:(Ljava/util/List;)Ljava/lang/String;
24: .line 78
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 // com.beust.jcommander.JCommander parentJc
end local 1 // boolean printedHelp
25: .line 83
StackMap locals: org.jf.baksmali.ListHelpCommand
StackMap stack:
return
end local 0 // org.jf.baksmali.ListHelpCommand this
LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/jf/baksmali/ListHelpCommand;
7 25 1 printedHelp Z
8 25 2 parentJc Lcom/beust/jcommander/JCommander;
10 19 3 cmd Ljava/lang/String;
11 19 5 command Lcom/beust/jcommander/JCommander;
}
SourceFile: "ListHelpCommand.java"
NestMembers:
org.jf.baksmali.ListHelpCommand$ListHlepCommand
InnerClasses:
public ListHlepCommand = org.jf.baksmali.ListHelpCommand$ListHlepCommand of org.jf.baksmali.ListHelpCommand
RuntimeVisibleAnnotations:
com.beust.jcommander.Parameters(commandDescription = "Shows usage information")
org.jf.util.jcommander.ExtendedParameters(commandName = "help", commandAliases = {"h"})