class com.sun.jndi.rmi.registry.BindingEnumeration implements javax.naming.NamingEnumeration<javax.naming.Binding>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jndi.rmi.registry.BindingEnumeration
super_class: java.lang.Object
{
private com.sun.jndi.rmi.registry.RegistryContext ctx;
descriptor: Lcom/sun/jndi/rmi/registry/RegistryContext;
flags: (0x0002) ACC_PRIVATE
private final java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int nextName;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.jndi.rmi.registry.RegistryContext, java.lang.String[]);
descriptor: (Lcom/sun/jndi/rmi/registry/RegistryContext;[Ljava/lang/String;)V
flags: (0x0000)
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 com.sun.jndi.rmi.registry.RegistryContext
dup
aload 1
invokespecial com.sun.jndi.rmi.registry.RegistryContext.<init>:(Lcom/sun/jndi/rmi/registry/RegistryContext;)V
putfield com.sun.jndi.rmi.registry.BindingEnumeration.ctx:Lcom/sun/jndi/rmi/registry/RegistryContext;
2: aload 0
aload 2
putfield com.sun.jndi.rmi.registry.BindingEnumeration.names:[Ljava/lang/String;
3: aload 0
iconst_0
putfield com.sun.jndi.rmi.registry.BindingEnumeration.nextName:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
0 5 1 ctx Lcom/sun/jndi/rmi/registry/RegistryContext;
0 5 2 names [Ljava/lang/String;
MethodParameters:
Name Flags
ctx
names
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.ctx:Lcom/sun/jndi/rmi/registry/RegistryContext;
invokevirtual com.sun.jndi.rmi.registry.RegistryContext.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
public boolean hasMore();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.nextName:I
aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.names:[Ljava/lang/String;
arraylength
if_icmplt 2
1: aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.ctx:Lcom/sun/jndi/rmi/registry/RegistryContext;
invokevirtual com.sun.jndi.rmi.registry.RegistryContext.close:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.nextName:I
aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.names:[Ljava/lang/String;
arraylength
if_icmpge 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
public javax.naming.Binding next();
descriptor: ()Ljavax/naming/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.rmi.registry.BindingEnumeration.hasMore:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.names:[Ljava/lang/String;
aload 0
dup
getfield com.sun.jndi.rmi.registry.BindingEnumeration.nextName:I
dup_x1
iconst_1
iadd
putfield com.sun.jndi.rmi.registry.BindingEnumeration.nextName:I
aaload
astore 1
start local 1 3: new javax.naming.CompositeName
dup
invokespecial javax.naming.CompositeName.<init>:()V
aload 1
invokevirtual javax.naming.CompositeName.add:(Ljava/lang/String;)Ljavax/naming/Name;
astore 2
start local 2 4: aload 0
getfield com.sun.jndi.rmi.registry.BindingEnumeration.ctx:Lcom/sun/jndi/rmi/registry/RegistryContext;
aload 2
invokevirtual com.sun.jndi.rmi.registry.RegistryContext.lookup:(Ljavax/naming/Name;)Ljava/lang/Object;
astore 3
start local 3 5: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 6: new javax.naming.Binding
dup
aload 4
aload 3
invokespecial javax.naming.Binding.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 5
start local 5 7: aload 5
aload 4
invokevirtual javax.naming.Binding.setNameInNamespace:(Ljava/lang/String;)V
8: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
3 9 1 name Ljava/lang/String;
4 9 2 cname Ljavax/naming/Name;
5 9 3 obj Ljava/lang/Object;
6 9 4 cnameStr Ljava/lang/String;
7 9 5 binding Ljavax/naming/Binding;
Exceptions:
throws javax.naming.NamingException
public boolean hasMoreElements();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.rmi.registry.BindingEnumeration.hasMore:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
public javax.naming.Binding nextElement();
descriptor: ()Ljavax/naming/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.rmi.registry.BindingEnumeration.next:()Ljavax/naming/Binding;
1: areturn
2: StackMap locals:
StackMap stack: javax.naming.NamingException
pop
3: new java.util.NoSuchElementException
dup
4: ldc "javax.naming.NamingException was thrown"
5: invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.rmi.registry.BindingEnumeration.finalize:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/rmi/registry/BindingEnumeration;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.jndi.rmi.registry.BindingEnumeration.next:()Ljavax/naming/Binding;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.naming.NamingException
public java.lang.Object nextElement();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.jndi.rmi.registry.BindingEnumeration.nextElement:()Ljavax/naming/Binding;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
SourceFile: "RegistryContext.java"