public class org.hibernate.criterion.Order implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.criterion.Order
super_class: java.lang.Object
{
private boolean ascending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ignoreCase;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String propertyName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.hibernate.NullPrecedence nullPrecedence;
descriptor: Lorg/hibernate/NullPrecedence;
flags: (0x0002) ACC_PRIVATE
public static org.hibernate.criterion.Order asc(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/criterion/Order;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.hibernate.criterion.Order
dup
aload 0
iconst_1
invokespecial org.hibernate.criterion.Order.<init>:(Ljava/lang/String;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
public static org.hibernate.criterion.Order desc(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/criterion/Order;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.hibernate.criterion.Order
dup
aload 0
iconst_0
invokespecial org.hibernate.criterion.Order.<init>:(Ljava/lang/String;Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
protected void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.criterion.Order.propertyName:Ljava/lang/String;
2: aload 0
iload 2
putfield org.hibernate.criterion.Order.ascending:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/criterion/Order;
0 4 1 propertyName Ljava/lang/String;
0 4 2 ascending Z
MethodParameters:
Name Flags
propertyName
ascending
public org.hibernate.criterion.Order ignoreCase();
descriptor: ()Lorg/hibernate/criterion/Order;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.hibernate.criterion.Order.ignoreCase:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Order;
public org.hibernate.criterion.Order nulls(org.hibernate.NullPrecedence);
descriptor: (Lorg/hibernate/NullPrecedence;)Lorg/hibernate/criterion/Order;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.hibernate.criterion.Order.nullPrecedence:Lorg/hibernate/NullPrecedence;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Order;
0 2 1 nullPrecedence Lorg/hibernate/NullPrecedence;
MethodParameters:
Name Flags
nullPrecedence
public java.lang.String getPropertyName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.criterion.Order.propertyName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/criterion/Order;
public boolean isAscending();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.criterion.Order.ascending:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/criterion/Order;
public boolean isIgnoreCase();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.criterion.Order.ignoreCase:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/criterion/Order;
public java.lang.String toSqlString(org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery);
descriptor: (Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
getfield org.hibernate.criterion.Order.propertyName:Ljava/lang/String;
invokeinterface org.hibernate.criterion.CriteriaQuery.getColumnsUsingProjection:(Lorg/hibernate/Criteria;Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 1: aload 2
aload 1
aload 0
getfield org.hibernate.criterion.Order.propertyName:Ljava/lang/String;
invokeinterface org.hibernate.criterion.CriteriaQuery.getTypeUsingProjection:(Lorg/hibernate/Criteria;Ljava/lang/String;)Lorg/hibernate/type/Type;
astore 4
start local 4 2: aload 2
invokeinterface org.hibernate.criterion.CriteriaQuery.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
astore 5
start local 5 3: aload 4
aload 5
invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
astore 6
start local 6 4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 36
7: StackMap locals: org.hibernate.criterion.Order org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String[] org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int[] java.lang.StringBuilder int
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 9
start local 9 8: iconst_0
istore 10
start local 10 9: aload 0
getfield org.hibernate.criterion.Order.ignoreCase:Z
ifeq 17
10: aload 6
iload 8
iaload
istore 11
start local 11 11: iload 11
bipush 12
if_icmpeq 15
12: iload 11
iconst_1
if_icmpeq 15
13: iload 11
iconst_m1
if_icmpeq 15
14: iconst_0
goto 16
StackMap locals: java.lang.StringBuilder int int
StackMap stack:
15: iconst_1
StackMap locals:
StackMap stack: int
16: istore 10
end local 11 17: StackMap locals:
StackMap stack:
iload 10
ifeq 20
18: aload 9
aload 5
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getDialect:()Lorg/hibernate/dialect/Dialect;
invokevirtual org.hibernate.dialect.Dialect.getLowercaseFunction:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 9
aload 3
iload 8
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: iload 10
ifeq 23
22: aload 9
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
aload 7
24: aload 5
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getDialect:()Lorg/hibernate/dialect/Dialect;
25: aload 9
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: aconst_null
27: aload 0
getfield org.hibernate.criterion.Order.ascending:Z
ifeq 28
ldc "asc"
goto 29
StackMap locals: org.hibernate.criterion.Order org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String[] org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int[] java.lang.StringBuilder int java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder org.hibernate.dialect.Dialect java.lang.String null
28: ldc "desc"
29: StackMap locals: org.hibernate.criterion.Order org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String[] org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int[] java.lang.StringBuilder int java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder org.hibernate.dialect.Dialect java.lang.String null java.lang.String
aload 0
getfield org.hibernate.criterion.Order.nullPrecedence:Lorg/hibernate/NullPrecedence;
ifnull 30
aload 0
getfield org.hibernate.criterion.Order.nullPrecedence:Lorg/hibernate/NullPrecedence;
goto 31
StackMap locals: org.hibernate.criterion.Order org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String[] org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int[] java.lang.StringBuilder int java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder org.hibernate.dialect.Dialect java.lang.String null java.lang.String
30: aload 5
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSettings:()Lorg/hibernate/cfg/Settings;
invokevirtual org.hibernate.cfg.Settings.getDefaultNullPrecedence:()Lorg/hibernate/NullPrecedence;
31: StackMap locals: org.hibernate.criterion.Order org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String[] org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int[] java.lang.StringBuilder int java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder org.hibernate.dialect.Dialect java.lang.String null java.lang.String org.hibernate.NullPrecedence
invokevirtual org.hibernate.dialect.Dialect.renderOrderByElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/hibernate/NullPrecedence;)Ljava/lang/String;
32: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: iload 8
aload 3
arraylength
iconst_1
isub
if_icmpge 35
34: aload 7
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 end local 9 35: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
36: iload 8
aload 3
arraylength
if_icmplt 7
end local 8 37: aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 end local 6 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 38 0 this Lorg/hibernate/criterion/Order;
0 38 1 criteria Lorg/hibernate/Criteria;
0 38 2 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
1 38 3 columns [Ljava/lang/String;
2 38 4 type Lorg/hibernate/type/Type;
3 38 5 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
4 38 6 sqlTypes [I
5 38 7 fragment Ljava/lang/StringBuilder;
6 37 8 i I
8 35 9 expression Ljava/lang/StringBuilder;
9 35 10 lower Z
11 17 11 sqlType I
MethodParameters:
Name Flags
criteria
criteriaQuery
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.criterion.Order.propertyName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
1: aload 0
getfield org.hibernate.criterion.Order.ascending:Z
ifeq 2
ldc "asc"
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc "desc"
StackMap locals: org.hibernate.criterion.Order
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield org.hibernate.criterion.Order.nullPrecedence:Lorg/hibernate/NullPrecedence;
ifnull 5
new java.lang.StringBuilder
dup
bipush 32
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.criterion.Order.nullPrecedence:Lorg/hibernate/NullPrecedence;
invokevirtual org.hibernate.NullPrecedence.name:()Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: org.hibernate.criterion.Order
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/criterion/Order;
}
SourceFile: "Order.java"