class sun.rmi.rmic.iiop.NameContext
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.rmi.rmic.iiop.NameContext
super_class: java.lang.Object
{
private java.util.Hashtable table;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
private boolean allowCollisions;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static synchronized sun.rmi.rmic.iiop.NameContext forName(java.lang.String, boolean, sun.rmi.rmic.iiop.BatchEnvironment);
descriptor: (Ljava/lang/String;ZLsun/rmi/rmic/iiop/BatchEnvironment;)Lsun/rmi/rmic/iiop/NameContext;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
ifnonnull 3
2: ldc "null"
astore 0
3: StackMap locals: sun.rmi.rmic.iiop.NameContext
StackMap stack:
aload 2
getfield sun.rmi.rmic.iiop.BatchEnvironment.nameContexts:Ljava/util/Hashtable;
ifnonnull 6
4: aload 2
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.rmi.rmic.iiop.BatchEnvironment.nameContexts:Ljava/util/Hashtable;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 2
getfield sun.rmi.rmic.iiop.BatchEnvironment.nameContexts:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.rmi.rmic.iiop.NameContext
astore 3
7: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
8: new sun.rmi.rmic.iiop.NameContext
dup
iload 1
invokespecial sun.rmi.rmic.iiop.NameContext.<init>:(Z)V
astore 3
9: aload 2
getfield sun.rmi.rmic.iiop.BatchEnvironment.nameContexts:Ljava/util/Hashtable;
aload 0
aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 name Ljava/lang/String;
0 11 1 allowCollisions Z
0 11 2 env Lsun/rmi/rmic/iiop/BatchEnvironment;
1 11 3 result Lsun/rmi/rmic/iiop/NameContext;
MethodParameters:
Name Flags
name
allowCollisions
env
public void <init>(boolean);
descriptor: (Z)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
iload 1
putfield sun.rmi.rmic.iiop.NameContext.allowCollisions:Z
2: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.rmi.rmic.iiop.NameContext.table:Ljava/util/Hashtable;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/rmic/iiop/NameContext;
0 4 1 allowCollisions Z
MethodParameters:
Name Flags
allowCollisions
public void assertPut(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.rmi.rmic.iiop.NameContext.add:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 3
2: new java.lang.Exception
dup
aload 2
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/rmic/iiop/NameContext;
0 4 1 name Ljava/lang/String;
1 4 2 message Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
public void put(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.rmic.iiop.NameContext.allowCollisions:Z
ifne 2
1: new java.lang.Error
dup
ldc "Must use assertPut(name)"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.rmi.rmic.iiop.NameContext.add:(Ljava/lang/String;)Ljava/lang/String;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/rmic/iiop/NameContext;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private java.lang.String add(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield sun.rmi.rmic.iiop.NameContext.table:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.rmi.rmic.iiop.NameContext$Name
astore 3
start local 3 2: aload 3
ifnull 8
3: aload 1
aload 3
getfield sun.rmi.rmic.iiop.NameContext$Name.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
4: aload 0
getfield sun.rmi.rmic.iiop.NameContext.allowCollisions:Z
ifeq 7
5: aload 3
iconst_1
putfield sun.rmi.rmic.iiop.NameContext$Name.collisions:Z
6: goto 9
7: StackMap locals: java.lang.String sun.rmi.rmic.iiop.NameContext$Name
StackMap stack:
new java.lang.String
dup
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" and \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield sun.rmi.rmic.iiop.NameContext$Name.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.rmic.iiop.NameContext.table:Ljava/util/Hashtable;
aload 2
new sun.rmi.rmic.iiop.NameContext$Name
dup
aload 0
aload 1
iconst_0
invokespecial sun.rmi.rmic.iiop.NameContext$Name.<init>:(Lsun/rmi/rmic/iiop/NameContext;Ljava/lang/String;Z)V
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/rmi/rmic/iiop/NameContext;
0 10 1 name Ljava/lang/String;
1 10 2 key Ljava/lang/String;
2 10 3 value Lsun/rmi/rmic/iiop/NameContext$Name;
MethodParameters:
Name Flags
name
public java.lang.String get(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 0
getfield sun.rmi.rmic.iiop.NameContext.table:Ljava/util/Hashtable;
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.rmi.rmic.iiop.NameContext$Name
astore 2
start local 2 1: aload 1
astore 3
start local 3 2: aload 2
getfield sun.rmi.rmic.iiop.NameContext$Name.collisions:Z
ifeq 15
3: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 4: iconst_1
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 12
7: StackMap locals: sun.rmi.rmic.iiop.NameContext java.lang.String sun.rmi.rmic.iiop.NameContext$Name java.lang.String int int int
StackMap stack:
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isUpperCase:(C)Z
ifeq 11
8: new java.lang.StringBuilder
dup
aload 3
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
9: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
10: iconst_0
istore 5
11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 4
if_icmplt 7
end local 6 13: iload 5
ifeq 15
14: new java.lang.StringBuilder
dup
aload 3
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/rmi/rmic/iiop/NameContext;
0 16 1 name Ljava/lang/String;
1 16 2 it Lsun/rmi/rmic/iiop/NameContext$Name;
2 16 3 result Ljava/lang/String;
4 15 4 length I
5 15 5 allLower Z
6 13 6 i I
MethodParameters:
Name Flags
name
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.iiop.NameContext.table:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/rmic/iiop/NameContext;
}
SourceFile: "NameContext.java"
NestMembers:
sun.rmi.rmic.iiop.NameContext$Name
InnerClasses:
public Name = sun.rmi.rmic.iiop.NameContext$Name of sun.rmi.rmic.iiop.NameContext