public class com.sun.tools.javac.parser.UnicodeReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.parser.UnicodeReader
super_class: java.lang.Object
{
protected char[] buf;
descriptor: [C
flags: (0x0004) ACC_PROTECTED
protected int bp;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected final int buflen;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected char ch;
descriptor: C
flags: (0x0004) ACC_PROTECTED
protected int unicodeConversionBp;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected com.sun.tools.javac.util.Log log;
descriptor: Lcom/sun/tools/javac/util/Log;
flags: (0x0004) ACC_PROTECTED
protected com.sun.tools.javac.util.Names names;
descriptor: Lcom/sun/tools/javac/util/Names;
flags: (0x0004) ACC_PROTECTED
protected char[] sbuf;
descriptor: [C
flags: (0x0004) ACC_PROTECTED
protected int sp;
descriptor: I
flags: (0x0004) ACC_PROTECTED
static final boolean surrogatesSupported;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.tools.javac.parser.UnicodeReader.surrogatesSupported:()Z
putstatic com.sun.tools.javac.parser.UnicodeReader.surrogatesSupported:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(com.sun.tools.javac.parser.ScannerFactory, java.nio.CharBuffer);
descriptor: (Lcom/sun/tools/javac/parser/ScannerFactory;Ljava/nio/CharBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.sun.tools.javac.file.JavacFileManager.toArray:(Ljava/nio/CharBuffer;)[C
aload 2
invokevirtual java.nio.CharBuffer.limit:()I
invokespecial com.sun.tools.javac.parser.UnicodeReader.<init>:(Lcom/sun/tools/javac/parser/ScannerFactory;[CI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 2 1 sf Lcom/sun/tools/javac/parser/ScannerFactory;
0 2 2 buffer Ljava/nio/CharBuffer;
MethodParameters:
Name Flags
sf
buffer
protected void <init>(com.sun.tools.javac.parser.ScannerFactory, char[], int);
descriptor: (Lcom/sun/tools/javac/parser/ScannerFactory;[CI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield com.sun.tools.javac.parser.UnicodeReader.unicodeConversionBp:I
2: aload 0
sipush 128
newarray 5
putfield com.sun.tools.javac.parser.UnicodeReader.sbuf:[C
3: aload 0
aload 1
getfield com.sun.tools.javac.parser.ScannerFactory.log:Lcom/sun/tools/javac/util/Log;
putfield com.sun.tools.javac.parser.UnicodeReader.log:Lcom/sun/tools/javac/util/Log;
4: aload 0
aload 1
getfield com.sun.tools.javac.parser.ScannerFactory.names:Lcom/sun/tools/javac/util/Names;
putfield com.sun.tools.javac.parser.UnicodeReader.names:Lcom/sun/tools/javac/util/Names;
5: iload 3
aload 2
arraylength
if_icmpne 10
6: aload 2
arraylength
ifle 9
aload 2
aload 2
arraylength
iconst_1
isub
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 9
7: iinc 3 -1
8: goto 10
9: StackMap locals: com.sun.tools.javac.parser.UnicodeReader com.sun.tools.javac.parser.ScannerFactory char[] int
StackMap stack:
aload 2
iload 3
iconst_1
iadd
invokestatic java.util.Arrays.copyOf:([CI)[C
astore 2
10: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
11: aload 0
iload 3
putfield com.sun.tools.javac.parser.UnicodeReader.buflen:I
12: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buflen:I
bipush 26
castore
13: aload 0
iconst_m1
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
14: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.scanChar:()V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 16 1 sf Lcom/sun/tools/javac/parser/ScannerFactory;
0 16 2 input [C
0 16 3 inputLength I
MethodParameters:
Name Flags
sf
input
inputLength
protected void scanChar();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buflen:I
if_icmpge 4
1: aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
iadd
dup_x1
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
caload
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
2: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
bipush 92
if_icmpne 4
3: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.convertUnicode:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.scanChar:()V
1: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
bipush 92
if_icmpne 6
2: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.peekChar:()C
bipush 92
if_icmpne 5
aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.isUnicode:()Z
ifne 5
3: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.skipChar:()V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.convertUnicode:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
protected void putChar(char, boolean);
descriptor: (CZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sbuf:[C
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sp:I
invokestatic com.sun.tools.javac.util.ArrayUtils.ensureCapacity:([CI)[C
putfield com.sun.tools.javac.parser.UnicodeReader.sbuf:[C
1: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sbuf:[C
aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.sp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.parser.UnicodeReader.sp:I
iload 1
castore
2: iload 2
ifeq 4
3: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.scanChar:()V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 5 1 ch C
0 5 2 scan Z
MethodParameters:
Name Flags
ch
scan
protected void putChar(char);
descriptor: (C)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.putChar:(CZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 2 1 ch C
MethodParameters:
Name Flags
ch
protected void putChar(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
iload 1
invokevirtual com.sun.tools.javac.parser.UnicodeReader.putChar:(CZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 2 1 scan Z
MethodParameters:
Name Flags
scan
com.sun.tools.javac.util.Name name();
descriptor: ()Lcom/sun/tools/javac/util/Name;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.names:Lcom/sun/tools/javac/util/Names;
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sbuf:[C
iconst_0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sp:I
invokevirtual com.sun.tools.javac.util.Names.fromChars:([CII)Lcom/sun/tools/javac/util/Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
java.lang.String chars();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sbuf:[C
iconst_0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.sp:I
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
protected void convertUnicode();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
bipush 92
if_icmpne 22
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.unicodeConversionBp:I
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
if_icmpeq 22
1: aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
iadd
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
caload
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
2: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
bipush 117
if_icmpne 20
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
iadd
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
caload
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
4: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
bipush 117
if_icmpeq 3
5: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_3
iadd
istore 1
start local 1 6: iload 1
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buflen:I
if_icmpge 18
7: aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
bipush 16
invokevirtual com.sun.tools.javac.parser.UnicodeReader.digit:(II)I
istore 2
start local 2 8: iload 2
istore 3
start local 3 9: goto 13
10: StackMap locals: int int int
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
iadd
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
caload
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
11: aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
bipush 16
invokevirtual com.sun.tools.javac.parser.UnicodeReader.digit:(II)I
istore 2
12: iload 3
iconst_4
ishl
iload 2
iadd
istore 3
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iload 1
if_icmpge 14
iload 2
ifge 10
14: StackMap locals:
StackMap stack:
iload 2
iflt 18
15: aload 0
iload 3
i2c
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
16: aload 0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
putfield com.sun.tools.javac.parser.UnicodeReader.unicodeConversionBp:I
17: return
end local 3 end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.log:Lcom/sun/tools/javac/util/Log;
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
ldc "illegal.unicode.esc"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javac.util.Log.error:(ILjava/lang/String;[Ljava/lang/Object;)V
end local 1 19: goto 22
20: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
isub
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
21: aload 0
bipush 92
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
6 19 1 limit I
8 18 2 d I
9 18 3 code I
private static boolean surrogatesSupported();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 97
invokestatic java.lang.Character.isHighSurrogate:(C)Z
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodError
pop
3: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodError
protected int peekSurrogates();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: getstatic com.sun.tools.javac.parser.UnicodeReader.surrogatesSupported:Z
ifeq 9
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 9
1: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
istore 1
start local 1 2: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
istore 2
start local 2 3: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.scanChar:()V
4: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
istore 3
start local 3 5: aload 0
iload 1
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
6: aload 0
iload 2
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
7: iload 3
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 9
8: iload 1
iload 3
invokestatic java.lang.Character.toCodePoint:(CC)I
ireturn
end local 3 end local 2 end local 1 9: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
2 9 1 high C
3 9 2 prevBP I
5 9 3 low C
protected int digit(int, int);
descriptor: (II)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.ch:C
istore 3
start local 3 1: bipush 48
iload 3
if_icmpgt 3
iload 3
bipush 57
if_icmpgt 3
2: iload 3
iload 2
invokestatic java.lang.Character.digit:(CI)I
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.peekSurrogates:()I
istore 4
start local 4 4: iload 4
iflt 5
iload 4
iload 2
invokestatic java.lang.Character.digit:(II)I
goto 6
StackMap locals: int
StackMap stack:
5: iload 3
iload 2
invokestatic java.lang.Character.digit:(CI)I
StackMap locals:
StackMap stack: int
6: istore 5
start local 5 7: iload 5
iflt 12
iload 3
bipush 127
if_icmple 12
8: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.log:Lcom/sun/tools/javac/util/Log;
iload 1
iconst_1
iadd
ldc "illegal.nonascii.digit"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javac.util.Log.error:(ILjava/lang/String;[Ljava/lang/Object;)V
9: iload 4
iflt 11
10: aload 0
invokevirtual com.sun.tools.javac.parser.UnicodeReader.scanChar:()V
11: StackMap locals: int
StackMap stack:
aload 0
ldc "0123456789abcdef"
iload 5
invokevirtual java.lang.String.charAt:(I)C
putfield com.sun.tools.javac.parser.UnicodeReader.ch:C
12: StackMap locals:
StackMap stack:
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 13 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 13 1 pos I
0 13 2 base I
1 13 3 c C
4 13 4 codePoint I
7 13 5 result I
MethodParameters:
Name Flags
pos
base
protected boolean isUnicode();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.unicodeConversionBp:I
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
protected void skipChar();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
iadd
putfield com.sun.tools.javac.parser.UnicodeReader.bp:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
protected char peekChar();
descriptor: ()C
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.bp:I
iconst_1
iadd
caload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
public char[] getRawCharacters();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buflen:I
newarray 5
astore 1
start local 1 1: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
iconst_0
aload 1
iconst_0
aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buflen:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
1 3 1 chars [C
public char[] getRawCharacters(int, int);
descriptor: (II)[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
istore 3
start local 3 1: iload 3
newarray 5
astore 4
start local 4 2: aload 0
getfield com.sun.tools.javac.parser.UnicodeReader.buf:[C
iload 1
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/parser/UnicodeReader;
0 4 1 beginIndex I
0 4 2 endIndex I
1 4 3 length I
2 4 4 chars [C
MethodParameters:
Name Flags
beginIndex
endIndex
}
SourceFile: "UnicodeReader.java"