public class jdk.nashorn.internal.codegen.Namespace
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.Namespace
super_class: java.lang.Object
{
private final jdk.nashorn.internal.codegen.Namespace parent;
descriptor: Ljdk/nashorn/internal/codegen/Namespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.HashMap<java.lang.String, java.lang.Integer> directory;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial jdk.nashorn.internal.codegen.Namespace.<init>:(Ljdk/nashorn/internal/codegen/Namespace;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Namespace;
public void <init>(jdk.nashorn.internal.codegen.Namespace);
descriptor: (Ljdk/nashorn/internal/codegen/Namespace;)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
aload 1
putfield jdk.nashorn.internal.codegen.Namespace.parent:Ljdk/nashorn/internal/codegen/Namespace;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.Namespace.directory:Ljava/util/HashMap;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/Namespace;
0 4 1 parent Ljdk/nashorn/internal/codegen/Namespace;
MethodParameters:
Name Flags
parent final
public jdk.nashorn.internal.codegen.Namespace getParent();
descriptor: ()Ljdk/nashorn/internal/codegen/Namespace;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Namespace.parent:Ljdk/nashorn/internal/codegen/Namespace;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Namespace;
public java.lang.String uniqueName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
ldc 32768
if_icmple 1
aload 1
iconst_0
ldc 32768
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.String
2: astore 2
start local 2 3: aload 0
astore 3
start local 3 4: goto 12
5: StackMap locals: java.lang.String jdk.nashorn.internal.codegen.Namespace
StackMap stack:
aload 3
getfield jdk.nashorn.internal.codegen.Namespace.directory:Ljava/util/HashMap;
astore 4
start local 4 6: aload 4
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 5
start local 5 7: aload 5
ifnull 11
8: aload 5
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
istore 6
start local 6 9: aload 4
aload 2
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.nashorn.internal.codegen.CompilerConstants.ID_FUNCTION_SEPARATOR:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.nashorn.internal.codegen.Namespace.getParent:()Ljdk/nashorn/internal/codegen/Namespace;
astore 3
StackMap locals:
StackMap stack:
12: aload 3
ifnonnull 5
end local 3 13: aload 0
getfield jdk.nashorn.internal.codegen.Namespace.directory:Ljava/util/HashMap;
aload 2
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/nashorn/internal/codegen/Namespace;
0 15 1 base Ljava/lang/String;
3 15 2 truncatedBase Ljava/lang/String;
4 13 3 namespace Ljdk/nashorn/internal/codegen/Namespace;
6 11 4 namespaceDirectory Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;
7 11 5 counter Ljava/lang/Integer;
9 11 6 count I
MethodParameters:
Name Flags
base final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Namespace.directory:Ljava/util/HashMap;
invokevirtual java.util.HashMap.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Namespace;
}
SourceFile: "Namespace.java"