public class com.sun.tools.javac.main.CommandLine
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.main.CommandLine
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/main/CommandLine;
public static java.util.List<java.lang.String> parse(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokestatic com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs:(Ljava/util/List;Ljava/util/List;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args Ljava/util/List<Ljava/lang/String;>;
1 3 1 newArgs Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
args
private static void appendParsedCommandArgs(java.util.List<java.lang.String>, java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: java.util.List java.util.List top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 9
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpne 9
3: aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
4: aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpne 7
5: aload 0
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: goto 10
7: StackMap locals: java.util.List java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 2
aload 0
invokestatic com.sun.tools.javac.main.CommandLine.loadCmdFile:(Ljava/lang/String;Ljava/util/List;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 10: StackMap locals: java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 newArgs Ljava/util/List<Ljava/lang/String;>;
0 12 1 args Ljava/util/List<Ljava/lang/String;>;
2 10 2 arg Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
newArgs
args
public static java.util.List<java.lang.String> parse(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
invokestatic com.sun.tools.javac.main.CommandLine.appendParsedEnvVariables:(Ljava/util/List;Ljava/lang/String;)V
2: aload 2
aload 1
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: aload 3
aload 2
invokestatic com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs:(Ljava/util/List;Ljava/util/List;)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 envVariable Ljava/lang/String;
0 6 1 args Ljava/util/List<Ljava/lang/String;>;
1 6 2 inArgs Ljava/util/List<Ljava/lang/String;>;
4 6 3 newArgs Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException, com.sun.tools.javac.main.CommandLine$UnmatchedQuote
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
envVariable
args
private static void loadCmdFile(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;
astore 4
start local 4 2: new com.sun.tools.javac.main.CommandLine$Tokenizer
dup
aload 4
invokespecial com.sun.tools.javac.main.CommandLine$Tokenizer.<init>:(Ljava/io/Reader;)V
astore 5
start local 5 3: goto 5
start local 6 4: StackMap locals: java.lang.String java.util.List java.lang.Throwable java.lang.Throwable java.io.Reader com.sun.tools.javac.main.CommandLine$Tokenizer java.lang.String
StackMap stack:
aload 1
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 5: StackMap locals:
StackMap stack:
aload 5
invokevirtual com.sun.tools.javac.main.CommandLine$Tokenizer.nextToken:()Ljava/lang/String;
dup
astore 6
start local 6 6: ifnonnull 4
end local 6 end local 5 7: aload 4
ifnull 13
aload 4
invokevirtual java.io.Reader.close:()V
goto 13
StackMap locals: java.lang.String java.util.List java.lang.Throwable java.lang.Throwable java.io.Reader
StackMap stack: java.lang.Throwable
8: astore 2
aload 4
ifnull 9
aload 4
invokevirtual java.io.Reader.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
aload 2
ifnonnull 11
aload 3
astore 2
goto 12
StackMap locals:
StackMap stack:
11: aload 2
aload 3
if_acmpeq 12
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 2
athrow
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 name Ljava/lang/String;
0 14 1 args Ljava/util/List<Ljava/lang/String;>;
2 9 4 r Ljava/io/Reader;
3 7 5 t Lcom/sun/tools/javac/main/CommandLine$Tokenizer;
4 5 6 s Ljava/lang/String;
6 7 6 s Ljava/lang/String;
Exception table:
from to target type
2 7 8 any
1 10 10 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
name
args
private static void appendParsedEnvVariables(java.util.List<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: StackMap locals: java.lang.String
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 33
10: StackMap locals: java.util.List java.lang.String java.lang.String int int java.lang.StringBuilder int
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 11: iload 7
lookupswitch { // 7
9: 21
10: 21
12: 21
13: 21
32: 21
34: 12
39: 12
default: 31
}
12: StackMap locals: int
StackMap stack:
iload 6
ifne 15
13: iload 7
istore 6
14: goto 19
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmpne 18
16: iconst_0
istore 6
17: goto 19
18: StackMap locals:
StackMap stack:
aload 5
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
iinc 4 1
20: goto 33
21: StackMap locals:
StackMap stack:
iload 6
ifne 31
22: aload 0
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 5
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
24: goto 29
25: StackMap locals:
StackMap stack:
iinc 4 1
26: iload 4
iload 3
if_icmplt 28
27: goto 34
28: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 7
29: StackMap locals:
StackMap stack:
iload 7
bipush 12
if_icmpeq 25
iload 7
bipush 10
if_icmpeq 25
iload 7
bipush 13
if_icmpeq 25
iload 7
bipush 9
if_icmpeq 25
iload 7
bipush 32
if_icmpeq 25
30: goto 33
31: StackMap locals:
StackMap stack:
aload 5
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: iinc 4 1
end local 7 33: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 10
34: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.StringBuilder.length:()I
ifeq 36
35: aload 0
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: StackMap locals:
StackMap stack:
iload 6
ifeq 38
37: new com.sun.tools.javac.main.CommandLine$UnmatchedQuote
dup
aload 1
invokespecial com.sun.tools.javac.main.CommandLine$UnmatchedQuote.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 newArgs Ljava/util/List<Ljava/lang/String;>;
0 39 1 envVariable Ljava/lang/String;
3 39 2 in Ljava/lang/String;
6 39 3 len I
7 39 4 pos I
8 39 5 sb Ljava/lang/StringBuilder;
9 39 6 quote C
11 33 7 ch C
Exceptions:
throws com.sun.tools.javac.main.CommandLine$UnmatchedQuote
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
newArgs
envVariable
}
SourceFile: "CommandLine.java"
NestMembers:
com.sun.tools.javac.main.CommandLine$Tokenizer com.sun.tools.javac.main.CommandLine$UnmatchedQuote
InnerClasses:
public Tokenizer = com.sun.tools.javac.main.CommandLine$Tokenizer of com.sun.tools.javac.main.CommandLine
public UnmatchedQuote = com.sun.tools.javac.main.CommandLine$UnmatchedQuote of com.sun.tools.javac.main.CommandLine