final class com.microsoft.sqlserver.jdbc.SQLCollation implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.microsoft.sqlserver.jdbc.SQLCollation
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6748833280721312349
private final int info;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int sortId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.microsoft.sqlserver.jdbc.Encoding encoding;
descriptor: Lcom/microsoft/sqlserver/jdbc/Encoding;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int UTF8_IN_TDSCOLLATION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 67108864
private static final java.util.Map<java.lang.Integer, com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale> localeIndex;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lcom/microsoft/sqlserver/jdbc/SQLCollation$WindowsLocale;>;
private static final java.util.HashMap<java.lang.Integer, com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder> sortOrderIndex;
descriptor: Ljava/util/HashMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/Integer;Lcom/microsoft/sqlserver/jdbc/SQLCollation$SortOrder;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic com.microsoft.sqlserver.jdbc.SQLCollation.localeIndex:Ljava/util/Map;
1: ldc Lcom/microsoft/sqlserver/jdbc/SQLCollation$WindowsLocale;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.iterator:()Ljava/util/Iterator;
astore 1
goto 4
StackMap locals: top java.util.Iterator
StackMap stack:
2: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale
astore 0
start local 0 3: getstatic com.microsoft.sqlserver.jdbc.SQLCollation.localeIndex:Ljava/util/Map;
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale.langID:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic com.microsoft.sqlserver.jdbc.SQLCollation.sortOrderIndex:Ljava/util/HashMap;
6: ldc Lcom/microsoft/sqlserver/jdbc/SQLCollation$SortOrder;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
invokevirtual java.util.EnumSet.iterator:()Ljava/util/Iterator;
astore 1
goto 9
StackMap locals:
StackMap stack:
7: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder
astore 0
start local 0 8: getstatic com.microsoft.sqlserver.jdbc.SQLCollation.sortOrderIndex:Ljava/util/HashMap;
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder.sortId:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 9: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 locale Lcom/microsoft/sqlserver/jdbc/SQLCollation$WindowsLocale;
8 9 0 sortOrder Lcom/microsoft/sqlserver/jdbc/SQLCollation$SortOrder;
private int langID();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.info:I
ldc 65535
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
final java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.encoding:Lcom/microsoft/sqlserver/jdbc/Encoding;
invokevirtual com.microsoft.sqlserver.jdbc.Encoding.charset:()Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
final boolean supportsAsciiConversion();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.encoding:Lcom/microsoft/sqlserver/jdbc/Encoding;
invokevirtual com.microsoft.sqlserver.jdbc.Encoding.supportsAsciiConversion:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
final boolean hasAsciiCompatibleSBCS();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.encoding:Lcom/microsoft/sqlserver/jdbc/Encoding;
invokevirtual com.microsoft.sqlserver.jdbc.Encoding.hasAsciiCompatibleSBCS:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
static final int tdsLength();
descriptor: ()I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: iconst_5
ireturn
LocalVariableTable:
Start End Slot Name Signature
int getCollationInfo();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.info:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
int getCollationSortID();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.sortId:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
void <init>(com.microsoft.sqlserver.jdbc.TDSReader);
descriptor: (Lcom/microsoft/sqlserver/jdbc/TDSReader;)V
flags: (0x0000)
Code:
stack=3, 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
invokevirtual com.microsoft.sqlserver.jdbc.TDSReader.readInt:()I
putfield com.microsoft.sqlserver.jdbc.SQLCollation.info:I
2: aload 0
aload 1
invokevirtual com.microsoft.sqlserver.jdbc.TDSReader.readUnsignedByte:()I
putfield com.microsoft.sqlserver.jdbc.SQLCollation.sortId:I
3: ldc 67108864
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.info:I
ldc 67108864
iand
if_icmpne 6
4: aload 0
getstatic com.microsoft.sqlserver.jdbc.Encoding.UTF8:Lcom/microsoft/sqlserver/jdbc/Encoding;
putfield com.microsoft.sqlserver.jdbc.SQLCollation.encoding:Lcom/microsoft/sqlserver/jdbc/Encoding;
5: goto 9
6: StackMap locals: com.microsoft.sqlserver.jdbc.SQLCollation com.microsoft.sqlserver.jdbc.TDSReader
StackMap stack:
aload 0
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.sortId:I
ifne 7
aload 0
invokevirtual com.microsoft.sqlserver.jdbc.SQLCollation.encodingFromLCID:()Lcom/microsoft/sqlserver/jdbc/Encoding;
goto 8
StackMap locals:
StackMap stack: com.microsoft.sqlserver.jdbc.SQLCollation
7: aload 0
invokevirtual com.microsoft.sqlserver.jdbc.SQLCollation.encodingFromSortId:()Lcom/microsoft/sqlserver/jdbc/Encoding;
StackMap locals: com.microsoft.sqlserver.jdbc.SQLCollation com.microsoft.sqlserver.jdbc.TDSReader
StackMap stack: com.microsoft.sqlserver.jdbc.SQLCollation com.microsoft.sqlserver.jdbc.Encoding
8: putfield com.microsoft.sqlserver.jdbc.SQLCollation.encoding:Lcom/microsoft/sqlserver/jdbc/Encoding;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
0 10 1 tdsReader Lcom/microsoft/sqlserver/jdbc/TDSReader;
Exceptions:
throws java.io.UnsupportedEncodingException, com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
tdsReader
void writeCollation(com.microsoft.sqlserver.jdbc.TDSWriter);
descriptor: (Lcom/microsoft/sqlserver/jdbc/TDSWriter;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.info:I
invokevirtual com.microsoft.sqlserver.jdbc.TDSWriter.writeInt:(I)V
1: aload 1
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.sortId:I
sipush 255
iand
i2b
invokevirtual com.microsoft.sqlserver.jdbc.TDSWriter.writeByte:(B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/sqlserver/jdbc/SQLCollation;
0 3 1 tdsWriter Lcom/microsoft/sqlserver/jdbc/TDSWriter;
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
tdsWriter
private com.microsoft.sqlserver.jdbc.Encoding encodingFromLCID();
descriptor: ()Lcom/microsoft/sqlserver/jdbc/Encoding;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic com.microsoft.sqlserver.jdbc.SQLCollation.localeIndex:Ljava/util/Map;
aload 0
invokevirtual com.microsoft.sqlserver.jdbc.SQLCollation.langID:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale
astore 1
start local 1 1: aload 1
ifnonnull 5
2: new java.text.MessageFormat
dup
ldc "R_unknownLCID"
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.getErrString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.microsoft.sqlserver.jdbc.SQLCollation.langID:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
aastore
astore 3
start local 3 4: new java.io.UnsupportedEncodingException
dup
aload 2
aload 3
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 5: StackMap locals: com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale
StackMap stack:
aload 1
invokevirtual com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale.getEncoding:()Lcom/microsoft/sqlserver/jdbc/Encoding;
6: areturn
7: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 2
start local 2 8: new java.text.MessageFormat
dup
ldc "R_unknownLCID"
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.getErrString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3
start local 3 9: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 4
start local 4 10: new java.io.UnsupportedEncodingException
dup
aload 3
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
astore 5
start local 5 11: aload 5
aload 2
invokevirtual java.io.UnsupportedEncodingException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
12: aload 5
athrow
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/microsoft/sqlserver/jdbc/SQLCollation;
1 13 1 locale Lcom/microsoft/sqlserver/jdbc/SQLCollation$WindowsLocale;
3 5 2 form Ljava/text/MessageFormat;
4 5 3 msgArgs [Ljava/lang/Object;
8 13 2 inner Ljava/io/UnsupportedEncodingException;
9 13 3 form Ljava/text/MessageFormat;
10 13 4 msgArgs [Ljava/lang/Object;
11 13 5 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
5 6 7 Class java.io.UnsupportedEncodingException
Exceptions:
throws java.io.UnsupportedEncodingException
private com.microsoft.sqlserver.jdbc.Encoding encodingFromSortId();
descriptor: ()Lcom/microsoft/sqlserver/jdbc/Encoding;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic com.microsoft.sqlserver.jdbc.SQLCollation.sortOrderIndex:Ljava/util/HashMap;
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.sortId:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder
astore 1
start local 1 1: aload 1
ifnonnull 5
2: new java.text.MessageFormat
dup
ldc "R_unknownSortId"
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.getErrString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.sqlserver.jdbc.SQLCollation.sortId:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 3
start local 3 4: new java.io.UnsupportedEncodingException
dup
aload 2
aload 3
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 5: StackMap locals: com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder
StackMap stack:
aload 1
invokevirtual com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder.getEncoding:()Lcom/microsoft/sqlserver/jdbc/Encoding;
6: areturn
7: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 2
start local 2 8: new java.text.MessageFormat
dup
ldc "R_unknownSortId"
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.getErrString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3
start local 3 9: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 4
start local 4 10: new java.io.UnsupportedEncodingException
dup
aload 3
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
astore 5
start local 5 11: aload 5
aload 2
invokevirtual java.io.UnsupportedEncodingException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
12: aload 5
athrow
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/microsoft/sqlserver/jdbc/SQLCollation;
1 13 1 sortOrder Lcom/microsoft/sqlserver/jdbc/SQLCollation$SortOrder;
3 5 2 form Ljava/text/MessageFormat;
4 5 3 msgArgs [Ljava/lang/Object;
8 13 2 inner Ljava/io/UnsupportedEncodingException;
9 13 3 form Ljava/text/MessageFormat;
10 13 4 msgArgs [Ljava/lang/Object;
11 13 5 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
5 6 7 Class java.io.UnsupportedEncodingException
Exceptions:
throws java.io.UnsupportedEncodingException
}
SourceFile: "SQLCollation.java"
NestMembers:
com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale
InnerClasses:
final SortOrder = com.microsoft.sqlserver.jdbc.SQLCollation$SortOrder of com.microsoft.sqlserver.jdbc.SQLCollation
final WindowsLocale = com.microsoft.sqlserver.jdbc.SQLCollation$WindowsLocale of com.microsoft.sqlserver.jdbc.SQLCollation