class org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper extends org.apache.commons.lang3.text.translate.CharSequenceTranslator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper
super_class: org.apache.commons.lang3.text.translate.CharSequenceTranslator
{
private static final char CSV_DELIMITER;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 44
private static final char CSV_QUOTE;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 34
private static final java.lang.String CSV_QUOTE_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] CSV_SEARCH_CHARS;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 34
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
putstatic org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper.CSV_QUOTE_STR:Ljava/lang/String;
1: iconst_4
newarray 5
dup
iconst_0
bipush 44
castore
dup
iconst_1
bipush 34
castore
dup
iconst_2
bipush 13
castore
dup
iconst_3
bipush 10
castore
putstatic org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper.CSV_SEARCH_CHARS:[C
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.lang3.text.translate.CharSequenceTranslator.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/StringEscapeUtils$CsvUnescaper;
public int translate(java.lang.CharSequence, int, java.io.Writer);
descriptor: (Ljava/lang/CharSequence;ILjava/io/Writer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "CsvUnescaper should never reach the [1] index"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 34
if_icmpne 3
aload 1
aload 1
invokeinterface java.lang.CharSequence.length:()I
iconst_1
isub
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 34
if_icmpeq 5
3: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokestatic java.lang.Character.codePointCount:(Ljava/lang/CharSequence;II)I
ireturn
5: StackMap locals:
StackMap stack:
aload 1
iconst_1
aload 1
invokeinterface java.lang.CharSequence.length:()I
iconst_1
isub
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper.CSV_SEARCH_CHARS:[C
invokestatic org.apache.commons.lang3.StringUtils.containsAny:(Ljava/lang/CharSequence;[C)Z
ifeq 9
7: aload 3
aload 4
new java.lang.StringBuilder
dup
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper.CSV_QUOTE_STR:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper.CSV_QUOTE_STR:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper.CSV_QUOTE_STR:Ljava/lang/String;
invokestatic org.apache.commons.lang3.StringUtils.replace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokestatic java.lang.Character.codePointCount:(Ljava/lang/CharSequence;II)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/lang3/StringEscapeUtils$CsvUnescaper;
0 11 1 input Ljava/lang/CharSequence;
0 11 2 index I
0 11 3 out Ljava/io/Writer;
6 11 4 quoteless Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
index final
out final
}
SourceFile: "StringEscapeUtils.java"
NestHost: org.apache.commons.lang3.StringEscapeUtils
InnerClasses:
CsvUnescaper = org.apache.commons.lang3.StringEscapeUtils$CsvUnescaper of org.apache.commons.lang3.StringEscapeUtils