public final class org.apache.lucene.analysis.CharacterUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.analysis.CharacterUtils
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/analysis/CharacterUtils;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/lucene/analysis/CharacterUtils;
public static org.apache.lucene.analysis.CharacterUtils$CharacterBuffer newCharacterBuffer(int);
descriptor: (I)Lorg/apache/lucene/analysis/CharacterUtils$CharacterBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iconst_2
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "buffersize must be >= 2"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.lucene.analysis.CharacterUtils$CharacterBuffer
dup
iload 0
newarray 5
iconst_0
iconst_0
invokespecial org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bufferSize I
MethodParameters:
Name Flags
bufferSize final
public static void toLowerCase(char[], int, int);
descriptor: ([CII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
ifne 1
aload 0
arraylength
iload 2
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
ifne 3
iload 1
iflt 2
iload 1
aload 0
arraylength
if_icmple 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 4: goto 10
5: StackMap locals: int
StackMap stack:
iload 3
6: aload 0
iload 3
iload 2
invokestatic java.lang.Character.codePointAt:([CII)I
7: invokestatic java.lang.Character.toLowerCase:(I)I
8: aload 0
iload 3
9: invokestatic java.lang.Character.toChars:(I[CI)I
iadd
istore 3
10: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 5
end local 3 11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 buffer [C
0 12 1 offset I
0 12 2 limit I
4 11 3 i I
MethodParameters:
Name Flags
buffer final
offset final
limit final
public static void toUpperCase(char[], int, int);
descriptor: ([CII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
ifne 1
aload 0
arraylength
iload 2
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
ifne 3
iload 1
iflt 2
iload 1
aload 0
arraylength
if_icmple 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 4: goto 10
5: StackMap locals: int
StackMap stack:
iload 3
6: aload 0
iload 3
iload 2
invokestatic java.lang.Character.codePointAt:([CII)I
7: invokestatic java.lang.Character.toUpperCase:(I)I
8: aload 0
iload 3
9: invokestatic java.lang.Character.toChars:(I[CI)I
iadd
istore 3
10: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 5
end local 3 11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 buffer [C
0 12 1 offset I
0 12 2 limit I
4 11 3 i I
MethodParameters:
Name Flags
buffer final
offset final
limit final
public static int toCodePoints(char[], int, int, int[], int);
descriptor: ([CII[II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "srcLen must be >= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 9
5: StackMap locals: int int
StackMap stack:
aload 0
iload 1
iload 6
iadd
iload 1
iload 2
iadd
invokestatic java.lang.Character.codePointAt:([CII)I
istore 7
start local 7 6: iload 7
invokestatic java.lang.Character.charCount:(I)I
istore 8
start local 8 7: aload 3
iload 4
iload 5
iinc 5 1
iadd
iload 7
iastore
8: iload 6
iload 8
iadd
istore 6
end local 8 end local 7 9: StackMap locals:
StackMap stack:
iload 6
iload 2
if_icmplt 5
end local 6 10: iload 5
ireturn
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 11 0 src [C
0 11 1 srcOff I
0 11 2 srcLen I
0 11 3 dest [I
0 11 4 destOff I
3 11 5 codePointCount I
4 10 6 i I
6 9 7 cp I
7 9 8 charCount I
MethodParameters:
Name Flags
src
srcOff
srcLen
dest
destOff
public static int toChars(int[], int, int, char[], int);
descriptor: ([III[CI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "srcLen must be >= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 7
5: StackMap locals: int int
StackMap stack:
iload 5
aload 0
iload 1
iload 6
iadd
iaload
aload 3
iload 4
iload 5
iadd
invokestatic java.lang.Character.toChars:(I[CI)I
iadd
istore 5
6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
iload 2
if_icmplt 5
end local 6 8: iload 5
ireturn
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 9 0 src [I
0 9 1 srcOff I
0 9 2 srcLen I
0 9 3 dest [C
0 9 4 destOff I
3 9 5 written I
4 8 6 i I
MethodParameters:
Name Flags
src
srcOff
srcLen
dest
destOff
public static boolean fill(org.apache.lucene.analysis.CharacterUtils$CharacterBuffer, java.io.Reader, int);
descriptor: (Lorg/apache/lucene/analysis/CharacterUtils$CharacterBuffer;Ljava/io/Reader;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.buffer:[C
arraylength
iconst_2
if_icmpge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 2
iconst_2
if_icmplt 2
iload 2
aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.buffer:[C
arraylength
if_icmple 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "numChars must be >= 2 and <= the buffer size"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.buffer:[C
astore 3
start local 3 4: aload 0
iconst_0
putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.offset:I
5: aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
ifeq 10
6: aload 3
iconst_0
aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
castore
7: aload 0
iconst_0
putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
8: iconst_1
istore 4
start local 4 9: goto 11
end local 4 10: StackMap locals: char[]
StackMap stack:
iconst_0
istore 4
start local 4 11: StackMap locals: int
StackMap stack:
aload 1
aload 3
iload 4
iload 2
iload 4
isub
invokestatic org.apache.lucene.analysis.CharacterUtils.readFully:(Ljava/io/Reader;[CII)I
istore 5
start local 5 12: aload 0
iload 4
iload 5
iadd
putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
13: aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
iload 2
if_icmpne 14
iconst_1
goto 15
StackMap locals: int
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 6
start local 6 16: aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
iload 2
if_icmpge 18
17: iload 6
ireturn
18: StackMap locals: int
StackMap stack:
aload 3
aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
iconst_1
isub
caload
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 20
19: aload 0
aload 3
aload 0
dup
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
iconst_1
isub
dup_x1
putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
caload
putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
20: StackMap locals:
StackMap stack:
iload 6
ireturn
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 21 0 buffer Lorg/apache/lucene/analysis/CharacterUtils$CharacterBuffer;
0 21 1 reader Ljava/io/Reader;
0 21 2 numChars I
4 21 3 charBuffer [C
9 10 4 offset I
11 21 4 offset I
12 21 5 read I
16 21 6 result Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
reader
numChars
public static boolean fill(org.apache.lucene.analysis.CharacterUtils$CharacterBuffer, java.io.Reader);
descriptor: (Lorg/apache/lucene/analysis/CharacterUtils$CharacterBuffer;Ljava/io/Reader;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.buffer:[C
arraylength
invokestatic org.apache.lucene.analysis.CharacterUtils.fill:(Lorg/apache/lucene/analysis/CharacterUtils$CharacterBuffer;Ljava/io/Reader;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Lorg/apache/lucene/analysis/CharacterUtils$CharacterBuffer;
0 1 1 reader Ljava/io/Reader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
reader
static int readFully(java.io.Reader, char[], int, int);
descriptor: (Ljava/io/Reader;[CII)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 4
iadd
iload 3
iload 4
isub
invokevirtual java.io.Reader.read:([CII)I
istore 5
start local 5 3: iload 5
iconst_m1
if_icmpne 5
4: goto 7
5: StackMap locals: int
StackMap stack:
iload 4
iload 5
iadd
istore 4
end local 5 6: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 2
7: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 reader Ljava/io/Reader;
0 8 1 dest [C
0 8 2 offset I
0 8 3 len I
1 8 4 read I
3 6 5 r I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader
dest
offset
len
}
SourceFile: "CharacterUtils.java"
NestMembers:
org.apache.lucene.analysis.CharacterUtils$CharacterBuffer
InnerClasses:
public final CharacterBuffer = org.apache.lucene.analysis.CharacterUtils$CharacterBuffer of org.apache.lucene.analysis.CharacterUtils