public final class org.hibernate.engine.internal.Nullability
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.engine.internal.Nullability
super_class: java.lang.Object
{
private final org.hibernate.engine.spi.SessionImplementor session;
descriptor: Lorg/hibernate/engine/spi/SessionImplementor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean checkNullability;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.hibernate.engine.spi.SessionImplementor);
descriptor: (Lorg/hibernate/engine/spi/SessionImplementor;)V
flags: (0x0001) ACC_PUBLIC
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.engine.internal.Nullability.session:Lorg/hibernate/engine/spi/SessionImplementor;
2: aload 0
aload 1
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSettings:()Lorg/hibernate/cfg/Settings;
invokevirtual org.hibernate.cfg.Settings.isCheckNullability:()Z
putfield org.hibernate.engine.internal.Nullability.checkNullability:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/engine/internal/Nullability;
0 4 1 session Lorg/hibernate/engine/spi/SessionImplementor;
MethodParameters:
Name Flags
session
public void checkNullability(java.lang.Object[], org.hibernate.persister.entity.EntityPersister, boolean);
descriptor: ([Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.engine.internal.Nullability.checkNullability:Z
ifeq 27
1: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNullability:()[Z
astore 4
start local 4 2: iload 3
ifeq 4
3: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyUpdateability:()[Z
goto 5
4: StackMap locals: boolean[]
StackMap stack:
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyInsertability:()[Z
5: StackMap locals:
StackMap stack: boolean[]
astore 5
start local 5 6: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyTypes:()[Lorg/hibernate/type/Type;
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 26
9: StackMap locals: boolean[] org.hibernate.type.Type[] int
StackMap stack:
aload 5
iload 7
baload
ifeq 25
aload 1
iload 7
aaload
getstatic org.hibernate.bytecode.instrumentation.spi.LazyPropertyInitializer.UNFETCHED_PROPERTY:Ljava/io/Serializable;
if_acmpeq 25
10: aload 1
iload 7
aaload
astore 8
start local 8 11: aload 4
iload 7
baload
ifne 17
aload 8
ifnonnull 17
12: new org.hibernate.PropertyValueException
dup
13: ldc "not-null property references a null or transient value"
14: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
15: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNames:()[Ljava/lang/String;
iload 7
aaload
16: invokespecial org.hibernate.PropertyValueException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
17: StackMap locals: java.lang.Object
StackMap stack:
aload 8
ifnull 25
18: aload 0
aload 6
iload 7
aaload
aload 8
invokevirtual org.hibernate.engine.internal.Nullability.checkSubElementsNullability:(Lorg/hibernate/type/Type;Ljava/lang/Object;)Ljava/lang/String;
astore 9
start local 9 19: aload 9
ifnull 25
20: new org.hibernate.PropertyValueException
dup
21: ldc "not-null property references a null or transient value"
22: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getEntityName:()Ljava/lang/String;
23: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNames:()[Ljava/lang/String;
iload 7
aaload
aload 9
invokestatic org.hibernate.engine.internal.Nullability.buildPropertyPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
24: invokespecial org.hibernate.PropertyValueException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 9 end local 8 25: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
26: iload 7
aload 1
arraylength
if_icmplt 9
end local 7 end local 6 end local 5 end local 4 27: StackMap locals: org.hibernate.engine.internal.Nullability java.lang.Object[] org.hibernate.persister.entity.EntityPersister int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/hibernate/engine/internal/Nullability;
0 28 1 values [Ljava/lang/Object;
0 28 2 persister Lorg/hibernate/persister/entity/EntityPersister;
0 28 3 isUpdate Z
2 27 4 nullability [Z
6 27 5 checkability [Z
7 27 6 propertyTypes [Lorg/hibernate/type/Type;
8 27 7 i I
11 25 8 value Ljava/lang/Object;
19 25 9 breakProperties Ljava/lang/String;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
values final
persister final
isUpdate final
private java.lang.String checkSubElementsNullability(org.hibernate.type.Type, java.lang.Object);
descriptor: (Lorg/hibernate/type/Type;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 2
1: aload 0
aload 2
aload 1
checkcast org.hibernate.type.CompositeType
invokevirtual org.hibernate.engine.internal.Nullability.checkComponentNullability:(Ljava/lang/Object;Lorg/hibernate/type/CompositeType;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.hibernate.type.Type.isCollectionType:()Z
ifeq 13
3: aload 1
checkcast org.hibernate.type.CollectionType
astore 3
start local 3 4: aload 3
aload 0
getfield org.hibernate.engine.internal.Nullability.session:Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokevirtual org.hibernate.type.CollectionType.getElementType:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/type/Type;
astore 4
start local 4 5: aload 4
invokeinterface org.hibernate.type.Type.isComponentType:()Z
ifeq 13
6: aload 4
checkcast org.hibernate.type.CompositeType
astore 5
start local 5 7: aload 0
getfield org.hibernate.engine.internal.Nullability.session:Lorg/hibernate/engine/spi/SessionImplementor;
aload 3
aload 2
invokestatic org.hibernate.engine.spi.CascadingActions.getLoadedElementsIterator:(Lorg/hibernate/engine/spi/SessionImplementor;Lorg/hibernate/type/CollectionType;Ljava/lang/Object;)Ljava/util/Iterator;
astore 6
start local 6 8: goto 12
9: StackMap locals: org.hibernate.engine.internal.Nullability org.hibernate.type.Type java.lang.Object org.hibernate.type.CollectionType org.hibernate.type.Type org.hibernate.type.CompositeType java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 7
start local 7 10: aload 7
ifnull 12
11: aload 0
aload 7
aload 5
invokevirtual org.hibernate.engine.internal.Nullability.checkComponentNullability:(Ljava/lang/Object;Lorg/hibernate/type/CompositeType;)Ljava/lang/String;
areturn
end local 7 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 6 end local 5 end local 4 end local 3 13: StackMap locals: org.hibernate.engine.internal.Nullability org.hibernate.type.Type java.lang.Object
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/hibernate/engine/internal/Nullability;
0 14 1 propertyType Lorg/hibernate/type/Type;
0 14 2 value Ljava/lang/Object;
4 13 3 collectionType Lorg/hibernate/type/CollectionType;
5 13 4 collectionElementType Lorg/hibernate/type/Type;
7 13 5 componentType Lorg/hibernate/type/CompositeType;
8 13 6 itr Ljava/util/Iterator;
10 12 7 compositeElement Ljava/lang/Object;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
propertyType
value
private java.lang.String checkComponentNullability(java.lang.Object, org.hibernate.type.CompositeType);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/CompositeType;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.type.CompositeType.isAnyType:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.type.CompositeType.getPropertyNullability:()[Z
astore 3
start local 3 3: aload 3
ifnull 17
4: aload 2
aload 1
aload 0
getfield org.hibernate.engine.internal.Nullability.session:Lorg/hibernate/engine/spi/SessionImplementor;
invokeinterface org.hibernate.type.CompositeType.getPropertyValues:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)[Ljava/lang/Object;
astore 4
start local 4 5: aload 2
invokeinterface org.hibernate.type.CompositeType.getSubtypes:()[Lorg/hibernate/type/Type;
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 16
8: StackMap locals: org.hibernate.engine.internal.Nullability java.lang.Object org.hibernate.type.CompositeType boolean[] java.lang.Object[] org.hibernate.type.Type[] int
StackMap stack:
aload 4
iload 6
aaload
astore 7
start local 7 9: aload 3
iload 6
baload
ifne 11
aload 7
ifnonnull 11
10: aload 2
invokeinterface org.hibernate.type.CompositeType.getPropertyNames:()[Ljava/lang/String;
iload 6
aaload
areturn
11: StackMap locals: java.lang.Object
StackMap stack:
aload 7
ifnull 15
12: aload 0
aload 5
iload 6
aaload
aload 7
invokevirtual org.hibernate.engine.internal.Nullability.checkSubElementsNullability:(Lorg/hibernate/type/Type;Ljava/lang/Object;)Ljava/lang/String;
astore 8
start local 8 13: aload 8
ifnull 15
14: aload 2
invokeinterface org.hibernate.type.CompositeType.getPropertyNames:()[Ljava/lang/String;
iload 6
aaload
aload 8
invokestatic org.hibernate.engine.internal.Nullability.buildPropertyPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 8 end local 7 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
aload 4
arraylength
if_icmplt 8
end local 6 end local 5 end local 4 17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/hibernate/engine/internal/Nullability;
0 18 1 value Ljava/lang/Object;
0 18 2 compositeType Lorg/hibernate/type/CompositeType;
3 18 3 nullability [Z
5 17 4 subValues [Ljava/lang/Object;
6 17 5 propertyTypes [Lorg/hibernate/type/Type;
7 17 6 i I
9 15 7 subValue Ljava/lang/Object;
13 15 8 breakProperties Ljava/lang/String;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
value
compositeType
private static java.lang.String buildPropertyPath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 parent Ljava/lang/String;
0 1 1 child Ljava/lang/String;
MethodParameters:
Name Flags
parent
child
}
SourceFile: "Nullability.java"