public class com.sun.tools.javac.parser.Tokens
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.parser.Tokens
super_class: java.lang.Object
{
private final com.sun.tools.javac.util.Names names;
descriptor: Lcom/sun/tools/javac/util/Names;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.parser.Tokens$TokenKind[] key;
descriptor: [Lcom/sun/tools/javac/parser/Tokens$TokenKind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int maxKey;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javac.util.Name[] tokenName;
descriptor: [Lcom/sun/tools/javac/util/Name;
flags: (0x0002) ACC_PRIVATE
public static final com.sun.tools.javac.util.Context$Key<com.sun.tools.javac.parser.Tokens> tokensKey;
descriptor: Lcom/sun/tools/javac/util/Context$Key;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lcom/sun/tools/javac/util/Context$Key<Lcom/sun/tools/javac/parser/Tokens;>;
public static final com.sun.tools.javac.parser.Tokens$Token DUMMY;
descriptor: Lcom/sun/tools/javac/parser/Tokens$Token;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new com.sun.tools.javac.util.Context$Key
dup
invokespecial com.sun.tools.javac.util.Context$Key.<init>:()V
putstatic com.sun.tools.javac.parser.Tokens.tokensKey:Lcom/sun/tools/javac/util/Context$Key;
1: new com.sun.tools.javac.parser.Tokens$Token
dup
getstatic com.sun.tools.javac.parser.Tokens$TokenKind.ERROR:Lcom/sun/tools/javac/parser/Tokens$TokenKind;
iconst_0
iconst_0
aconst_null
invokespecial com.sun.tools.javac.parser.Tokens$Token.<init>:(Lcom/sun/tools/javac/parser/Tokens$TokenKind;IILcom/sun/tools/javac/util/List;)V
2: putstatic com.sun.tools.javac.parser.Tokens.DUMMY:Lcom/sun/tools/javac/parser/Tokens$Token;
3: return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.tools.javac.parser.Tokens instance(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/Tokens;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic com.sun.tools.javac.parser.Tokens.tokensKey:Lcom/sun/tools/javac/util/Context$Key;
invokevirtual com.sun.tools.javac.util.Context.get:(Lcom/sun/tools/javac/util/Context$Key;)Ljava/lang/Object;
checkcast com.sun.tools.javac.parser.Tokens
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.sun.tools.javac.parser.Tokens
dup
aload 0
invokespecial com.sun.tools.javac.parser.Tokens.<init>:(Lcom/sun/tools/javac/util/Context;)V
astore 1
3: StackMap locals: com.sun.tools.javac.parser.Tokens
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/sun/tools/javac/util/Context;
1 4 1 instance Lcom/sun/tools/javac/parser/Tokens;
MethodParameters:
Name Flags
context
protected void <init>(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.javac.parser.Tokens.maxKey:I
2: aload 0
invokestatic com.sun.tools.javac.parser.Tokens$TokenKind.values:()[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
arraylength
anewarray com.sun.tools.javac.util.Name
putfield com.sun.tools.javac.parser.Tokens.tokenName:[Lcom/sun/tools/javac/util/Name;
3: aload 1
getstatic com.sun.tools.javac.parser.Tokens.tokensKey:Lcom/sun/tools/javac/util/Context$Key;
aload 0
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
4: aload 0
aload 1
invokestatic com.sun.tools.javac.util.Names.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Names;
putfield com.sun.tools.javac.parser.Tokens.names:Lcom/sun/tools/javac/util/Names;
5: invokestatic com.sun.tools.javac.parser.Tokens$TokenKind.values:()[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 11
StackMap locals: com.sun.tools.javac.parser.Tokens com.sun.tools.javac.util.Context top int int com.sun.tools.javac.parser.Tokens$TokenKind[]
StackMap stack:
6: aload 5
iload 3
aaload
astore 2
start local 2 7: aload 2
getfield com.sun.tools.javac.parser.Tokens$TokenKind.name:Ljava/lang/String;
ifnull 9
8: aload 0
aload 2
getfield com.sun.tools.javac.parser.Tokens$TokenKind.name:Ljava/lang/String;
aload 2
invokevirtual com.sun.tools.javac.parser.Tokens.enterKeyword:(Ljava/lang/String;Lcom/sun/tools/javac/parser/Tokens$TokenKind;)V
goto 10
9: StackMap locals: com.sun.tools.javac.parser.Tokens com.sun.tools.javac.util.Context com.sun.tools.javac.parser.Tokens$TokenKind int int com.sun.tools.javac.parser.Tokens$TokenKind[]
StackMap stack:
aload 0
getfield com.sun.tools.javac.parser.Tokens.tokenName:[Lcom/sun/tools/javac/util/Name;
aload 2
invokevirtual com.sun.tools.javac.parser.Tokens$TokenKind.ordinal:()I
aconst_null
aastore
end local 2 10: StackMap locals: com.sun.tools.javac.parser.Tokens com.sun.tools.javac.util.Context top int int com.sun.tools.javac.parser.Tokens$TokenKind[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
iload 4
if_icmplt 6
12: aload 0
aload 0
getfield com.sun.tools.javac.parser.Tokens.maxKey:I
iconst_1
iadd
anewarray com.sun.tools.javac.parser.Tokens$TokenKind
putfield com.sun.tools.javac.parser.Tokens.key:[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
13: iconst_0
istore 2
start local 2 14: goto 16
StackMap locals: com.sun.tools.javac.parser.Tokens com.sun.tools.javac.util.Context int
StackMap stack:
15: aload 0
getfield com.sun.tools.javac.parser.Tokens.key:[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
iload 2
getstatic com.sun.tools.javac.parser.Tokens$TokenKind.IDENTIFIER:Lcom/sun/tools/javac/parser/Tokens$TokenKind;
aastore
iinc 2 1
StackMap locals:
StackMap stack:
16: iload 2
aload 0
getfield com.sun.tools.javac.parser.Tokens.maxKey:I
if_icmple 15
end local 2 17: invokestatic com.sun.tools.javac.parser.Tokens$TokenKind.values:()[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 22
StackMap locals: com.sun.tools.javac.parser.Tokens com.sun.tools.javac.util.Context top int int com.sun.tools.javac.parser.Tokens$TokenKind[]
StackMap stack:
18: aload 5
iload 3
aaload
astore 2
start local 2 19: aload 2
getfield com.sun.tools.javac.parser.Tokens$TokenKind.name:Ljava/lang/String;
ifnull 21
20: aload 0
getfield com.sun.tools.javac.parser.Tokens.key:[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
aload 0
getfield com.sun.tools.javac.parser.Tokens.tokenName:[Lcom/sun/tools/javac/util/Name;
aload 2
invokevirtual com.sun.tools.javac.parser.Tokens$TokenKind.ordinal:()I
aaload
invokevirtual com.sun.tools.javac.util.Name.getIndex:()I
aload 2
aastore
end local 2 21: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 4
if_icmplt 18
23: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/javac/parser/Tokens;
0 24 1 context Lcom/sun/tools/javac/util/Context;
7 10 2 t Lcom/sun/tools/javac/parser/Tokens$TokenKind;
14 17 2 i I
19 21 2 t Lcom/sun/tools/javac/parser/Tokens$TokenKind;
MethodParameters:
Name Flags
context
private void enterKeyword(java.lang.String, com.sun.tools.javac.parser.Tokens$TokenKind);
descriptor: (Ljava/lang/String;Lcom/sun/tools/javac/parser/Tokens$TokenKind;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.parser.Tokens.names:Lcom/sun/tools/javac/util/Names;
aload 1
invokevirtual com.sun.tools.javac.util.Names.fromString:(Ljava/lang/String;)Lcom/sun/tools/javac/util/Name;
astore 3
start local 3 1: aload 0
getfield com.sun.tools.javac.parser.Tokens.tokenName:[Lcom/sun/tools/javac/util/Name;
aload 2
invokevirtual com.sun.tools.javac.parser.Tokens$TokenKind.ordinal:()I
aload 3
aastore
2: aload 3
invokevirtual com.sun.tools.javac.util.Name.getIndex:()I
aload 0
getfield com.sun.tools.javac.parser.Tokens.maxKey:I
if_icmple 3
aload 0
aload 3
invokevirtual com.sun.tools.javac.util.Name.getIndex:()I
putfield com.sun.tools.javac.parser.Tokens.maxKey:I
3: StackMap locals: com.sun.tools.javac.util.Name
StackMap stack:
return
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/Tokens;
0 4 1 s Ljava/lang/String;
0 4 2 token Lcom/sun/tools/javac/parser/Tokens$TokenKind;
1 4 3 n Lcom/sun/tools/javac/util/Name;
MethodParameters:
Name Flags
s
token
com.sun.tools.javac.parser.Tokens$TokenKind lookupKind(com.sun.tools.javac.util.Name);
descriptor: (Lcom/sun/tools/javac/util/Name;)Lcom/sun/tools/javac/parser/Tokens$TokenKind;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.javac.util.Name.getIndex:()I
aload 0
getfield com.sun.tools.javac.parser.Tokens.maxKey:I
if_icmple 1
getstatic com.sun.tools.javac.parser.Tokens$TokenKind.IDENTIFIER:Lcom/sun/tools/javac/parser/Tokens$TokenKind;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.tools.javac.parser.Tokens.key:[Lcom/sun/tools/javac/parser/Tokens$TokenKind;
aload 1
invokevirtual com.sun.tools.javac.util.Name.getIndex:()I
aaload
StackMap locals:
StackMap stack: com.sun.tools.javac.parser.Tokens$TokenKind
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/parser/Tokens;
0 3 1 name Lcom/sun/tools/javac/util/Name;
MethodParameters:
Name Flags
name
com.sun.tools.javac.parser.Tokens$TokenKind lookupKind(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/javac/parser/Tokens$TokenKind;
flags: (0x0000)
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.Tokens.names:Lcom/sun/tools/javac/util/Names;
aload 1
invokevirtual com.sun.tools.javac.util.Names.fromString:(Ljava/lang/String;)Lcom/sun/tools/javac/util/Name;
invokevirtual com.sun.tools.javac.parser.Tokens.lookupKind:(Lcom/sun/tools/javac/util/Name;)Lcom/sun/tools/javac/parser/Tokens$TokenKind;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/Tokens;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "Tokens.java"
NestMembers:
com.sun.tools.javac.parser.Tokens$Comment com.sun.tools.javac.parser.Tokens$Comment$CommentStyle com.sun.tools.javac.parser.Tokens$NamedToken com.sun.tools.javac.parser.Tokens$NumericToken com.sun.tools.javac.parser.Tokens$StringToken com.sun.tools.javac.parser.Tokens$Token com.sun.tools.javac.parser.Tokens$Token$Tag com.sun.tools.javac.parser.Tokens$TokenKind
InnerClasses:
public abstract Comment = com.sun.tools.javac.parser.Tokens$Comment of com.sun.tools.javac.parser.Tokens
final NamedToken = com.sun.tools.javac.parser.Tokens$NamedToken of com.sun.tools.javac.parser.Tokens
final NumericToken = com.sun.tools.javac.parser.Tokens$NumericToken of com.sun.tools.javac.parser.Tokens
StringToken = com.sun.tools.javac.parser.Tokens$StringToken of com.sun.tools.javac.parser.Tokens
public Token = com.sun.tools.javac.parser.Tokens$Token of com.sun.tools.javac.parser.Tokens
public final TokenKind = com.sun.tools.javac.parser.Tokens$TokenKind of com.sun.tools.javac.parser.Tokens
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context