public abstract class org.apache.commons.lang3.text.translate.CharSequenceTranslator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.lang3.text.translate.CharSequenceTranslator
super_class: java.lang.Object
{
static final char[] HEX_DIGITS;
descriptor: [C
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 16
newarray 5
dup
iconst_0
bipush 48
castore
dup
iconst_1
bipush 49
castore
dup
iconst_2
bipush 50
castore
dup
iconst_3
bipush 51
castore
dup
iconst_4
bipush 52
castore
dup
iconst_5
bipush 53
castore
dup
bipush 6
bipush 54
castore
dup
bipush 7
bipush 55
castore
dup
bipush 8
bipush 56
castore
dup
bipush 9
bipush 57
castore
dup
bipush 10
bipush 65
castore
dup
bipush 11
bipush 66
castore
dup
bipush 12
bipush 67
castore
dup
bipush 13
bipush 68
castore
dup
bipush 14
bipush 69
castore
dup
bipush 15
bipush 70
castore
putstatic org.apache.commons.lang3.text.translate.CharSequenceTranslator.HEX_DIGITS:[C
return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
public abstract int translate(java.lang.CharSequence, int, java.io.Writer);
descriptor: (Ljava/lang/CharSequence;ILjava/io/Writer;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
index
out
public final java.lang.String translate(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.io.StringWriter
dup
aload 1
invokeinterface java.lang.CharSequence.length:()I
iconst_2
imul
invokespecial java.io.StringWriter.<init>:(I)V
astore 2
start local 2 3: aload 0
aload 1
aload 2
invokevirtual org.apache.commons.lang3.text.translate.CharSequenceTranslator.translate:(Ljava/lang/CharSequence;Ljava/io/Writer;)V
4: aload 2
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
5: areturn
end local 2 6: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 7: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
0 8 1 input Ljava/lang/CharSequence;
3 6 2 writer Ljava/io/StringWriter;
7 8 2 ioe Ljava/io/IOException;
Exception table:
from to target type
2 5 6 Class java.io.IOException
MethodParameters:
Name Flags
input final
public final void translate(java.lang.CharSequence, java.io.Writer);
descriptor: (Ljava/lang/CharSequence;Ljava/io/Writer;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "The Writer must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 5: aload 1
invokeinterface java.lang.CharSequence.length:()I
istore 4
start local 4 6: goto 23
7: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
aload 2
invokevirtual org.apache.commons.lang3.text.translate.CharSequenceTranslator.translate:(Ljava/lang/CharSequence;ILjava/io/Writer;)I
istore 5
start local 5 8: iload 5
ifne 18
9: aload 1
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 6
start local 6 10: aload 2
iload 6
invokevirtual java.io.Writer.write:(I)V
11: iinc 3 1
12: iload 6
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 23
iload 3
iload 4
if_icmpge 23
13: aload 1
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 7
start local 7 14: iload 7
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 23
15: aload 2
iload 7
invokevirtual java.io.Writer.write:(I)V
16: iinc 3 1
end local 7 17: goto 23
end local 6 18: StackMap locals: int
StackMap stack:
iconst_0
istore 6
start local 6 19: goto 22
20: StackMap locals: int
StackMap stack:
iload 3
aload 1
iload 3
invokestatic java.lang.Character.codePointAt:(Ljava/lang/CharSequence;I)I
invokestatic java.lang.Character.charCount:(I)I
iadd
istore 3
21: iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
iload 5
if_icmplt 20
end local 6 end local 5 23: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 7
24: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
0 25 1 input Ljava/lang/CharSequence;
0 25 2 out Ljava/io/Writer;
5 25 3 pos I
6 25 4 len I
8 23 5 consumed I
10 18 6 c1 C
14 17 7 c2 C
19 23 6 pt I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input final
out final
public final org.apache.commons.lang3.text.translate.CharSequenceTranslator with(org.apache.commons.lang3.text.translate.CharSequenceTranslator[]);
descriptor: ([Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;)Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
iadd
anewarray org.apache.commons.lang3.text.translate.CharSequenceTranslator
astore 2
start local 2 1: aload 2
iconst_0
aload 0
aastore
2: aload 1
iconst_0
aload 2
iconst_1
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: new org.apache.commons.lang3.text.translate.AggregateTranslator
dup
aload 2
invokespecial org.apache.commons.lang3.text.translate.AggregateTranslator.<init>:([Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
0 4 1 translators [Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
1 4 2 newArray [Lorg/apache/commons/lang3/text/translate/CharSequenceTranslator;
MethodParameters:
Name Flags
translators final
public static java.lang.String hex(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 codepoint I
MethodParameters:
Name Flags
codepoint final
}
SourceFile: "CharSequenceTranslator.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()