class com.sun.jndi.ldap.LdapName$Rdn
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jndi.ldap.LdapName$Rdn
super_class: java.lang.Object
{
private final java.util.Vector<com.sun.jndi.ldap.LdapName$TypeAndValue> tvs;
descriptor: Ljava/util/Vector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Vector<Lcom/sun/jndi/ldap/LdapName$TypeAndValue;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
void add(com.sun.jndi.ldap.LdapName$TypeAndValue);
descriptor: (Lcom/sun/jndi/ldap/LdapName$TypeAndValue;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.compareTo:(Ljava/lang/Object;)I
istore 3
start local 3 3: iload 3
ifne 5
4: return
5: StackMap locals: int
StackMap stack:
iload 3
ifge 7
6: goto 9
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 2
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
aload 1
iload 2
invokevirtual java.util.Vector.insertElementAt:(Ljava/lang/Object;I)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
0 11 1 tv Lcom/sun/jndi/ldap/LdapName$TypeAndValue;
1 11 2 i I
3 7 3 diff I
MethodParameters:
Name Flags
tv
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
iload 2
ifle 5
4: aload 1
bipush 43
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/Object;)Ljava/lang/StringBuffer;
pop
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 3
end local 2 8: new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:(Ljava/lang/StringBuffer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
1 9 1 buf Ljava/lang/StringBuffer;
2 8 2 i I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.jndi.ldap.LdapName$Rdn
ifeq 3
1: aload 0
aload 1
invokevirtual com.sun.jndi.ldap.LdapName$Rdn.compareTo:(Ljava/lang/Object;)I
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jndi.ldap.LdapName$Rdn
astore 2
start local 2 1: aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
aload 2
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: com.sun.jndi.ldap.LdapName$Rdn int int
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.LdapName$TypeAndValue
astore 5
start local 5 5: aload 5
aload 2
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.compareTo:(Ljava/lang/Object;)I
istore 6
start local 6 6: iload 6
ifeq 8
7: iload 6
ireturn
end local 6 end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 3
if_icmplt 4
end local 4 10: aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
aload 2
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
0 11 1 obj Ljava/lang/Object;
1 11 2 that Lcom/sun/jndi/ldap/LdapName$Rdn;
2 11 3 minSize I
3 10 4 i I
5 8 5 tv Lcom/sun/jndi/ldap/LdapName$TypeAndValue;
6 8 6 diff I
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.LdapName$TypeAndValue
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.hashCode:()I
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
1 7 1 hash I
2 6 2 i I
javax.naming.directory.Attributes toAttributes();
descriptor: ()Ljavax/naming/directory/Attributes;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: new javax.naming.directory.BasicAttributes
dup
iconst_1
invokespecial javax.naming.directory.BasicAttributes.<init>:(Z)V
astore 1
start local 1 1: iconst_0
istore 4
start local 4 2: goto 10
3: StackMap locals: com.sun.jndi.ldap.LdapName$Rdn javax.naming.directory.Attributes top top int
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.jndi.ldap.LdapName$TypeAndValue
astore 2
start local 2 4: aload 1
aload 2
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.getType:()Ljava/lang/String;
invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
dup
astore 3
start local 3 5: ifnonnull 8
6: aload 1
aload 2
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.getType:()Ljava/lang/String;
aload 2
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.getUnescapedValue:()Ljava/lang/Object;
invokeinterface javax.naming.directory.Attributes.put:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/naming/directory/Attribute;
pop
7: goto 9
8: StackMap locals: com.sun.jndi.ldap.LdapName$Rdn javax.naming.directory.Attributes com.sun.jndi.ldap.LdapName$TypeAndValue javax.naming.directory.Attribute int
StackMap stack:
aload 3
aload 2
invokevirtual com.sun.jndi.ldap.LdapName$TypeAndValue.getUnescapedValue:()Ljava/lang/Object;
invokeinterface javax.naming.directory.Attribute.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 end local 2 StackMap locals: com.sun.jndi.ldap.LdapName$Rdn javax.naming.directory.Attributes top top int
StackMap stack:
10: iload 4
aload 0
getfield com.sun.jndi.ldap.LdapName$Rdn.tvs:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 3
end local 4 11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/jndi/ldap/LdapName$Rdn;
1 12 1 attrs Ljavax/naming/directory/Attributes;
4 10 2 tv Lcom/sun/jndi/ldap/LdapName$TypeAndValue;
5 10 3 attr Ljavax/naming/directory/Attribute;
2 11 4 i I
}
SourceFile: "LdapName.java"
NestHost: com.sun.jndi.ldap.LdapName
InnerClasses:
Rdn = com.sun.jndi.ldap.LdapName$Rdn of com.sun.jndi.ldap.LdapName
TypeAndValue = com.sun.jndi.ldap.LdapName$TypeAndValue of com.sun.jndi.ldap.LdapName