public class com.sun.tools.javac.parser.Scanner implements com.sun.tools.javac.parser.Lexer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.parser.Scanner
super_class: java.lang.Object
{
private com.sun.tools.javac.parser.Tokens tokens;
descriptor: Lcom/sun/tools/javac/parser/Tokens;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javac.parser.Tokens$Token token;
descriptor: Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javac.parser.Tokens$Token prevToken;
descriptor: Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0002) ACC_PRIVATE
private java.util.List<com.sun.tools.javac.parser.Tokens$Token> savedTokens;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/tools/javac/parser/Tokens$Token;>;
private com.sun.tools.javac.parser.JavaTokenizer tokenizer;
descriptor: Lcom/sun/tools/javac/parser/JavaTokenizer;
flags: (0x0002) ACC_PRIVATE
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=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new com.sun.tools.javac.parser.JavaTokenizer
dup
aload 1
aload 2
invokespecial com.sun.tools.javac.parser.JavaTokenizer.<init>:(Lcom/sun/tools/javac/parser/ScannerFactory;Ljava/nio/CharBuffer;)V
invokespecial com.sun.tools.javac.parser.Scanner.<init>:(Lcom/sun/tools/javac/parser/ScannerFactory;Lcom/sun/tools/javac/parser/JavaTokenizer;)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/Scanner;
0 2 1 fac Lcom/sun/tools/javac/parser/ScannerFactory;
0 2 2 buf Ljava/nio/CharBuffer;
MethodParameters:
Name Flags
fac
buf
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=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
new com.sun.tools.javac.parser.JavaTokenizer
dup
aload 1
aload 2
iload 3
invokespecial com.sun.tools.javac.parser.JavaTokenizer.<init>:(Lcom/sun/tools/javac/parser/ScannerFactory;[CI)V
invokespecial com.sun.tools.javac.parser.Scanner.<init>:(Lcom/sun/tools/javac/parser/ScannerFactory;Lcom/sun/tools/javac/parser/JavaTokenizer;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/Scanner;
0 2 1 fac Lcom/sun/tools/javac/parser/ScannerFactory;
0 2 2 buf [C
0 2 3 inputLength I
MethodParameters:
Name Flags
fac
buf
inputLength
protected void <init>(com.sun.tools.javac.parser.ScannerFactory, com.sun.tools.javac.parser.JavaTokenizer);
descriptor: (Lcom/sun/tools/javac/parser/ScannerFactory;Lcom/sun/tools/javac/parser/JavaTokenizer;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.javac.parser.Scanner.savedTokens:Ljava/util/List;
2: aload 0
aload 2
putfield com.sun.tools.javac.parser.Scanner.tokenizer:Lcom/sun/tools/javac/parser/JavaTokenizer;
3: aload 0
aload 1
getfield com.sun.tools.javac.parser.ScannerFactory.tokens:Lcom/sun/tools/javac/parser/Tokens;
putfield com.sun.tools.javac.parser.Scanner.tokens:Lcom/sun/tools/javac/parser/Tokens;
4: aload 0
aload 0
getstatic com.sun.tools.javac.parser.Tokens.DUMMY:Lcom/sun/tools/javac/parser/Tokens$Token;
dup_x1
putfield com.sun.tools.javac.parser.Scanner.prevToken:Lcom/sun/tools/javac/parser/Tokens$Token;
putfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/parser/Scanner;
0 6 1 fac Lcom/sun/tools/javac/parser/ScannerFactory;
0 6 2 tokenizer Lcom/sun/tools/javac/parser/JavaTokenizer;
MethodParameters:
Name Flags
fac
tokenizer
public com.sun.tools.javac.parser.Tokens$Token token();
descriptor: ()Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual com.sun.tools.javac.parser.Scanner.token:(I)Lcom/sun/tools/javac/parser/Tokens$Token;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/Scanner;
public com.sun.tools.javac.parser.Tokens$Token token(int);
descriptor: (I)Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: aload 0
getfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.sun.tools.javac.parser.Scanner.ensureLookahead:(I)V
3: aload 0
getfield com.sun.tools.javac.parser.Scanner.savedTokens:Ljava/util/List;
iload 1
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.tools.javac.parser.Tokens$Token
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/parser/Scanner;
0 4 1 lookahead I
MethodParameters:
Name Flags
lookahead
private void ensureLookahead(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.parser.Scanner.savedTokens:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.javac.parser.Scanner.savedTokens:Ljava/util/List;
aload 0
getfield com.sun.tools.javac.parser.Scanner.tokenizer:Lcom/sun/tools/javac/parser/JavaTokenizer;
invokevirtual com.sun.tools.javac.parser.JavaTokenizer.readToken:()Lcom/sun/tools/javac/parser/Tokens$Token;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 1
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/parser/Scanner;
0 6 1 lookahead I
1 5 2 i I
MethodParameters:
Name Flags
lookahead
public com.sun.tools.javac.parser.Tokens$Token prevToken();
descriptor: ()Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.Scanner.prevToken:Lcom/sun/tools/javac/parser/Tokens$Token;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/Scanner;
public void nextToken();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
putfield com.sun.tools.javac.parser.Scanner.prevToken:Lcom/sun/tools/javac/parser/Tokens$Token;
1: aload 0
getfield com.sun.tools.javac.parser.Scanner.savedTokens:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 4
2: aload 0
aload 0
getfield com.sun.tools.javac.parser.Scanner.savedTokens:Ljava/util/List;
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast com.sun.tools.javac.parser.Tokens$Token
putfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.javac.parser.Scanner.tokenizer:Lcom/sun/tools/javac/parser/JavaTokenizer;
invokevirtual com.sun.tools.javac.parser.JavaTokenizer.readToken:()Lcom/sun/tools/javac/parser/Tokens$Token;
putfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/parser/Scanner;
public com.sun.tools.javac.parser.Tokens$Token split();
descriptor: ()Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
aload 0
getfield com.sun.tools.javac.parser.Scanner.tokens:Lcom/sun/tools/javac/parser/Tokens;
invokevirtual com.sun.tools.javac.parser.Tokens$Token.split:(Lcom/sun/tools/javac/parser/Tokens;)[Lcom/sun/tools/javac/parser/Tokens$Token;
astore 1
start local 1 1: aload 0
aload 1
iconst_0
aaload
putfield com.sun.tools.javac.parser.Scanner.prevToken:Lcom/sun/tools/javac/parser/Tokens$Token;
2: aload 0
aload 1
iconst_1
aaload
putfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
3: aload 0
getfield com.sun.tools.javac.parser.Scanner.token:Lcom/sun/tools/javac/parser/Tokens$Token;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/parser/Scanner;
1 4 1 splitTokens [Lcom/sun/tools/javac/parser/Tokens$Token;
public com.sun.tools.javac.util.Position$LineMap getLineMap();
descriptor: ()Lcom/sun/tools/javac/util/Position$LineMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.Scanner.tokenizer:Lcom/sun/tools/javac/parser/JavaTokenizer;
invokevirtual com.sun.tools.javac.parser.JavaTokenizer.getLineMap:()Lcom/sun/tools/javac/util/Position$LineMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/Scanner;
public int errPos();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.parser.Scanner.tokenizer:Lcom/sun/tools/javac/parser/JavaTokenizer;
invokevirtual com.sun.tools.javac.parser.JavaTokenizer.errPos:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/Scanner;
public void errPos(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.parser.Scanner.tokenizer:Lcom/sun/tools/javac/parser/JavaTokenizer;
iload 1
invokevirtual com.sun.tools.javac.parser.JavaTokenizer.errPos:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/parser/Scanner;
0 2 1 pos I
MethodParameters:
Name Flags
pos
}
SourceFile: "Scanner.java"
InnerClasses:
public Token = com.sun.tools.javac.parser.Tokens$Token of com.sun.tools.javac.parser.Tokens
public abstract LineMap = com.sun.tools.javac.util.Position$LineMap of com.sun.tools.javac.util.Position