public class org.hibernate.criterion.Example implements org.hibernate.criterion.Criterion
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.criterion.Example
super_class: java.lang.Object
{
private final java.lang.Object exampleEntity;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.hibernate.criterion.Example$PropertySelector selector;
descriptor: Lorg/hibernate/criterion/Example$PropertySelector;
flags: (0x0002) ACC_PRIVATE
private boolean isLikeEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Character escapeCharacter;
descriptor: Ljava/lang/Character;
flags: (0x0002) ACC_PRIVATE
private boolean isIgnoreCaseEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.hibernate.criterion.MatchMode matchMode;
descriptor: Lorg/hibernate/criterion/MatchMode;
flags: (0x0002) ACC_PRIVATE
private final java.util.Set<java.lang.String> excludedProperties;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static org.hibernate.criterion.Example create(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/hibernate/criterion/Example;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null example entity"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.hibernate.criterion.Example
dup
aload 0
getstatic org.hibernate.criterion.Example$NotNullPropertySelector.INSTANCE:Lorg/hibernate/criterion/Example$NotNullPropertySelector;
invokespecial org.hibernate.criterion.Example.<init>:(Ljava/lang/Object;Lorg/hibernate/criterion/Example$PropertySelector;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 exampleEntity Ljava/lang/Object;
MethodParameters:
Name Flags
exampleEntity
protected void <init>(java.lang.Object, org.hibernate.criterion.Example$PropertySelector);
descriptor: (Ljava/lang/Object;Lorg/hibernate/criterion/Example$PropertySelector;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.hibernate.criterion.Example.excludedProperties:Ljava/util/Set;
2: aload 0
aload 1
putfield org.hibernate.criterion.Example.exampleEntity:Ljava/lang/Object;
3: aload 0
aload 2
putfield org.hibernate.criterion.Example.selector:Lorg/hibernate/criterion/Example$PropertySelector;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/criterion/Example;
0 5 1 exampleEntity Ljava/lang/Object;
0 5 2 selector Lorg/hibernate/criterion/Example$PropertySelector;
MethodParameters:
Name Flags
exampleEntity
selector
public org.hibernate.criterion.Example setEscapeCharacter(java.lang.Character);
descriptor: (Ljava/lang/Character;)Lorg/hibernate/criterion/Example;
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.Example.escapeCharacter:Ljava/lang/Character;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Example;
0 2 1 escapeCharacter Ljava/lang/Character;
MethodParameters:
Name Flags
escapeCharacter
public org.hibernate.criterion.Example enableLike();
descriptor: ()Lorg/hibernate/criterion/Example;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.criterion.MatchMode.EXACT:Lorg/hibernate/criterion/MatchMode;
invokevirtual org.hibernate.criterion.Example.enableLike:(Lorg/hibernate/criterion/MatchMode;)Lorg/hibernate/criterion/Example;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/criterion/Example;
public org.hibernate.criterion.Example enableLike(org.hibernate.criterion.MatchMode);
descriptor: (Lorg/hibernate/criterion/MatchMode;)Lorg/hibernate/criterion/Example;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield org.hibernate.criterion.Example.isLikeEnabled:Z
1: aload 0
aload 1
putfield org.hibernate.criterion.Example.matchMode:Lorg/hibernate/criterion/MatchMode;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/criterion/Example;
0 3 1 matchMode Lorg/hibernate/criterion/MatchMode;
MethodParameters:
Name Flags
matchMode
public org.hibernate.criterion.Example ignoreCase();
descriptor: ()Lorg/hibernate/criterion/Example;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.hibernate.criterion.Example.isIgnoreCaseEnabled:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Example;
public org.hibernate.criterion.Example setPropertySelector(org.hibernate.criterion.Example$PropertySelector);
descriptor: (Lorg/hibernate/criterion/Example$PropertySelector;)Lorg/hibernate/criterion/Example;
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.Example.selector:Lorg/hibernate/criterion/Example$PropertySelector;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Example;
0 2 1 selector Lorg/hibernate/criterion/Example$PropertySelector;
MethodParameters:
Name Flags
selector
public org.hibernate.criterion.Example excludeZeroes();
descriptor: ()Lorg/hibernate/criterion/Example;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.criterion.Example$NotNullOrZeroPropertySelector.INSTANCE:Lorg/hibernate/criterion/Example$NotNullOrZeroPropertySelector;
invokevirtual org.hibernate.criterion.Example.setPropertySelector:(Lorg/hibernate/criterion/Example$PropertySelector;)Lorg/hibernate/criterion/Example;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Example;
public org.hibernate.criterion.Example excludeNone();
descriptor: ()Lorg/hibernate/criterion/Example;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.hibernate.criterion.Example$AllPropertySelector.INSTANCE:Lorg/hibernate/criterion/Example$AllPropertySelector;
invokevirtual org.hibernate.criterion.Example.setPropertySelector:(Lorg/hibernate/criterion/Example$PropertySelector;)Lorg/hibernate/criterion/Example;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Example;
public org.hibernate.criterion.Example excludeProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/criterion/Example;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.criterion.Example.excludedProperties:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/criterion/Example;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
astore 3
start local 3 1: aload 2
invokeinterface org.hibernate.criterion.CriteriaQuery.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
2: aload 2
aload 1
invokeinterface org.hibernate.criterion.CriteriaQuery.getEntityName:(Lorg/hibernate/Criteria;)Ljava/lang/String;
3: invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getEntityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
astore 4
start local 4 4: aload 4
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNames:()[Ljava/lang/String;
astore 5
start local 5 5: aload 4
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyTypes:()[Lorg/hibernate/type/Type;
astore 6
start local 6 6: aload 4
aload 0
getfield org.hibernate.criterion.Example.exampleEntity:Ljava/lang/Object;
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyValues:(Ljava/lang/Object;)[Ljava/lang/Object;
astore 7
start local 7 7: iconst_0
istore 8
start local 8 8: goto 33
9: StackMap locals: org.hibernate.criterion.Example org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder org.hibernate.persister.entity.EntityPersister java.lang.String[] org.hibernate.type.Type[] java.lang.Object[] int
StackMap stack:
aload 7
iload 8
aaload
astore 9
start local 9 10: aload 5
iload 8
aaload
astore 10
start local 10 11: iload 8
aload 4
invokeinterface org.hibernate.persister.entity.EntityPersister.getVersionProperty:()I
if_icmpne 12
iconst_1
goto 13
StackMap locals: java.lang.Object java.lang.String
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 11
start local 11 14: iload 11
ifne 32
aload 0
aload 9
aload 10
aload 6
iload 8
aaload
invokevirtual org.hibernate.criterion.Example.isPropertyIncluded:(Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/type/Type;)Z
ifeq 32
15: aload 6
iload 8
aaload
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 25
16: aload 0
17: aload 10
18: aload 9
19: aload 6
iload 8
aaload
checkcast org.hibernate.type.CompositeType
20: aload 1
21: aload 2
22: aload 3
23: invokevirtual org.hibernate.criterion.Example.appendComponentCondition:(Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;Ljava/lang/StringBuilder;)V
24: goto 32
25: StackMap locals: int
StackMap stack:
aload 0
26: aload 10
27: aload 9
28: aload 1
29: aload 2
30: aload 3
31: invokevirtual org.hibernate.criterion.Example.appendPropertyCondition:(Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;Ljava/lang/StringBuilder;)V
end local 11 end local 10 end local 9 32: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
33: iload 8
aload 5
arraylength
if_icmplt 9
end local 8 34: aload 3
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
if_icmpne 36
35: aload 3
ldc "1=1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: StackMap locals:
StackMap stack:
aload 3
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
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 37 0 this Lorg/hibernate/criterion/Example;
0 37 1 criteria Lorg/hibernate/Criteria;
0 37 2 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
1 37 3 buf Ljava/lang/StringBuilder;
4 37 4 meta Lorg/hibernate/persister/entity/EntityPersister;
5 37 5 propertyNames [Ljava/lang/String;
6 37 6 propertyTypes [Lorg/hibernate/type/Type;
7 37 7 propertyValues [Ljava/lang/Object;
8 34 8 i I
10 32 9 propertyValue Ljava/lang/Object;
11 32 10 propertyName Ljava/lang/String;
14 32 11 isVersionProperty Z
MethodParameters:
Name Flags
criteria
criteriaQuery
private boolean isPropertyIncluded(java.lang.Object, java.lang.String, org.hibernate.type.Type);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/type/Type;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.criterion.Example.excludedProperties:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.hibernate.type.Type.isAssociationType:()Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.criterion.Example.selector:Lorg/hibernate/criterion/Example$PropertySelector;
aload 1
aload 2
aload 3
invokeinterface org.hibernate.criterion.Example$PropertySelector.include:(Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/type/Type;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/criterion/Example;
0 5 1 value Ljava/lang/Object;
0 5 2 name Ljava/lang/String;
0 5 3 type Lorg/hibernate/type/Type;
MethodParameters:
Name Flags
value
name
type
public org.hibernate.engine.spi.TypedValue[] getTypedValues(org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery);
descriptor: (Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)[Lorg/hibernate/engine/spi/TypedValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.criterion.CriteriaQuery.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
1: aload 2
aload 1
invokeinterface org.hibernate.criterion.CriteriaQuery.getEntityName:(Lorg/hibernate/Criteria;)Ljava/lang/String;
2: invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getEntityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
astore 3
start local 3 3: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNames:()[Ljava/lang/String;
astore 4
start local 4 4: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyTypes:()[Lorg/hibernate/type/Type;
astore 5
start local 5 5: aload 3
aload 0
getfield org.hibernate.criterion.Example.exampleEntity:Ljava/lang/Object;
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyValues:(Ljava/lang/Object;)[Ljava/lang/Object;
astore 6
start local 6 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 7: iconst_0
istore 8
start local 8 8: goto 21
9: StackMap locals: org.hibernate.criterion.Example org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery org.hibernate.persister.entity.EntityPersister java.lang.String[] org.hibernate.type.Type[] java.lang.Object[] java.util.List int
StackMap stack:
aload 6
iload 8
aaload
astore 9
start local 9 10: aload 5
iload 8
aaload
astore 10
start local 10 11: aload 4
iload 8
aaload
astore 11
start local 11 12: iload 8
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getVersionProperty:()I
if_icmpne 13
iconst_1
goto 14
StackMap locals: java.lang.Object org.hibernate.type.Type java.lang.String
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 12
start local 12 15: iload 12
ifne 20
aload 0
aload 9
aload 11
aload 10
invokevirtual org.hibernate.criterion.Example.isPropertyIncluded:(Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/type/Type;)Z
ifeq 20
16: aload 5
iload 8
aaload
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 19
17: aload 0
aload 11
aload 9
aload 10
checkcast org.hibernate.type.CompositeType
aload 7
aload 1
aload 2
invokevirtual org.hibernate.criterion.Example.addComponentTypedValues:(Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Ljava/util/List;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)V
18: goto 20
19: StackMap locals: int
StackMap stack:
aload 0
aload 9
aload 10
aload 7
invokevirtual org.hibernate.criterion.Example.addPropertyTypedValue:(Ljava/lang/Object;Lorg/hibernate/type/Type;Ljava/util/List;)V
end local 12 end local 11 end local 10 end local 9 20: StackMap locals: org.hibernate.criterion.Example org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery org.hibernate.persister.entity.EntityPersister java.lang.String[] org.hibernate.type.Type[] java.lang.Object[] java.util.List int
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
21: iload 8
aload 4
arraylength
if_icmplt 9
end local 8 22: aload 7
aload 7
invokeinterface java.util.List.size:()I
anewarray org.hibernate.engine.spi.TypedValue
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.hibernate.engine.spi.TypedValue[]
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 23 0 this Lorg/hibernate/criterion/Example;
0 23 1 criteria Lorg/hibernate/Criteria;
0 23 2 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
3 23 3 meta Lorg/hibernate/persister/entity/EntityPersister;
4 23 4 propertyNames [Ljava/lang/String;
5 23 5 propertyTypes [Lorg/hibernate/type/Type;
6 23 6 values [Ljava/lang/Object;
7 23 7 list Ljava/util/List<Lorg/hibernate/engine/spi/TypedValue;>;
8 22 8 i I
10 20 9 value Ljava/lang/Object;
11 20 10 type Lorg/hibernate/type/Type;
12 20 11 name Ljava/lang/String;
15 20 12 isVersionProperty Z
MethodParameters:
Name Flags
criteria
criteriaQuery
protected void addPropertyTypedValue(, org.hibernate.type.Type, java.util.List<org.hibernate.engine.spi.TypedValue>);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/Type;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 9
1: aload 1
instanceof java.lang.String
ifeq 8
2: aload 1
checkcast java.lang.String
astore 4
start local 4 3: aload 0
getfield org.hibernate.criterion.Example.isIgnoreCaseEnabled:Z
ifeq 5
4: aload 4
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 4
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.hibernate.criterion.Example.isLikeEnabled:Z
ifeq 7
6: aload 0
getfield org.hibernate.criterion.Example.matchMode:Lorg/hibernate/criterion/MatchMode;
aload 4
invokevirtual org.hibernate.criterion.MatchMode.toMatchString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
7: StackMap locals:
StackMap stack:
aload 4
astore 1
end local 4 8: StackMap locals:
StackMap stack:
aload 3
new org.hibernate.engine.spi.TypedValue
dup
aload 2
aload 1
invokespecial org.hibernate.engine.spi.TypedValue.<init>:(Lorg/hibernate/type/Type;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/criterion/Example;
0 10 1 value Ljava/lang/Object;
0 10 2 type Lorg/hibernate/type/Type;
0 10 3 list Ljava/util/List<Lorg/hibernate/engine/spi/TypedValue;>;
3 8 4 string Ljava/lang/String;
Signature: (Ljava/lang/Object;Lorg/hibernate/type/Type;Ljava/util/List<Lorg/hibernate/engine/spi/TypedValue;>;)V
MethodParameters:
Name Flags
value
type
list
protected void addComponentTypedValues(java.lang.String, , org.hibernate.type.CompositeType, java.util.List<org.hibernate.engine.spi.TypedValue>, org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Ljava/util/List;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=14, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
ifnull 16
1: aload 3
invokeinterface org.hibernate.type.CompositeType.getPropertyNames:()[Ljava/lang/String;
astore 7
start local 7 2: aload 3
invokeinterface org.hibernate.type.CompositeType.getSubtypes:()[Lorg/hibernate/type/Type;
astore 8
start local 8 3: aload 3
aload 2
aload 0
aload 5
aload 6
invokevirtual org.hibernate.criterion.Example.getEntityMode:(Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)Lorg/hibernate/EntityMode;
invokeinterface org.hibernate.type.CompositeType.getPropertyValues:(Ljava/lang/Object;Lorg/hibernate/EntityMode;)[Ljava/lang/Object;
astore 9
start local 9 4: iconst_0
istore 10
start local 10 5: goto 15
6: StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.type.CompositeType java.util.List org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String[] org.hibernate.type.Type[] java.lang.Object[] int
StackMap stack:
aload 9
iload 10
aaload
astore 11
start local 11 7: aload 8
iload 10
aaload
astore 12
start local 12 8: aload 1
aload 7
iload 10
aaload
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 13
start local 13 9: aload 0
aload 11
aload 13
aload 12
invokevirtual org.hibernate.criterion.Example.isPropertyIncluded:(Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/type/Type;)Z
ifeq 14
10: aload 12
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 13
11: aload 0
aload 13
aload 11
aload 12
checkcast org.hibernate.type.CompositeType
aload 4
aload 5
aload 6
invokevirtual org.hibernate.criterion.Example.addComponentTypedValues:(Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Ljava/util/List;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)V
12: goto 14
13: StackMap locals: java.lang.Object org.hibernate.type.Type java.lang.String
StackMap stack:
aload 0
aload 11
aload 12
aload 4
invokevirtual org.hibernate.criterion.Example.addPropertyTypedValue:(Ljava/lang/Object;Lorg/hibernate/type/Type;Ljava/util/List;)V
end local 13 end local 12 end local 11 14: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
15: iload 10
aload 7
arraylength
if_icmplt 6
end local 10 end local 9 end local 8 end local 7 16: StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.type.CompositeType java.util.List org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery
StackMap stack:
return
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 17 0 this Lorg/hibernate/criterion/Example;
0 17 1 path Ljava/lang/String;
0 17 2 component Ljava/lang/Object;
0 17 3 type Lorg/hibernate/type/CompositeType;
0 17 4 list Ljava/util/List<Lorg/hibernate/engine/spi/TypedValue;>;
0 17 5 criteria Lorg/hibernate/Criteria;
0 17 6 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
2 16 7 propertyNames [Ljava/lang/String;
3 16 8 subtypes [Lorg/hibernate/type/Type;
4 16 9 values [Ljava/lang/Object;
5 16 10 i I
7 14 11 value Ljava/lang/Object;
8 14 12 subtype Lorg/hibernate/type/Type;
9 14 13 subpath Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Ljava/util/List<Lorg/hibernate/engine/spi/TypedValue;>;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)V
MethodParameters:
Name Flags
path
component
type
list
criteria
criteriaQuery
private org.hibernate.EntityMode getEntityMode(org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery);
descriptor: (Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)Lorg/hibernate/EntityMode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.criterion.CriteriaQuery.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
1: aload 2
aload 1
invokeinterface org.hibernate.criterion.CriteriaQuery.getEntityName:(Lorg/hibernate/Criteria;)Ljava/lang/String;
2: invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getEntityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
astore 3
start local 3 3: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityMode:()Lorg/hibernate/EntityMode;
astore 4
start local 4 4: aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityMetamodel:()Lorg/hibernate/tuple/entity/EntityMetamodel;
invokevirtual org.hibernate.tuple.entity.EntityMetamodel.getTuplizer:()Lorg/hibernate/tuple/entity/EntityTuplizer;
aload 0
getfield org.hibernate.criterion.Example.exampleEntity:Ljava/lang/Object;
invokeinterface org.hibernate.tuple.entity.EntityTuplizer.isInstance:(Ljava/lang/Object;)Z
ifne 6
5: new java.lang.ClassCastException
dup
aload 0
getfield org.hibernate.criterion.Example.exampleEntity:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.hibernate.persister.entity.EntityPersister org.hibernate.EntityMode
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/criterion/Example;
0 7 1 criteria Lorg/hibernate/Criteria;
0 7 2 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
3 7 3 meta Lorg/hibernate/persister/entity/EntityPersister;
4 7 4 result Lorg/hibernate/EntityMode;
MethodParameters:
Name Flags
criteria
criteriaQuery
protected void appendPropertyCondition(java.lang.String, java.lang.Object, org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery, java.lang.StringBuilder);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;Ljava/lang/StringBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnull 15
1: aload 2
instanceof java.lang.String
istore 7
start local 7 2: aload 0
getfield org.hibernate.criterion.Example.isLikeEnabled:Z
ifeq 11
iload 7
ifeq 11
3: new org.hibernate.criterion.LikeExpression
dup
4: aload 1
5: aload 2
checkcast java.lang.String
6: aload 0
getfield org.hibernate.criterion.Example.matchMode:Lorg/hibernate/criterion/MatchMode;
7: aload 0
getfield org.hibernate.criterion.Example.escapeCharacter:Ljava/lang/Character;
8: aload 0
getfield org.hibernate.criterion.Example.isIgnoreCaseEnabled:Z
9: invokespecial org.hibernate.criterion.LikeExpression.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/hibernate/criterion/MatchMode;Ljava/lang/Character;Z)V
astore 6
start local 6 10: goto 16
end local 6 11: StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder top int
StackMap stack:
new org.hibernate.criterion.SimpleExpression
dup
aload 1
aload 2
ldc "="
aload 0
getfield org.hibernate.criterion.Example.isIgnoreCaseEnabled:Z
ifeq 12
iload 7
ifeq 12
iconst_1
goto 13
StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder top int
StackMap stack: new 11 new 11 java.lang.String java.lang.Object java.lang.String
12: iconst_0
StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder top int
StackMap stack: new 11 new 11 java.lang.String java.lang.Object java.lang.String int
13: invokespecial org.hibernate.criterion.SimpleExpression.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Z)V
astore 6
end local 7 start local 6 14: goto 16
end local 6 15: StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder
StackMap stack:
new org.hibernate.criterion.NullExpression
dup
aload 1
invokespecial org.hibernate.criterion.NullExpression.<init>:(Ljava/lang/String;)V
astore 6
start local 6 16: StackMap locals: org.hibernate.criterion.Criterion
StackMap stack:
aload 6
aload 3
aload 4
invokeinterface org.hibernate.criterion.Criterion.toSqlString:(Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)Ljava/lang/String;
astore 7
start local 7 17: aload 7
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 21
18: aload 5
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
if_icmple 20
19: aload 5
ldc " and "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
return
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 22 0 this Lorg/hibernate/criterion/Example;
0 22 1 propertyName Ljava/lang/String;
0 22 2 propertyValue Ljava/lang/Object;
0 22 3 criteria Lorg/hibernate/Criteria;
0 22 4 cq Lorg/hibernate/criterion/CriteriaQuery;
0 22 5 buf Ljava/lang/StringBuilder;
10 11 6 condition Lorg/hibernate/criterion/Criterion;
14 15 6 condition Lorg/hibernate/criterion/Criterion;
16 22 6 condition Lorg/hibernate/criterion/Criterion;
2 14 7 isString Z
17 22 7 conditionFragment Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
propertyValue
criteria
cq
buf
protected void appendComponentCondition(java.lang.String, java.lang.Object, org.hibernate.type.CompositeType, org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery, java.lang.StringBuilder);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;Ljava/lang/StringBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=14, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
ifnull 29
1: aload 3
invokeinterface org.hibernate.type.CompositeType.getPropertyNames:()[Ljava/lang/String;
astore 7
start local 7 2: aload 3
aload 2
aload 0
aload 4
aload 5
invokevirtual org.hibernate.criterion.Example.getEntityMode:(Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)Lorg/hibernate/EntityMode;
invokeinterface org.hibernate.type.CompositeType.getPropertyValues:(Ljava/lang/Object;Lorg/hibernate/EntityMode;)[Ljava/lang/Object;
astore 8
start local 8 3: aload 3
invokeinterface org.hibernate.type.CompositeType.getSubtypes:()[Lorg/hibernate/type/Type;
astore 9
start local 9 4: iconst_0
istore 10
start local 10 5: goto 28
6: StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.type.CompositeType org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder java.lang.String[] java.lang.Object[] org.hibernate.type.Type[] int
StackMap stack:
aload 1
aload 7
iload 10
aaload
invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 7: aload 8
iload 10
aaload
astore 12
start local 12 8: aload 0
aload 12
aload 11
aload 9
iload 10
aaload
invokevirtual org.hibernate.criterion.Example.isPropertyIncluded:(Ljava/lang/Object;Ljava/lang/String;Lorg/hibernate/type/Type;)Z
ifeq 27
9: aload 9
iload 10
aaload
astore 13
start local 13 10: aload 13
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 20
11: aload 0
12: aload 11
13: aload 12
14: aload 13
checkcast org.hibernate.type.CompositeType
15: aload 4
16: aload 5
17: aload 6
18: invokevirtual org.hibernate.criterion.Example.appendComponentCondition:(Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/type/CompositeType;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;Ljava/lang/StringBuilder;)V
19: goto 27
20: StackMap locals: java.lang.String java.lang.Object org.hibernate.type.Type
StackMap stack:
aload 0
21: aload 11
22: aload 12
23: aload 4
24: aload 5
25: aload 6
26: invokevirtual org.hibernate.criterion.Example.appendPropertyCondition:(Ljava/lang/String;Ljava/lang/Object;Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;Ljava/lang/StringBuilder;)V
end local 13 end local 12 end local 11 27: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
28: iload 10
aload 7
arraylength
if_icmplt 6
end local 10 end local 9 end local 8 end local 7 29: StackMap locals: org.hibernate.criterion.Example java.lang.String java.lang.Object org.hibernate.type.CompositeType org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.StringBuilder
StackMap stack:
return
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 30 0 this Lorg/hibernate/criterion/Example;
0 30 1 path Ljava/lang/String;
0 30 2 component Ljava/lang/Object;
0 30 3 type Lorg/hibernate/type/CompositeType;
0 30 4 criteria Lorg/hibernate/Criteria;
0 30 5 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
0 30 6 buf Ljava/lang/StringBuilder;
2 29 7 propertyNames [Ljava/lang/String;
3 29 8 values [Ljava/lang/Object;
4 29 9 subtypes [Lorg/hibernate/type/Type;
5 29 10 i I
7 27 11 subPath Ljava/lang/String;
8 27 12 value Ljava/lang/Object;
10 27 13 subtype Lorg/hibernate/type/Type;
MethodParameters:
Name Flags
path
component
type
criteria
criteriaQuery
buf
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "example ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.criterion.Example.exampleEntity:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/criterion/Example;
}
SourceFile: "Example.java"
NestMembers:
org.hibernate.criterion.Example$AllPropertySelector org.hibernate.criterion.Example$NotNullOrZeroPropertySelector org.hibernate.criterion.Example$NotNullPropertySelector org.hibernate.criterion.Example$PropertySelector
InnerClasses:
public final AllPropertySelector = org.hibernate.criterion.Example$AllPropertySelector of org.hibernate.criterion.Example
public final NotNullOrZeroPropertySelector = org.hibernate.criterion.Example$NotNullOrZeroPropertySelector of org.hibernate.criterion.Example
public final NotNullPropertySelector = org.hibernate.criterion.Example$NotNullPropertySelector of org.hibernate.criterion.Example
public abstract PropertySelector = org.hibernate.criterion.Example$PropertySelector of org.hibernate.criterion.Example