public class javax.naming.ldap.LdapName implements javax.naming.Name
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.naming.ldap.LdapName
super_class: java.lang.Object
{
private transient java.util.ArrayList rdns;
descriptor: Ljava/util/ArrayList;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.lang.String unparsed;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1595520034788997356
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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 javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
2: aload 0
invokevirtual javax.naming.ldap.LdapName.parse:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/naming/ldap/LdapName;
0 4 1 name Ljava/lang/String;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
name
public void <init>(java.util.List<javax.naming.ldap.Rdn>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
putfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
2: iconst_0
istore 2
start local 2 3: goto 11
4: StackMap locals: javax.naming.ldap.LdapName java.util.List int
StackMap stack:
aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 3
start local 3 5: aload 3
instanceof javax.naming.ldap.Rdn
ifne 9
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Entry:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc " not a valid type;list entries must be of type Rdn"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 10: iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 2 12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/naming/ldap/LdapName;
0 13 1 rdns Ljava/util/List<Ljavax/naming/ldap/Rdn;>;
3 12 2 i I
5 10 3 obj Ljava/lang/Object;
Signature: (Ljava/util/List<Ljavax/naming/ldap/Rdn;>;)V
MethodParameters:
Name Flags
rdns
private void <init>(java.lang.String, java.util.ArrayList, int, int);
descriptor: (Ljava/lang/String;Ljava/util/ArrayList;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
2: aload 2
iload 3
iload 4
invokevirtual java.util.ArrayList.subList:(II)Ljava/util/List;
astore 5
start local 5 3: aload 0
new java.util.ArrayList
dup
aload 5
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
4: 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 5 0 this Ljavax/naming/ldap/LdapName;
0 5 1 name Ljava/lang/String;
0 5 2 rdns Ljava/util/ArrayList;
0 5 3 beg I
0 5 4 end I
3 5 5 sList Ljava/util/List;
MethodParameters:
Name Flags
name
rdns
beg
end
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
public java.util.Enumeration<java.lang.String> getAll();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: new javax.naming.ldap.LdapName$1
dup
aload 0
aload 1
invokespecial javax.naming.ldap.LdapName$1.<init>:(Ljavax/naming/ldap/LdapName;Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/naming/ldap/LdapName;
1 2 1 iter Ljava/util/Iterator;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.lang.String get(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
0 1 1 posn I
MethodParameters:
Name Flags
posn
public javax.naming.ldap.Rdn getRdn(int);
descriptor: (I)Ljavax/naming/ldap/Rdn;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
0 1 1 posn I
MethodParameters:
Name Flags
posn
public javax.naming.Name getPrefix(int);
descriptor: (I)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new javax.naming.ldap.LdapName
dup
aconst_null
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iconst_0
iload 1
invokespecial javax.naming.ldap.LdapName.<init>:(Ljava/lang/String;Ljava/util/ArrayList;II)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
3: new java.lang.IndexOutOfBoundsException
dup
4: new java.lang.StringBuilder
dup
ldc "Posn: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", Size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/naming/ldap/LdapName;
0 6 1 posn I
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
posn
public javax.naming.Name getSuffix(int);
descriptor: (I)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new javax.naming.ldap.LdapName
dup
aconst_null
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokespecial javax.naming.ldap.LdapName.<init>:(Ljava/lang/String;Ljava/util/ArrayList;II)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
3: new java.lang.IndexOutOfBoundsException
dup
4: new java.lang.StringBuilder
dup
ldc "Posn: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", Size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/naming/ldap/LdapName;
0 6 1 posn I
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
posn
public boolean startsWith(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 3: aload 1
invokeinterface javax.naming.Name.size:()I
istore 3
start local 3 4: iload 2
iload 3
if_icmplt 7
5: aload 0
iconst_0
iload 3
aload 1
invokevirtual javax.naming.ldap.LdapName.matches:(IILjavax/naming/Name;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: int int
StackMap stack:
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/naming/ldap/LdapName;
0 8 1 n Ljavax/naming/Name;
3 8 2 len1 I
4 8 3 len2 I
MethodParameters:
Name Flags
n
public boolean startsWith(java.util.List<javax.naming.ldap.Rdn>);
descriptor: (Ljava/util/List;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 3: aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 4: iload 2
iload 3
if_icmplt 7
5: aload 0
iconst_0
iload 3
aload 1
invokevirtual javax.naming.ldap.LdapName.doesListMatch:(IILjava/util/List;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: int int
StackMap stack:
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/naming/ldap/LdapName;
0 8 1 rdns Ljava/util/List<Ljavax/naming/ldap/Rdn;>;
3 8 2 len1 I
4 8 3 len2 I
Signature: (Ljava/util/List<Ljavax/naming/ldap/Rdn;>;)Z
MethodParameters:
Name Flags
rdns
public boolean endsWith(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 3: aload 1
invokeinterface javax.naming.Name.size:()I
istore 3
start local 3 4: iload 2
iload 3
if_icmplt 7
5: aload 0
iload 2
iload 3
isub
iload 2
aload 1
invokevirtual javax.naming.ldap.LdapName.matches:(IILjavax/naming/Name;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: int int
StackMap stack:
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/naming/ldap/LdapName;
0 8 1 n Ljavax/naming/Name;
3 8 2 len1 I
4 8 3 len2 I
MethodParameters:
Name Flags
n
public boolean endsWith(java.util.List<javax.naming.ldap.Rdn>);
descriptor: (Ljava/util/List;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 3: aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 4: iload 2
iload 3
if_icmplt 7
5: aload 0
iload 2
iload 3
isub
iload 2
aload 1
invokevirtual javax.naming.ldap.LdapName.doesListMatch:(IILjava/util/List;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: int int
StackMap stack:
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/naming/ldap/LdapName;
0 8 1 rdns Ljava/util/List<Ljavax/naming/ldap/Rdn;>;
3 8 2 len1 I
4 8 3 len2 I
Signature: (Ljava/util/List<Ljavax/naming/ldap/Rdn;>;)Z
MethodParameters:
Name Flags
rdns
private boolean doesListMatch(int, int, java.util.List);
descriptor: (IILjava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
istore 4
start local 4 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
aload 3
iload 4
iload 1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 2
if_icmplt 2
end local 4 6: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/naming/ldap/LdapName;
0 7 1 beg I
0 7 2 end I
0 7 3 rdns Ljava/util/List;
1 6 4 i I
MethodParameters:
Name Flags
beg
end
rdns
private boolean matches(int, int, javax.naming.Name);
descriptor: (IILjavax/naming/Name;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
instanceof javax.naming.ldap.LdapName
ifeq 3
1: aload 3
checkcast javax.naming.ldap.LdapName
astore 4
start local 4 2: aload 0
iload 1
iload 2
aload 4
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual javax.naming.ldap.LdapName.doesListMatch:(IILjava/util/List;)Z
ireturn
end local 4 3: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 4: goto 13
5: StackMap locals: int
StackMap stack:
aload 3
iload 4
iload 1
isub
invokeinterface javax.naming.Name.get:(I)Ljava/lang/String;
astore 6
start local 6 6: new javax.naming.ldap.Rfc2253Parser
dup
aload 6
invokespecial javax.naming.ldap.Rfc2253Parser.<init>:(Ljava/lang/String;)V
invokevirtual javax.naming.ldap.Rfc2253Parser.parseRdn:()Ljavax/naming/ldap/Rdn;
astore 5
start local 5 7: goto 10
end local 5 StackMap locals: javax.naming.ldap.LdapName int int javax.naming.Name int top java.lang.String
StackMap stack: javax.naming.InvalidNameException
8: pop
9: iconst_0
ireturn
start local 5 10: StackMap locals: javax.naming.ldap.LdapName int int javax.naming.Name int javax.naming.ldap.Rdn java.lang.String
StackMap stack:
aload 5
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
invokevirtual javax.naming.ldap.Rdn.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
end local 6 end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 2
if_icmplt 5
end local 4 14: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/naming/ldap/LdapName;
0 15 1 beg I
0 15 2 end I
0 15 3 n Ljavax/naming/Name;
2 3 4 ln Ljavax/naming/ldap/LdapName;
4 14 4 i I
7 8 5 rdn Ljavax/naming/ldap/Rdn;
10 12 5 rdn Ljavax/naming/ldap/Rdn;
6 12 6 rdnString Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class javax.naming.InvalidNameException
MethodParameters:
Name Flags
beg
end
n
public javax.naming.Name addAll(javax.naming.Name);
descriptor: (Ljavax/naming/Name;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.naming.ldap.LdapName.size:()I
aload 1
invokevirtual javax.naming.ldap.LdapName.addAll:(ILjavax/naming/Name;)Ljavax/naming/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
0 1 1 suffix Ljavax/naming/Name;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
suffix
public javax.naming.Name addAll(java.util.List<javax.naming.ldap.Rdn>);
descriptor: (Ljava/util/List;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.naming.ldap.LdapName.size:()I
aload 1
invokevirtual javax.naming.ldap.LdapName.addAll:(ILjava/util/List;)Ljavax/naming/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
0 1 1 suffixRdns Ljava/util/List<Ljavax/naming/ldap/Rdn;>;
Signature: (Ljava/util/List<Ljavax/naming/ldap/Rdn;>;)Ljavax/naming/Name;
MethodParameters:
Name Flags
suffixRdns
public javax.naming.Name addAll(int, javax.naming.Name);
descriptor: (ILjavax/naming/Name;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
1: aload 2
instanceof javax.naming.ldap.LdapName
ifeq 5
2: aload 2
checkcast javax.naming.ldap.LdapName
astore 3
start local 3 3: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
aload 3
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.addAll:(ILjava/util/Collection;)Z
pop
end local 3 4: goto 12
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.naming.Name.getAll:()Ljava/util/Enumeration;
astore 3
start local 3 6: goto 11
7: StackMap locals: java.util.Enumeration
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
iinc 1 1
8: new javax.naming.ldap.Rfc2253Parser
dup
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial javax.naming.ldap.Rfc2253Parser.<init>:(Ljava/lang/String;)V
9: invokevirtual javax.naming.ldap.Rfc2253Parser.parseRdn:()Ljavax/naming/ldap/Rdn;
10: invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
end local 3 12: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/naming/ldap/LdapName;
0 13 1 posn I
0 13 2 suffix Ljavax/naming/Name;
3 4 3 s Ljavax/naming/ldap/LdapName;
6 12 3 comps Ljava/util/Enumeration;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
posn
suffix
public javax.naming.Name addAll(int, java.util.List<javax.naming.ldap.Rdn>);
descriptor: (ILjava/util/List;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
1: iconst_0
istore 3
start local 3 2: goto 10
3: StackMap locals: int
StackMap stack:
aload 2
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 4
start local 4 4: aload 4
instanceof javax.naming.ldap.Rdn
ifne 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Entry:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc " not a valid type;suffix list entries must be of type Rdn"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 3
iload 1
iadd
aload 4
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 3 11: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/naming/ldap/LdapName;
0 12 1 posn I
0 12 2 suffixRdns Ljava/util/List<Ljavax/naming/ldap/Rdn;>;
2 11 3 i I
4 9 4 obj Ljava/lang/Object;
Signature: (ILjava/util/List<Ljavax/naming/ldap/Rdn;>;)Ljavax/naming/Name;
MethodParameters:
Name Flags
posn
suffixRdns
public javax.naming.Name add(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.naming.ldap.LdapName.size:()I
aload 1
invokevirtual javax.naming.ldap.LdapName.add:(ILjava/lang/String;)Ljavax/naming/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
0 1 1 comp Ljava/lang/String;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
comp
public javax.naming.Name add(javax.naming.ldap.Rdn);
descriptor: (Ljavax/naming/ldap/Rdn;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.naming.ldap.LdapName.size:()I
aload 1
invokevirtual javax.naming.ldap.LdapName.add:(ILjavax/naming/ldap/Rdn;)Ljavax/naming/Name;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
0 1 1 comp Ljavax/naming/ldap/Rdn;
MethodParameters:
Name Flags
comp
public javax.naming.Name add(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new javax.naming.ldap.Rfc2253Parser
dup
aload 2
invokespecial javax.naming.ldap.Rfc2253Parser.<init>:(Ljava/lang/String;)V
invokevirtual javax.naming.ldap.Rfc2253Parser.parseRdn:()Ljavax/naming/ldap/Rdn;
astore 3
start local 3 1: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
aload 3
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
2: aload 0
aconst_null
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
3: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/naming/ldap/LdapName;
0 4 1 posn I
0 4 2 comp Ljava/lang/String;
1 4 3 rdn Ljavax/naming/ldap/Rdn;
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
posn
comp
public javax.naming.Name add(int, javax.naming.ldap.Rdn);
descriptor: (ILjavax/naming/ldap/Rdn;)Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Cannot set comp to null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
aload 2
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
3: aload 0
aconst_null
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/naming/ldap/LdapName;
0 5 1 posn I
0 5 2 comp Ljavax/naming/ldap/Rdn;
MethodParameters:
Name Flags
posn
comp
public java.lang.Object remove(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
1: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/naming/ldap/LdapName;
0 2 1 posn I
Exceptions:
throws javax.naming.InvalidNameException
MethodParameters:
Name Flags
posn
public java.util.List<javax.naming.ldap.Rdn> getRdns();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
Signature: ()Ljava/util/List<Ljavax/naming/ldap/Rdn;>;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new javax.naming.ldap.LdapName
dup
aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iconst_0
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokespecial javax.naming.ldap.LdapName.<init>:(Ljava/lang/String;Ljava/util/ArrayList;II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/ldap/LdapName;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
ifnull 2
1: aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 4: iload 2
iconst_1
isub
iflt 6
5: aload 1
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 2
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
6: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 2
iconst_2
isub
istore 3
start local 3 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 1
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: iinc 3 -1
StackMap locals:
StackMap stack:
11: iload 3
ifge 8
end local 3 12: aload 0
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
13: aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/naming/ldap/LdapName;
3 14 1 builder Ljava/lang/StringBuilder;
4 14 2 size I
7 12 3 next I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.naming.ldap.LdapName
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.naming.ldap.LdapName
astore 2
start local 2 5: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 2
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: javax.naming.ldap.LdapName
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
ifnull 12
aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
8: aload 2
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
9: invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
10: ifeq 12
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 13: goto 19
14: StackMap locals: int
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
astore 4
start local 4 15: aload 2
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
astore 5
start local 5 16: aload 4
aload 5
invokevirtual javax.naming.ldap.Rdn.equals:(Ljava/lang/Object;)Z
ifne 18
17: iconst_0
ireturn
end local 5 end local 4 18: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 14
end local 3 20: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/naming/ldap/LdapName;
0 21 1 obj Ljava/lang/Object;
5 21 2 that Ljavax/naming/ldap/LdapName;
13 20 3 i I
15 18 4 rdn1 Ljavax/naming/ldap/Rdn;
16 18 5 rdn2 Ljavax/naming/ldap/Rdn;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.naming.ldap.LdapName
ifne 2
1: new java.lang.ClassCastException
dup
ldc "The obj is not a LdapName"
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.naming.ldap.LdapName
astore 2
start local 2 5: aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
ifnull 10
aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
6: aload 2
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
7: invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
8: ifeq 10
9: iconst_0
ireturn
10: StackMap locals: javax.naming.ldap.LdapName
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 2
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 11: iconst_0
istore 4
start local 4 12: goto 19
13: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
astore 5
start local 5 14: aload 2
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
astore 6
start local 6 15: aload 5
aload 6
invokevirtual javax.naming.ldap.Rdn.compareTo:(Ljava/lang/Object;)I
istore 7
start local 7 16: iload 7
ifeq 18
17: iload 7
ireturn
end local 7 end local 6 end local 5 18: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
iload 3
if_icmplt 13
end local 4 20: aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 2
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/naming/ldap/LdapName;
0 21 1 obj Ljava/lang/Object;
5 21 2 that Ljavax/naming/ldap/LdapName;
11 21 3 minSize I
12 20 4 i I
14 18 5 rdn1 Ljavax/naming/ldap/Rdn;
15 18 6 rdn2 Ljavax/naming/ldap/Rdn;
16 18 7 diff I
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.Rdn
astore 3
start local 3 4: iload 1
aload 3
invokevirtual javax.naming.ldap.Rdn.hashCode:()I
iadd
istore 1
end local 3 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 3
end local 2 7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/naming/ldap/LdapName;
1 8 1 hash I
2 7 2 i I
4 5 3 rdn Ljavax/naming/ldap/Rdn;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
invokevirtual javax.naming.ldap.LdapName.toString:()Ljava/lang/String;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/naming/ldap/LdapName;
0 3 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.String
putfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
2: aload 0
invokevirtual javax.naming.ldap.LdapName.parse:()V
3: goto 8
StackMap locals:
StackMap stack: javax.naming.InvalidNameException
4: pop
5: new java.io.StreamCorruptedException
dup
6: new java.lang.StringBuilder
dup
ldc "Invalid name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/naming/ldap/LdapName;
0 9 1 s Ljava/io/ObjectInputStream;
Exception table:
from to target type
2 3 4 Class javax.naming.InvalidNameException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private void parse();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.naming.ldap.Rfc2253Parser
dup
aload 0
getfield javax.naming.ldap.LdapName.unparsed:Ljava/lang/String;
invokespecial javax.naming.ldap.Rfc2253Parser.<init>:(Ljava/lang/String;)V
invokevirtual javax.naming.ldap.Rfc2253Parser.parseDn:()Ljava/util/List;
checkcast java.util.ArrayList
putfield javax.naming.ldap.LdapName.rdns:Ljava/util/ArrayList;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/naming/ldap/LdapName;
Exceptions:
throws javax.naming.InvalidNameException
}
SourceFile: "LdapName.java"
NestMembers:
javax.naming.ldap.LdapName$1
InnerClasses:
javax.naming.ldap.LdapName$1