class com.sun.jndi.rmi.registry.NameClassPairEnumeration implements javax.naming.NamingEnumeration<javax.naming.NameClassPair>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jndi.rmi.registry.NameClassPairEnumeration
super_class: java.lang.Object
{
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>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, 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 com.sun.jndi.rmi.registry.NameClassPairEnumeration.names:[Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.jndi.rmi.registry.NameClassPairEnumeration.nextName:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/rmi/registry/NameClassPairEnumeration;
0 4 1 names [Ljava/lang/String;
MethodParameters:
Name Flags
names
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.NameClassPairEnumeration.nextName:I
aload 0
getfield com.sun.jndi.rmi.registry.NameClassPairEnumeration.names:[Ljava/lang/String;
arraylength
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/rmi/registry/NameClassPairEnumeration;
public javax.naming.NameClassPair next();
descriptor: ()Ljavax/naming/NameClassPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.rmi.registry.NameClassPairEnumeration.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.NameClassPairEnumeration.names:[Ljava/lang/String;
aload 0
dup
getfield com.sun.jndi.rmi.registry.NameClassPairEnumeration.nextName:I
dup_x1
iconst_1
iadd
putfield com.sun.jndi.rmi.registry.NameClassPairEnumeration.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: new javax.naming.NameClassPair
dup
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
5: ldc "java.lang.Object"
6: invokespecial javax.naming.NameClassPair.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 7: aload 3
aload 1
invokevirtual javax.naming.NameClassPair.setNameInNamespace:(Ljava/lang/String;)V
8: aload 3
areturn
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/NameClassPairEnumeration;
3 9 1 name Ljava/lang/String;
4 9 2 cname Ljavax/naming/Name;
7 9 3 ncp Ljavax/naming/NameClassPair;
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.NameClassPairEnumeration.hasMore:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/rmi/registry/NameClassPairEnumeration;
public javax.naming.NameClassPair nextElement();
descriptor: ()Ljavax/naming/NameClassPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.rmi.registry.NameClassPairEnumeration.next:()Ljavax/naming/NameClassPair;
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/NameClassPairEnumeration;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.jndi.rmi.registry.NameClassPairEnumeration.names:[Ljava/lang/String;
arraylength
putfield com.sun.jndi.rmi.registry.NameClassPairEnumeration.nextName:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/rmi/registry/NameClassPairEnumeration;
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.NameClassPairEnumeration.next:()Ljavax/naming/NameClassPair;
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.NameClassPairEnumeration.nextElement:()Ljavax/naming/NameClassPair;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavax/naming/NamingEnumeration<Ljavax/naming/NameClassPair;>;
SourceFile: "RegistryContext.java"