public final class javax.naming.ldap.SortControl extends javax.naming.ldap.BasicControl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.naming.ldap.SortControl
super_class: javax.naming.ldap.BasicControl
{
public static final java.lang.String OID;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "1.2.840.113556.1.4.473"
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1965961680233330744
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "1.2.840.113556.1.4.473"
iload 2
aconst_null
invokespecial javax.naming.ldap.BasicControl.<init>:(Ljava/lang/String;Z[B)V
1: aload 0
aload 0
iconst_1
anewarray javax.naming.ldap.SortKey
dup
iconst_0
new javax.naming.ldap.SortKey
dup
aload 1
invokespecial javax.naming.ldap.SortKey.<init>:(Ljava/lang/String;)V
aastore
invokevirtual javax.naming.ldap.SortControl.setEncodedValue:([Ljavax/naming/ldap/SortKey;)[B
putfield javax.naming.ldap.BasicControl.value:[B
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/naming/ldap/SortControl;
0 3 1 sortBy Ljava/lang/String;
0 3 2 criticality Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sortBy
criticality
public void <init>(java.lang.String[], boolean);
descriptor: ([Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "1.2.840.113556.1.4.473"
iload 2
aconst_null
invokespecial javax.naming.ldap.BasicControl.<init>:(Ljava/lang/String;Z[B)V
1: aload 1
arraylength
anewarray javax.naming.ldap.SortKey
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: javax.naming.ldap.SortControl java.lang.String[] int javax.naming.ldap.SortKey[] int
StackMap stack:
aload 3
iload 4
new javax.naming.ldap.SortKey
dup
aload 1
iload 4
aaload
invokespecial javax.naming.ldap.SortKey.<init>:(Ljava/lang/String;)V
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 1
arraylength
if_icmplt 4
end local 4 7: aload 0
aload 0
aload 3
invokevirtual javax.naming.ldap.SortControl.setEncodedValue:([Ljavax/naming/ldap/SortKey;)[B
putfield javax.naming.ldap.BasicControl.value:[B
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/naming/ldap/SortControl;
0 9 1 sortBy [Ljava/lang/String;
0 9 2 criticality Z
2 9 3 sortKeys [Ljavax/naming/ldap/SortKey;
3 7 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sortBy
criticality
public void <init>(javax.naming.ldap.SortKey[], boolean);
descriptor: ([Ljavax/naming/ldap/SortKey;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "1.2.840.113556.1.4.473"
iload 2
aconst_null
invokespecial javax.naming.ldap.BasicControl.<init>:(Ljava/lang/String;Z[B)V
1: aload 0
aload 0
aload 1
invokevirtual javax.naming.ldap.SortControl.setEncodedValue:([Ljavax/naming/ldap/SortKey;)[B
putfield javax.naming.ldap.BasicControl.value:[B
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/naming/ldap/SortControl;
0 3 1 sortBy [Ljavax/naming/ldap/SortKey;
0 3 2 criticality Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sortBy
criticality
private byte[] setEncodedValue(javax.naming.ldap.SortKey[]);
descriptor: ([Ljavax/naming/ldap/SortKey;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new com.sun.jndi.ldap.BerEncoder
dup
bipush 30
aload 1
arraylength
imul
bipush 10
iadd
invokespecial com.sun.jndi.ldap.BerEncoder.<init>:(I)V
astore 2
start local 2 1: aload 2
bipush 48
invokevirtual com.sun.jndi.ldap.BerEncoder.beginSeq:(I)V
2: iconst_0
istore 4
start local 4 3: goto 13
4: StackMap locals: javax.naming.ldap.SortControl javax.naming.ldap.SortKey[] com.sun.jndi.ldap.BerEncoder top int
StackMap stack:
aload 2
bipush 48
invokevirtual com.sun.jndi.ldap.BerEncoder.beginSeq:(I)V
5: aload 2
aload 1
iload 4
aaload
invokevirtual javax.naming.ldap.SortKey.getAttributeID:()Ljava/lang/String;
iconst_1
invokevirtual com.sun.jndi.ldap.BerEncoder.encodeString:(Ljava/lang/String;Z)V
6: aload 1
iload 4
aaload
invokevirtual javax.naming.ldap.SortKey.getMatchingRuleID:()Ljava/lang/String;
dup
astore 3
start local 3 7: ifnull 9
8: aload 2
aload 3
sipush 128
iconst_1
invokevirtual com.sun.jndi.ldap.BerEncoder.encodeString:(Ljava/lang/String;IZ)V
9: StackMap locals: javax.naming.ldap.SortControl javax.naming.ldap.SortKey[] com.sun.jndi.ldap.BerEncoder java.lang.String int
StackMap stack:
aload 1
iload 4
aaload
invokevirtual javax.naming.ldap.SortKey.isAscending:()Z
ifne 11
10: aload 2
iconst_1
sipush 129
invokevirtual com.sun.jndi.ldap.BerEncoder.encodeBoolean:(ZI)V
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.jndi.ldap.BerEncoder.endSeq:()V
12: iinc 4 1
end local 3 StackMap locals: javax.naming.ldap.SortControl javax.naming.ldap.SortKey[] com.sun.jndi.ldap.BerEncoder top int
StackMap stack:
13: iload 4
aload 1
arraylength
if_icmplt 4
end local 4 14: aload 2
invokevirtual com.sun.jndi.ldap.BerEncoder.endSeq:()V
15: aload 2
invokevirtual com.sun.jndi.ldap.BerEncoder.getTrimmedBuf:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/naming/ldap/SortControl;
0 16 1 sortKeys [Ljavax/naming/ldap/SortKey;
1 16 2 ber Lcom/sun/jndi/ldap/BerEncoder;
7 13 3 matchingRule Ljava/lang/String;
3 14 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sortKeys
}
SourceFile: "SortControl.java"