public final class com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl implements javax.naming.NamingEnumeration<javax.naming.directory.SearchResult>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl
super_class: java.lang.Object
{
private javax.naming.NamingEnumeration<javax.naming.Binding> candidates;
descriptor: Ljavax/naming/NamingEnumeration;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
private javax.naming.directory.SearchResult nextMatch;
descriptor: Ljavax/naming/directory/SearchResult;
flags: (0x0002) ACC_PRIVATE
private javax.naming.directory.SearchControls cons;
descriptor: Ljavax/naming/directory/SearchControls;
flags: (0x0002) ACC_PRIVATE
private com.sun.jndi.toolkit.dir.AttrFilter filter;
descriptor: Lcom/sun/jndi/toolkit/dir/AttrFilter;
flags: (0x0002) ACC_PRIVATE
private javax.naming.Context context;
descriptor: Ljavax/naming/Context;
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable<java.lang.String, java.lang.Object> env;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
private boolean useFactory;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.naming.NamingEnumeration<javax.naming.Binding>, com.sun.jndi.toolkit.dir.AttrFilter, javax.naming.directory.SearchControls);
descriptor: (Ljavax/naming/NamingEnumeration;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.nextMatch:Ljavax/naming/directory/SearchResult;
2: aload 0
iconst_1
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.useFactory:Z
3: aload 0
aload 1
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.candidates:Ljavax/naming/NamingEnumeration;
4: aload 0
aload 2
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.filter:Lcom/sun/jndi/toolkit/dir/AttrFilter;
5: aload 3
ifnonnull 8
6: aload 0
new javax.naming.directory.SearchControls
dup
invokespecial javax.naming.directory.SearchControls.<init>:()V
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.cons:Ljavax/naming/directory/SearchControls;
7: goto 9
8: StackMap locals: com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl javax.naming.NamingEnumeration com.sun.jndi.toolkit.dir.AttrFilter javax.naming.directory.SearchControls
StackMap stack:
aload 0
aload 3
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.cons:Ljavax/naming/directory/SearchControls;
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
0 10 1 candidates Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
0 10 2 filter Lcom/sun/jndi/toolkit/dir/AttrFilter;
0 10 3 cons Ljavax/naming/directory/SearchControls;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;)V
MethodParameters:
Name Flags
candidates
filter
cons
public void <init>(javax.naming.NamingEnumeration<javax.naming.Binding>, com.sun.jndi.toolkit.dir.AttrFilter, javax.naming.directory.SearchControls, javax.naming.Context, java.util.Hashtable<java.lang.String, java.lang.Object>, );
descriptor: (Ljavax/naming/NamingEnumeration;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;Ljavax/naming/Context;Ljava/util/Hashtable;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.nextMatch:Ljavax/naming/directory/SearchResult;
2: aload 0
iconst_1
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.useFactory:Z
3: aload 0
aload 1
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.candidates:Ljavax/naming/NamingEnumeration;
4: aload 0
aload 2
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.filter:Lcom/sun/jndi/toolkit/dir/AttrFilter;
5: aload 0
aload 5
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.env:Ljava/util/Hashtable;
6: aload 0
aload 4
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.context:Ljavax/naming/Context;
7: aload 0
iload 6
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.useFactory:Z
8: aload 3
ifnonnull 11
9: aload 0
new javax.naming.directory.SearchControls
dup
invokespecial javax.naming.directory.SearchControls.<init>:()V
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.cons:Ljavax/naming/directory/SearchControls;
10: goto 12
11: StackMap locals: com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl javax.naming.NamingEnumeration com.sun.jndi.toolkit.dir.AttrFilter javax.naming.directory.SearchControls javax.naming.Context java.util.Hashtable int
StackMap stack:
aload 0
aload 3
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.cons:Ljavax/naming/directory/SearchControls;
12: StackMap locals:
StackMap stack:
return
end local 6 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 13 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
0 13 1 candidates Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
0 13 2 filter Lcom/sun/jndi/toolkit/dir/AttrFilter;
0 13 3 cons Ljavax/naming/directory/SearchControls;
0 13 4 ctx Ljavax/naming/Context;
0 13 5 env Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
0 13 6 useFactory Z
Exceptions:
throws javax.naming.NamingException
Signature: (Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;Ljavax/naming/Context;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;Z)V
MethodParameters:
Name Flags
candidates
filter
cons
ctx
env
useFactory
public void <init>(javax.naming.NamingEnumeration<javax.naming.Binding>, com.sun.jndi.toolkit.dir.AttrFilter, javax.naming.directory.SearchControls, javax.naming.Context, java.util.Hashtable<java.lang.String, java.lang.Object>);
descriptor: (Ljavax/naming/NamingEnumeration;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;Ljavax/naming/Context;Ljava/util/Hashtable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iconst_1
invokespecial com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.<init>:(Ljavax/naming/NamingEnumeration;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;Ljavax/naming/Context;Ljava/util/Hashtable;Z)V
1: return
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 2 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
0 2 1 candidates Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
0 2 2 filter Lcom/sun/jndi/toolkit/dir/AttrFilter;
0 2 3 cons Ljavax/naming/directory/SearchControls;
0 2 4 ctx Ljavax/naming/Context;
0 2 5 env Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;Lcom/sun/jndi/toolkit/dir/AttrFilter;Ljavax/naming/directory/SearchControls;Ljavax/naming/Context;Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
candidates
filter
cons
ctx
env
public boolean hasMore();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.findNextMatch:(Z)Ljavax/naming/directory/SearchResult;
ifnull 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/toolkit/dir/LazySearchEnumerationImpl;
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.toolkit.dir.LazySearchEnumerationImpl.hasMore:()Z
1: ireturn
2: StackMap locals:
StackMap stack: javax.naming.NamingException
pop
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
public javax.naming.directory.SearchResult nextElement();
descriptor: ()Ljavax/naming/directory/SearchResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.findNextMatch:(Z)Ljavax/naming/directory/SearchResult;
1: areturn
2: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 1
start local 1 3: new java.util.NoSuchElementException
dup
aload 1
invokevirtual javax.naming.NamingException.toString:()Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
3 4 1 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
public javax.naming.directory.SearchResult next();
descriptor: ()Ljavax/naming/directory/SearchResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.findNextMatch:(Z)Ljavax/naming/directory/SearchResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
Exceptions:
throws 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
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.candidates:Ljavax/naming/NamingEnumeration;
ifnull 2
1: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.candidates:Ljavax/naming/NamingEnumeration;
invokeinterface javax.naming.NamingEnumeration.close:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
Exceptions:
throws javax.naming.NamingException
private javax.naming.directory.SearchResult findNextMatch(boolean);
descriptor: (Z)Ljavax/naming/directory/SearchResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.nextMatch:Ljavax/naming/directory/SearchResult;
ifnull 40
1: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.nextMatch:Ljavax/naming/directory/SearchResult;
astore 2
start local 2 2: iload 1
ifeq 4
3: aload 0
aconst_null
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.nextMatch:Ljavax/naming/directory/SearchResult;
4: StackMap locals: javax.naming.directory.SearchResult
StackMap stack:
aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.candidates:Ljavax/naming/NamingEnumeration;
invokeinterface javax.naming.NamingEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.Binding
astore 3
start local 3 6: aload 3
invokevirtual javax.naming.Binding.getObject:()Ljava/lang/Object;
astore 4
start local 4 7: aload 4
instanceof javax.naming.directory.DirContext
ifeq 40
8: aload 4
checkcast javax.naming.directory.DirContext
ldc ""
invokeinterface javax.naming.directory.DirContext.getAttributes:(Ljava/lang/String;)Ljavax/naming/directory/Attributes;
astore 5
start local 5 9: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.filter:Lcom/sun/jndi/toolkit/dir/AttrFilter;
aload 5
invokeinterface com.sun.jndi.toolkit.dir.AttrFilter.check:(Ljavax/naming/directory/Attributes;)Z
ifeq 40
10: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.cons:Ljavax/naming/directory/SearchControls;
invokevirtual javax.naming.directory.SearchControls.getReturningObjFlag:()Z
ifne 13
11: aconst_null
astore 4
12: goto 30
StackMap locals: com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl int top javax.naming.Binding java.lang.Object javax.naming.directory.Attributes
StackMap stack:
13: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.useFactory:Z
ifeq 30
14: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.context:Ljavax/naming/Context;
ifnull 16
15: new javax.naming.CompositeName
dup
aload 3
invokevirtual javax.naming.Binding.getName:()Ljava/lang/String;
invokespecial javax.naming.CompositeName.<init>:(Ljava/lang/String;)V
goto 17
StackMap locals:
StackMap stack:
16: aconst_null
17: StackMap locals:
StackMap stack: javax.naming.CompositeName
astore 6
start local 6 18: aload 4
19: aload 6
aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.context:Ljavax/naming/Context;
aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.env:Ljava/util/Hashtable;
aload 5
20: invokestatic javax.naming.spi.DirectoryManager.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;Ljavax/naming/directory/Attributes;)Ljava/lang/Object;
astore 4
end local 6 21: goto 30
StackMap locals:
StackMap stack: javax.naming.NamingException
22: astore 6
start local 6 23: aload 6
athrow
end local 6 24: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 25: new javax.naming.NamingException
dup
26: ldc "problem generating object using object factory"
27: invokespecial javax.naming.NamingException.<init>:(Ljava/lang/String;)V
astore 7
start local 7 28: aload 7
aload 6
invokevirtual javax.naming.NamingException.setRootCause:(Ljava/lang/Throwable;)V
29: aload 7
athrow
end local 7 end local 6 30: StackMap locals:
StackMap stack:
new javax.naming.directory.SearchResult
dup
aload 3
invokevirtual javax.naming.Binding.getName:()Ljava/lang/String;
31: aload 3
invokevirtual javax.naming.Binding.getClassName:()Ljava/lang/String;
aload 4
32: aload 5
33: aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.cons:Ljavax/naming/directory/SearchControls;
invokevirtual javax.naming.directory.SearchControls.getReturningAttributes:()[Ljava/lang/String;
34: invokestatic com.sun.jndi.toolkit.dir.SearchFilter.selectAttributes:(Ljavax/naming/directory/Attributes;[Ljava/lang/String;)Ljavax/naming/directory/Attributes;
35: iconst_1
36: invokespecial javax.naming.directory.SearchResult.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljavax/naming/directory/Attributes;Z)V
astore 2
start local 2 37: iload 1
ifne 39
38: aload 0
aload 2
putfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.nextMatch:Ljavax/naming/directory/SearchResult;
39: StackMap locals: com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl int javax.naming.directory.SearchResult javax.naming.Binding java.lang.Object javax.naming.directory.Attributes
StackMap stack:
aload 2
areturn
end local 5 end local 4 end local 3 end local 2 40: StackMap locals: com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl int
StackMap stack:
aload 0
getfield com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl.candidates:Ljavax/naming/NamingEnumeration;
invokeinterface javax.naming.NamingEnumeration.hasMore:()Z
ifne 5
41: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lcom/sun/jndi/toolkit/dir/LazySearchEnumerationImpl;
0 42 1 remove Z
2 5 2 answer Ljavax/naming/directory/SearchResult;
37 40 2 answer Ljavax/naming/directory/SearchResult;
6 40 3 next Ljavax/naming/Binding;
7 40 4 obj Ljava/lang/Object;
9 40 5 targetAttrs Ljavax/naming/directory/Attributes;
18 21 6 nm Ljavax/naming/Name;
23 24 6 e Ljavax/naming/NamingException;
25 30 6 e Ljava/lang/Exception;
28 30 7 e2 Ljavax/naming/NamingException;
Exception table:
from to target type
14 21 22 Class javax.naming.NamingException
14 21 24 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
remove
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.toolkit.dir.LazySearchEnumerationImpl.next:()Ljavax/naming/directory/SearchResult;
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.toolkit.dir.LazySearchEnumerationImpl.nextElement:()Ljavax/naming/directory/SearchResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavax/naming/NamingEnumeration<Ljavax/naming/directory/SearchResult;>;
SourceFile: "LazySearchEnumerationImpl.java"