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: .line 27
            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 // org.apache.lucene.analysis.CharacterUtils this
         0: .line 29
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.lucene.analysis.CharacterUtils this
      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 // int bufferSize
         0: .line 40
            iload 0 /* bufferSize */
            iconst_2
            if_icmpge 2
         1: .line 41
            new java.lang.IllegalArgumentException
            dup
            ldc "buffersize must be >= 2"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 43
      StackMap locals:
      StackMap stack:
            new org.apache.lucene.analysis.CharacterUtils$CharacterBuffer
            dup
            iload 0 /* bufferSize */
            newarray 5
            iconst_0
            iconst_0
            invokespecial org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.<init>:([CII)V
            areturn
        end local 0 // int bufferSize
      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 // char[] buffer
        start local 1 // int offset
        start local 2 // int limit
         0: .line 55
            getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
            ifne 1
            aload 0 /* buffer */
            arraylength
            iload 2 /* limit */
            if_icmpge 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 56
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
            ifne 3
            iload 1 /* offset */
            iflt 2
            iload 1 /* offset */
            aload 0 /* buffer */
            arraylength
            if_icmple 3
      StackMap locals:
      StackMap stack:
         2: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 57
      StackMap locals:
      StackMap stack:
            iload 1 /* offset */
            istore 3 /* i */
        start local 3 // int i
         4: goto 10
         5: .line 58
      StackMap locals: int
      StackMap stack:
            iload 3 /* i */
         6: .line 60
            aload 0 /* buffer */
            iload 3 /* i */
            iload 2 /* limit */
            invokestatic java.lang.Character.codePointAt:([CII)I
         7: .line 59
            invokestatic java.lang.Character.toLowerCase:(I)I
         8: .line 60
            aload 0 /* buffer */
            iload 3 /* i */
         9: .line 58
            invokestatic java.lang.Character.toChars:(I[CI)I
            iadd
            istore 3 /* i */
        10: .line 57
      StackMap locals:
      StackMap stack:
            iload 3 /* i */
            iload 2 /* limit */
            if_icmplt 5
        end local 3 // int i
        11: .line 62
            return
        end local 2 // int limit
        end local 1 // int offset
        end local 0 // char[] buffer
      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 // char[] buffer
        start local 1 // int offset
        start local 2 // int limit
         0: .line 72
            getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
            ifne 1
            aload 0 /* buffer */
            arraylength
            iload 2 /* limit */
            if_icmpge 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 73
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
            ifne 3
            iload 1 /* offset */
            iflt 2
            iload 1 /* offset */
            aload 0 /* buffer */
            arraylength
            if_icmple 3
      StackMap locals:
      StackMap stack:
         2: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 74
      StackMap locals:
      StackMap stack:
            iload 1 /* offset */
            istore 3 /* i */
        start local 3 // int i
         4: goto 10
         5: .line 75
      StackMap locals: int
      StackMap stack:
            iload 3 /* i */
         6: .line 77
            aload 0 /* buffer */
            iload 3 /* i */
            iload 2 /* limit */
            invokestatic java.lang.Character.codePointAt:([CII)I
         7: .line 76
            invokestatic java.lang.Character.toUpperCase:(I)I
         8: .line 77
            aload 0 /* buffer */
            iload 3 /* i */
         9: .line 75
            invokestatic java.lang.Character.toChars:(I[CI)I
            iadd
            istore 3 /* i */
        10: .line 74
      StackMap locals:
      StackMap stack:
            iload 3 /* i */
            iload 2 /* limit */
            if_icmplt 5
        end local 3 // int i
        11: .line 79
            return
        end local 2 // int limit
        end local 1 // int offset
        end local 0 // char[] buffer
      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 // char[] src
        start local 1 // int srcOff
        start local 2 // int srcLen
        start local 3 // int[] dest
        start local 4 // int destOff
         0: .line 84
            iload 2 /* srcLen */
            ifge 2
         1: .line 85
            new java.lang.IllegalArgumentException
            dup
            ldc "srcLen must be >= 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 87
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 5 /* codePointCount */
        start local 5 // int codePointCount
         3: .line 88
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         4: goto 9
         5: .line 89
      StackMap locals: int int
      StackMap stack:
            aload 0 /* src */
            iload 1 /* srcOff */
            iload 6 /* i */
            iadd
            iload 1 /* srcOff */
            iload 2 /* srcLen */
            iadd
            invokestatic java.lang.Character.codePointAt:([CII)I
            istore 7 /* cp */
        start local 7 // int cp
         6: .line 90
            iload 7 /* cp */
            invokestatic java.lang.Character.charCount:(I)I
            istore 8 /* charCount */
        start local 8 // int charCount
         7: .line 91
            aload 3 /* dest */
            iload 4 /* destOff */
            iload 5 /* codePointCount */
            iinc 5 /* codePointCount */ 1
            iadd
            iload 7 /* cp */
            iastore
         8: .line 92
            iload 6 /* i */
            iload 8 /* charCount */
            iadd
            istore 6 /* i */
        end local 8 // int charCount
        end local 7 // int cp
         9: .line 88
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            iload 2 /* srcLen */
            if_icmplt 5
        end local 6 // int i
        10: .line 94
            iload 5 /* codePointCount */
            ireturn
        end local 5 // int codePointCount
        end local 4 // int destOff
        end local 3 // int[] dest
        end local 2 // int srcLen
        end local 1 // int srcOff
        end local 0 // char[] src
      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 // int[] src
        start local 1 // int srcOff
        start local 2 // int srcLen
        start local 3 // char[] dest
        start local 4 // int destOff
         0: .line 100
            iload 2 /* srcLen */
            ifge 2
         1: .line 101
            new java.lang.IllegalArgumentException
            dup
            ldc "srcLen must be >= 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 103
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 5 /* written */
        start local 5 // int written
         3: .line 104
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         4: goto 7
         5: .line 105
      StackMap locals: int int
      StackMap stack:
            iload 5 /* written */
            aload 0 /* src */
            iload 1 /* srcOff */
            iload 6 /* i */
            iadd
            iaload
            aload 3 /* dest */
            iload 4 /* destOff */
            iload 5 /* written */
            iadd
            invokestatic java.lang.Character.toChars:(I[CI)I
            iadd
            istore 5 /* written */
         6: .line 104
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 6 /* i */
            iload 2 /* srcLen */
            if_icmplt 5
        end local 6 // int i
         8: .line 107
            iload 5 /* written */
            ireturn
        end local 5 // int written
        end local 4 // int destOff
        end local 3 // char[] dest
        end local 2 // int srcLen
        end local 1 // int srcOff
        end local 0 // int[] src
      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 // org.apache.lucene.analysis.CharacterUtils$CharacterBuffer buffer
        start local 1 // java.io.Reader reader
        start local 2 // int numChars
         0: .line 143
            getstatic org.apache.lucene.analysis.CharacterUtils.$assertionsDisabled:Z
            ifne 1
            aload 0 /* buffer */
            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: .line 144
      StackMap locals:
      StackMap stack:
            iload 2 /* numChars */
            iconst_2
            if_icmplt 2
            iload 2 /* numChars */
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.buffer:[C
            arraylength
            if_icmple 3
         2: .line 145
      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: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.buffer:[C
            astore 3 /* charBuffer */
        start local 3 // char[] charBuffer
         4: .line 148
            aload 0 /* buffer */
            iconst_0
            putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.offset:I
         5: .line 152
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
            ifeq 10
         6: .line 153
            aload 3 /* charBuffer */
            iconst_0
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
            castore
         7: .line 154
            aload 0 /* buffer */
            iconst_0
            putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.lastTrailingHighSurrogate:C
         8: .line 155
            iconst_1
            istore 4 /* offset */
        start local 4 // int offset
         9: .line 156
            goto 11
        end local 4 // int offset
        10: .line 157
      StackMap locals: char[]
      StackMap stack:
            iconst_0
            istore 4 /* offset */
        start local 4 // int offset
        11: .line 160
      StackMap locals: int
      StackMap stack:
            aload 1 /* reader */
            aload 3 /* charBuffer */
            iload 4 /* offset */
            iload 2 /* numChars */
            iload 4 /* offset */
            isub
            invokestatic org.apache.lucene.analysis.CharacterUtils.readFully:(Ljava/io/Reader;[CII)I
            istore 5 /* read */
        start local 5 // int read
        12: .line 162
            aload 0 /* buffer */
            iload 4 /* offset */
            iload 5 /* read */
            iadd
            putfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
        13: .line 163
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
            iload 2 /* numChars */
            if_icmpne 14
            iconst_1
            goto 15
      StackMap locals: int
      StackMap stack:
        14: iconst_0
      StackMap locals:
      StackMap stack: int
        15: istore 6 /* result */
        start local 6 // boolean result
        16: .line 164
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
            iload 2 /* numChars */
            if_icmpge 18
        17: .line 167
            iload 6 /* result */
            ireturn
        18: .line 170
      StackMap locals: int
      StackMap stack:
            aload 3 /* charBuffer */
            aload 0 /* buffer */
            getfield org.apache.lucene.analysis.CharacterUtils$CharacterBuffer.length:I
            iconst_1
            isub
            caload
            invokestatic java.lang.Character.isHighSurrogate:(C)Z
            ifeq 20
        19: .line 171
            aload 0 /* buffer */
            aload 3 /* charBuffer */
            aload 0 /* buffer */
            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: .line 173
      StackMap locals:
      StackMap stack:
            iload 6 /* result */
            ireturn
        end local 6 // boolean result
        end local 5 // int read
        end local 4 // int offset
        end local 3 // char[] charBuffer
        end local 2 // int numChars
        end local 1 // java.io.Reader reader
        end local 0 // org.apache.lucene.analysis.CharacterUtils$CharacterBuffer buffer
      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 // org.apache.lucene.analysis.CharacterUtils$CharacterBuffer buffer
        start local 1 // java.io.Reader reader
         0: .line 178
            aload 0 /* buffer */
            aload 1 /* reader */
            aload 0 /* buffer */
            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 // java.io.Reader reader
        end local 0 // org.apache.lucene.analysis.CharacterUtils$CharacterBuffer buffer
      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 // java.io.Reader reader
        start local 1 // char[] dest
        start local 2 // int offset
        start local 3 // int len
         0: .line 182
            iconst_0
            istore 4 /* read */
        start local 4 // int read
         1: .line 183
            goto 6
         2: .line 184
      StackMap locals: int
      StackMap stack:
            aload 0 /* reader */
            aload 1 /* dest */
            iload 2 /* offset */
            iload 4 /* read */
            iadd
            iload 3 /* len */
            iload 4 /* read */
            isub
            invokevirtual java.io.Reader.read:([CII)I
            istore 5 /* r */
        start local 5 // int r
         3: .line 185
            iload 5 /* r */
            iconst_m1
            if_icmpne 5
         4: .line 186
            goto 7
         5: .line 188
      StackMap locals: int
      StackMap stack:
            iload 4 /* read */
            iload 5 /* r */
            iadd
            istore 4 /* read */
        end local 5 // int r
         6: .line 183
      StackMap locals:
      StackMap stack:
            iload 4 /* read */
            iload 3 /* len */
            if_icmplt 2
         7: .line 190
      StackMap locals:
      StackMap stack:
            iload 4 /* read */
            ireturn
        end local 4 // int read
        end local 3 // int len
        end local 2 // int offset
        end local 1 // char[] dest
        end local 0 // java.io.Reader reader
      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