public abstract class org.hibernate.criterion.AbstractEmptinessExpression implements org.hibernate.criterion.Criterion
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.criterion.AbstractEmptinessExpression
super_class: java.lang.Object
{
private static final org.hibernate.engine.spi.TypedValue[] NO_VALUES;
descriptor: [Lorg/hibernate/engine/spi/TypedValue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.lang.String propertyName;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.hibernate.engine.spi.TypedValue
putstatic org.hibernate.criterion.AbstractEmptinessExpression.NO_VALUES:[Lorg/hibernate/engine/spi/TypedValue;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, 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
putfield org.hibernate.criterion.AbstractEmptinessExpression.propertyName:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/criterion/AbstractEmptinessExpression;
0 3 1 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
protected abstract boolean excludeEmpty();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public final java.lang.String toSqlString(org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery);
descriptor: (Lorg/hibernate/Criteria;Lorg/hibernate/criterion/CriteriaQuery;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
getfield org.hibernate.criterion.AbstractEmptinessExpression.propertyName:Ljava/lang/String;
invokeinterface org.hibernate.criterion.CriteriaQuery.getEntityName:(Lorg/hibernate/Criteria;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 2
aload 0
getfield org.hibernate.criterion.AbstractEmptinessExpression.propertyName:Ljava/lang/String;
invokeinterface org.hibernate.criterion.CriteriaQuery.getPropertyName:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 2
aload 1
aload 0
getfield org.hibernate.criterion.AbstractEmptinessExpression.propertyName:Ljava/lang/String;
invokeinterface org.hibernate.criterion.CriteriaQuery.getSQLAlias:(Lorg/hibernate/Criteria;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 3: aload 2
invokeinterface org.hibernate.criterion.CriteriaQuery.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
astore 6
start local 6 4: aload 0
aload 3
aload 4
aload 6
invokevirtual org.hibernate.criterion.AbstractEmptinessExpression.getQueryableCollection:(Ljava/lang/String;Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/persister/collection/QueryableCollection;
astore 7
start local 7 5: aload 7
invokeinterface org.hibernate.persister.collection.QueryableCollection.getKeyColumnNames:()[Ljava/lang/String;
astore 8
start local 8 6: aload 6
aload 3
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getEntityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
checkcast org.hibernate.persister.entity.Loadable
invokeinterface org.hibernate.persister.entity.Loadable.getIdentifierColumnNames:()[Ljava/lang/String;
astore 9
start local 9 7: new java.lang.StringBuilder
dup
ldc "(select 1 from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokeinterface org.hibernate.persister.collection.QueryableCollection.getTableName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " where "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: new org.hibernate.sql.ConditionFragment
dup
invokespecial org.hibernate.sql.ConditionFragment.<init>:()V
aload 5
invokevirtual org.hibernate.sql.ConditionFragment.setTableAlias:(Ljava/lang/String;)Lorg/hibernate/sql/ConditionFragment;
aload 9
aload 8
invokevirtual org.hibernate.sql.ConditionFragment.setCondition:([Ljava/lang/String;[Ljava/lang/String;)Lorg/hibernate/sql/ConditionFragment;
invokevirtual org.hibernate.sql.ConditionFragment.toFragmentString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 11: aload 0
invokevirtual org.hibernate.criterion.AbstractEmptinessExpression.excludeEmpty:()Z
ifeq 13
12: new java.lang.StringBuilder
dup
ldc "exists "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 14
13: StackMap locals: org.hibernate.criterion.AbstractEmptinessExpression org.hibernate.Criteria org.hibernate.criterion.CriteriaQuery java.lang.String java.lang.String java.lang.String org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.persister.collection.QueryableCollection java.lang.String[] java.lang.String[] java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "not exists "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 10 end local 9 end local 8 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 15 0 this Lorg/hibernate/criterion/AbstractEmptinessExpression;
0 15 1 criteria Lorg/hibernate/Criteria;
0 15 2 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
1 15 3 entityName Ljava/lang/String;
2 15 4 actualPropertyName Ljava/lang/String;
3 15 5 sqlAlias Ljava/lang/String;
4 15 6 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
5 15 7 collectionPersister Lorg/hibernate/persister/collection/QueryableCollection;
6 15 8 collectionKeys [Ljava/lang/String;
7 15 9 ownerKeys [Ljava/lang/String;
11 15 10 innerSelect Ljava/lang/String;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
criteria
criteriaQuery
protected org.hibernate.persister.collection.QueryableCollection getQueryableCollection(java.lang.String, java.lang.String, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/persister/collection/QueryableCollection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 1
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getEntityPersister:(Ljava/lang/String;)Lorg/hibernate/persister/entity/EntityPersister;
checkcast org.hibernate.persister.entity.PropertyMapping
astore 4
start local 4 1: aload 4
aload 2
invokeinterface org.hibernate.persister.entity.PropertyMapping.toType:(Ljava/lang/String;)Lorg/hibernate/type/Type;
astore 5
start local 5 2: aload 5
invokeinterface org.hibernate.type.Type.isCollectionType:()Z
ifne 6
3: new org.hibernate.MappingException
dup
4: new java.lang.StringBuilder
dup
ldc "Property path ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] does not reference a collection"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.hibernate.persister.entity.PropertyMapping org.hibernate.type.Type
StackMap stack:
aload 5
checkcast org.hibernate.type.CollectionType
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
astore 6
start local 6 7: aload 3
aload 6
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getCollectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
checkcast org.hibernate.persister.collection.QueryableCollection
8: areturn
9: StackMap locals: org.hibernate.criterion.AbstractEmptinessExpression java.lang.String java.lang.String org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.persister.entity.PropertyMapping org.hibernate.type.Type java.lang.String
StackMap stack: java.lang.ClassCastException
pop
10: new org.hibernate.QueryException
dup
new java.lang.StringBuilder
dup
ldc "collection role is not queryable: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack: java.lang.Exception
pop
12: new org.hibernate.QueryException
dup
new java.lang.StringBuilder
dup
ldc "collection role not found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
athrow
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 13 0 this Lorg/hibernate/criterion/AbstractEmptinessExpression;
0 13 1 entityName Ljava/lang/String;
0 13 2 propertyName Ljava/lang/String;
0 13 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
1 13 4 ownerMapping Lorg/hibernate/persister/entity/PropertyMapping;
2 13 5 type Lorg/hibernate/type/Type;
7 13 6 role Ljava/lang/String;
Exception table:
from to target type
7 8 9 Class java.lang.ClassCastException
7 8 11 Class java.lang.Exception
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
entityName
propertyName
factory
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.criterion.AbstractEmptinessExpression.NO_VALUES:[Lorg/hibernate/engine/spi/TypedValue;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/criterion/AbstractEmptinessExpression;
0 1 1 criteria Lorg/hibernate/Criteria;
0 1 2 criteriaQuery Lorg/hibernate/criterion/CriteriaQuery;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
criteria
criteriaQuery
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.criterion.AbstractEmptinessExpression.propertyName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.criterion.AbstractEmptinessExpression.excludeEmpty:()Z
ifeq 1
ldc " is not empty"
goto 2
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: ldc " is empty"
StackMap locals: org.hibernate.criterion.AbstractEmptinessExpression
StackMap stack: java.lang.StringBuilder java.lang.String
2: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/criterion/AbstractEmptinessExpression;
}
SourceFile: "AbstractEmptinessExpression.java"