final class com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter implements com.sun.jndi.toolkit.dir.SearchFilter$StringFilter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter
super_class: java.lang.Object
{
private java.lang.String attrID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int matchType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final com.sun.jndi.toolkit.dir.SearchFilter this$0;
descriptor: Lcom/sun/jndi/toolkit/dir/SearchFilter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.jndi.toolkit.dir.SearchFilter);
descriptor: (Lcom/sun/jndi/toolkit/dir/SearchFilter;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/toolkit/dir/SearchFilter$AtomicFilter;
MethodParameters:
Name Flags
this$0 final
public void parse();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.skipWhiteSpace:()V
1: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
bipush 41
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relIndexOf:(I)I
istore 1
start local 1 2: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
bipush 61
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relIndexOf:(I)I
istore 2
start local 2 3: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iload 2
iconst_1
isub
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relCharAt:(I)C
istore 3
start local 3 4: iload 3
lookupswitch { // 4
58: 17
60: 13
62: 9
126: 5
default: 18
}
5: StackMap locals: int int int
StackMap stack:
aload 0
iconst_2
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.matchType:I
6: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iconst_0
iload 2
iconst_1
isub
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
7: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iload 2
iconst_1
iadd
iload 1
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
8: goto 21
9: StackMap locals:
StackMap stack:
aload 0
iconst_3
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.matchType:I
10: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iconst_0
iload 2
iconst_1
isub
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
11: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iload 2
iconst_1
iadd
iload 1
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
12: goto 21
13: StackMap locals:
StackMap stack:
aload 0
iconst_4
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.matchType:I
14: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iconst_0
iload 2
iconst_1
isub
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
15: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iload 2
iconst_1
iadd
iload 1
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
16: goto 21
17: StackMap locals:
StackMap stack:
new javax.naming.OperationNotSupportedException
dup
ldc "Extensible match not supported"
invokespecial javax.naming.OperationNotSupportedException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.matchType:I
19: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iconst_0
iload 2
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
20: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iload 2
iconst_1
iadd
iload 1
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.relSubstring:(II)Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
22: aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
23: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
iload 1
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter.consumeChars:(I)V
end local 3 end local 2 end local 1 24: goto 33
StackMap locals: com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter
StackMap stack: java.lang.Exception
25: astore 1
start local 1 26: new javax.naming.directory.InvalidSearchFilterException
dup
new java.lang.StringBuilder
dup
ldc "Unable to parse character "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
27: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
getfield com.sun.jndi.toolkit.dir.SearchFilter.pos:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " in \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.this$0:Lcom/sun/jndi/toolkit/dir/SearchFilter;
getfield com.sun.jndi.toolkit.dir.SearchFilter.filter: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;
29: invokespecial javax.naming.directory.InvalidSearchFilterException.<init>:(Ljava/lang/String;)V
30: astore 2
start local 2 31: aload 2
aload 1
invokevirtual javax.naming.directory.InvalidSearchFilterException.setRootCause:(Ljava/lang/Throwable;)V
32: aload 2
athrow
end local 2 end local 1 33: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/jndi/toolkit/dir/SearchFilter$AtomicFilter;
2 24 1 endPos I
3 24 2 i I
4 24 3 qualifier I
26 33 1 e Ljava/lang/Exception;
31 33 2 sfe Ljavax/naming/directory/InvalidSearchFilterException;
Exception table:
from to target type
1 24 25 Class java.lang.Exception
Exceptions:
throws javax.naming.directory.InvalidSearchFilterException
public boolean check(javax.naming.directory.Attributes);
descriptor: (Ljavax/naming/directory/Attributes;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.attrID:Ljava/lang/String;
invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter javax.naming.directory.Attributes top javax.naming.directory.Attribute
StackMap stack:
aload 3
invokeinterface javax.naming.directory.Attribute.getAll:()Ljavax/naming/NamingEnumeration;
astore 2
end local 3 start local 2 4: goto 15
end local 2 StackMap locals: com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter javax.naming.directory.Attributes
StackMap stack: javax.naming.NamingException
5: pop
6: iconst_0
ireturn
start local 2 7: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 3
start local 3 8: aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.matchType:I
tableswitch { // 1 - 4
1: 9
2: 9
3: 11
4: 13
default: 15
}
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
aload 3
invokevirtual com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.substringMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 15
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
iflt 15
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter.value:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifgt 15
14: iconst_1
ireturn
end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
16: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/jndi/toolkit/dir/SearchFilter$AtomicFilter;
0 17 1 targetAttrs Ljavax/naming/directory/Attributes;
4 5 2 candidates Ljava/util/Enumeration;
7 17 2 candidates Ljava/util/Enumeration;
1 4 3 attr Ljavax/naming/directory/Attribute;
8 15 3 val Ljava/lang/String;
Exception table:
from to target type
0 2 5 Class javax.naming.NamingException
3 4 5 Class javax.naming.NamingException
MethodParameters:
Name Flags
targetAttrs
private boolean substringMatch(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new java.lang.Character
dup
bipush 42
invokespecial java.lang.Character.<init>:(C)V
invokevirtual java.lang.Character.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
bipush 42
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 4
3: aload 1
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 5: new java.util.StringTokenizer
dup
aload 1
ldc "*"
iconst_0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 4
start local 4 6: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 42
if_icmpeq 19
7: aload 2
invokevirtual java.lang.String.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
8: aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
9: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
10: ifne 19
11: iconst_0
ireturn
12: StackMap locals: int java.util.StringTokenizer
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
start local 5 13: aload 2
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
14: aload 5
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
iload 3
15: invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 3
16: iload 3
iconst_m1
if_icmpne 18
17: iconst_0
ireturn
18: StackMap locals: java.lang.String
StackMap stack:
iload 3
aload 5
invokevirtual java.lang.String.length:()I
iadd
istore 3
end local 5 19: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 12
20: aload 1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 42
if_icmpeq 23
21: iload 3
aload 2
invokevirtual java.lang.String.length:()I
if_icmpeq 23
22: iconst_0
ireturn
23: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/jndi/toolkit/dir/SearchFilter$AtomicFilter;
0 24 1 proto Ljava/lang/String;
0 24 2 value Ljava/lang/String;
5 24 3 currentPos I
6 24 4 subStrs Ljava/util/StringTokenizer;
13 19 5 currentStr Ljava/lang/String;
MethodParameters:
Name Flags
proto
value
}
SourceFile: "SearchFilter.java"
NestHost: com.sun.jndi.toolkit.dir.SearchFilter
InnerClasses:
final AtomicFilter = com.sun.jndi.toolkit.dir.SearchFilter$AtomicFilter of com.sun.jndi.toolkit.dir.SearchFilter
abstract StringFilter = com.sun.jndi.toolkit.dir.SearchFilter$StringFilter of com.sun.jndi.toolkit.dir.SearchFilter