public class org.antlr.v4.tool.AttributeDict
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.AttributeDict
super_class: java.lang.Object
{
public java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.ast.GrammarAST ast;
descriptor: Lorg/antlr/v4/tool/ast/GrammarAST;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.AttributeDict$DictType type;
descriptor: Lorg/antlr/v4/tool/AttributeDict$DictType;
flags: (0x0001) ACC_PUBLIC
public static final org.antlr.v4.tool.AttributeDict predefinedTokenDict;
descriptor: Lorg/antlr/v4/tool/AttributeDict;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public final java.util.LinkedHashMap<java.lang.String, org.antlr.v4.tool.Attribute> attributes;
descriptor: Ljava/util/LinkedHashMap;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/LinkedHashMap<Ljava/lang/String;Lorg/antlr/v4/tool/Attribute;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.antlr.v4.tool.AttributeDict
dup
getstatic org.antlr.v4.tool.AttributeDict$DictType.TOKEN:Lorg/antlr/v4/tool/AttributeDict$DictType;
invokespecial org.antlr.v4.tool.AttributeDict.<init>:(Lorg/antlr/v4/tool/AttributeDict$DictType;)V
putstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
1: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "text"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
2: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "type"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
3: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "line"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
4: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "index"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
5: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "pos"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
6: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "channel"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
7: getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "int"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/AttributeDict;
public void <init>(org.antlr.v4.tool.AttributeDict$DictType);
descriptor: (Lorg/antlr/v4/tool/AttributeDict$DictType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
3: aload 0
aload 1
putfield org.antlr.v4.tool.AttributeDict.type:Lorg/antlr/v4/tool/AttributeDict$DictType;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/AttributeDict;
0 4 1 type Lorg/antlr/v4/tool/AttributeDict$DictType;
MethodParameters:
Name Flags
type
public org.antlr.v4.tool.Attribute add(org.antlr.v4.tool.Attribute);
descriptor: (Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
putfield org.antlr.v4.tool.Attribute.dict:Lorg/antlr/v4/tool/AttributeDict;
aload 0
getfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
aload 1
getfield org.antlr.v4.tool.Attribute.name:Ljava/lang/String;
aload 1
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Attribute
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/AttributeDict;
0 1 1 a Lorg/antlr/v4/tool/Attribute;
MethodParameters:
Name Flags
a
public org.antlr.v4.tool.Attribute get(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
aload 1
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Attribute
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/AttributeDict;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.AttributeDict.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/AttributeDict;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/AttributeDict;
public java.util.Set<java.lang.String> intersection(org.antlr.v4.tool.AttributeDict);
descriptor: (Lorg/antlr/v4/tool/AttributeDict;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.size:()I
ifeq 1
aload 0
invokevirtual org.antlr.v4.tool.AttributeDict.size:()I
ifne 2
1: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
aload 0
getfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.keySet:()Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 3: aload 2
aload 1
getfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.retainAll:(Ljava/util/Collection;)Z
pop
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/AttributeDict;
0 5 1 other Lorg/antlr/v4/tool/AttributeDict;
3 5 2 result Ljava/util/Set<Ljava/lang/String;>;
Signature: (Lorg/antlr/v4/tool/AttributeDict;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
other
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.antlr.v4.tool.AttributeDict.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.AttributeDict.attributes:Ljava/util/LinkedHashMap;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/AttributeDict;
}
SourceFile: "AttributeDict.java"
NestMembers:
org.antlr.v4.tool.AttributeDict$DictType
InnerClasses:
public final DictType = org.antlr.v4.tool.AttributeDict$DictType of org.antlr.v4.tool.AttributeDict