public class com.sun.tools.jdeprscan.CSV
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeprscan.CSV
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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/jdeprscan/CSV;
static java.lang.String quote(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ldc ","
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 2
start local 2 1: aload 0
ldc "\""
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 5
2: iconst_1
istore 2
3: aload 0
ldc "\""
ldc "\"\""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 1
start local 1 4: goto 6
end local 1 5: StackMap locals: java.lang.String top int
StackMap stack:
aload 0
astore 1
start local 1 6: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
iload 2
ifeq 8
7: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 input Ljava/lang/String;
4 5 1 result Ljava/lang/String;
6 9 1 result Ljava/lang/String;
1 9 2 needQuote Z
MethodParameters:
Name Flags
input
public static void write(java.io.PrintStream, java.lang.Object[]);
descriptor: (Ljava/io/PrintStream;[Ljava/lang/Object;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/Object.toString()Ljava/lang/String; (5)
(Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
com/sun/tools/jdeprscan/CSV.quote(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: ldc ","
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
4: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 out Ljava/io/PrintStream;
0 6 1 objs [Ljava/lang/Object;
MethodParameters:
Name Flags
out
objs
public static java.util.List<java.lang.String> split(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: getstatic com.sun.tools.jdeprscan.CSV$State.START_FIELD:Lcom/sun/tools/jdeprscan/CSV$State;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 32
5: StackMap locals: java.lang.String java.util.List java.lang.StringBuilder com.sun.tools.jdeprscan.CSV$State int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 5
lookupswitch { // 2
34: 14
44: 7
default: 23
}
7: StackMap locals: int
StackMap stack:
invokestatic com.sun.tools.jdeprscan.CSV.$SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State:()[I
aload 3
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iaload
tableswitch { // 3 - 3
3: 8
default: 10
}
8: StackMap locals:
StackMap stack:
aload 2
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: goto 31
10: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 2
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
12: getstatic com.sun.tools.jdeprscan.CSV$State.START_FIELD:Lcom/sun/tools/jdeprscan/CSV$State;
astore 3
13: goto 31
14: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.jdeprscan.CSV.$SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State:()[I
aload 3
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 15
2: 19
3: 17
4: 20
default: 22
}
15: StackMap locals:
StackMap stack:
getstatic com.sun.tools.jdeprscan.CSV$State.IN_QFIELD:Lcom/sun/tools/jdeprscan/CSV$State;
astore 3
16: goto 31
17: StackMap locals:
StackMap stack:
getstatic com.sun.tools.jdeprscan.CSV$State.END_QFIELD:Lcom/sun/tools/jdeprscan/CSV$State;
astore 3
18: goto 31
19: StackMap locals:
StackMap stack:
new com.sun.tools.jdeprscan.CSVParseException
dup
ldc "unexpected quote"
aload 0
iload 4
invokespecial com.sun.tools.jdeprscan.CSVParseException.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
athrow
20: StackMap locals:
StackMap stack:
aload 2
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: getstatic com.sun.tools.jdeprscan.CSV$State.IN_QFIELD:Lcom/sun/tools/jdeprscan/CSV$State;
astore 3
22: StackMap locals:
StackMap stack:
goto 31
23: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.jdeprscan.CSV.$SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State:()[I
aload 3
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 24
2: 26
3: 26
4: 27
default: 30
}
24: StackMap locals:
StackMap stack:
getstatic com.sun.tools.jdeprscan.CSV$State.IN_FIELD:Lcom/sun/tools/jdeprscan/CSV$State;
astore 3
25: goto 30
26: StackMap locals:
StackMap stack:
goto 30
27: StackMap locals:
StackMap stack:
new com.sun.tools.jdeprscan.CSVParseException
dup
ldc "extra character after quoted string"
28: aload 0
iload 4
29: invokespecial com.sun.tools.jdeprscan.CSVParseException.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
athrow
30: StackMap locals:
StackMap stack:
aload 2
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 31: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
32: iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 5
end local 4 33: aload 3
getstatic com.sun.tools.jdeprscan.CSV$State.IN_QFIELD:Lcom/sun/tools/jdeprscan/CSV$State;
if_acmpne 35
34: new com.sun.tools.jdeprscan.CSVParseException
dup
ldc "unclosed quote"
aload 0
aload 0
invokevirtual java.lang.String.length:()I
invokespecial com.sun.tools.jdeprscan.CSVParseException.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
athrow
35: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 input Ljava/lang/String;
1 37 1 result Ljava/util/List<Ljava/lang/String;>;
2 37 2 cur Ljava/lang/StringBuilder;
3 37 3 state Lcom/sun/tools/jdeprscan/CSV$State;
4 33 4 i I
6 31 5 ch C
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
input
static int[] $SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.jdeprscan.CSV.$SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.tools.jdeprscan.CSV$State.values:()[Lcom/sun/tools/jdeprscan/CSV$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.tools.jdeprscan.CSV$State.END_QFIELD:Lcom/sun/tools/jdeprscan/CSV$State;
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.tools.jdeprscan.CSV$State.IN_FIELD:Lcom/sun/tools/jdeprscan/CSV$State;
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.tools.jdeprscan.CSV$State.IN_QFIELD:Lcom/sun/tools/jdeprscan/CSV$State;
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.tools.jdeprscan.CSV$State.START_FIELD:Lcom/sun/tools/jdeprscan/CSV$State;
invokevirtual com.sun.tools.jdeprscan.CSV$State.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.sun.tools.jdeprscan.CSV.$SWITCH_TABLE$com$sun$tools$jdeprscan$CSV$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "CSV.java"
NestMembers:
com.sun.tools.jdeprscan.CSV$State
InnerClasses:
final State = com.sun.tools.jdeprscan.CSV$State of com.sun.tools.jdeprscan.CSV
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles