public class org.hibernate.engine.internal.UnsavedValueFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.internal.UnsavedValueFactory
super_class: java.lang.Object
{
private static java.lang.Object instantiate(java.lang.reflect.Constructor);
descriptor: (Ljava/lang/reflect/Constructor;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new org.hibernate.InstantiationException
dup
ldc "could not instantiate test object"
aload 0
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
aload 1
invokespecial org.hibernate.InstantiationException.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 constructor Ljava/lang/reflect/Constructor;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
constructor
public static org.hibernate.engine.spi.IdentifierValue getUnsavedIdentifierValue(java.lang.String, org.hibernate.property.Getter, org.hibernate.type.Type, java.lang.reflect.Constructor);
descriptor: (Ljava/lang/String;Lorg/hibernate/property/Getter;Lorg/hibernate/type/Type;Ljava/lang/reflect/Constructor;)Lorg/hibernate/engine/spi/IdentifierValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 8
1: aload 1
ifnull 4
aload 3
ifnull 4
2: aload 1
aload 3
invokestatic org.hibernate.engine.internal.UnsavedValueFactory.instantiate:(Ljava/lang/reflect/Constructor;)Ljava/lang/Object;
invokeinterface org.hibernate.property.Getter.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.Serializable
astore 4
start local 4 3: new org.hibernate.engine.spi.IdentifierValue
dup
aload 4
invokespecial org.hibernate.engine.spi.IdentifierValue.<init>:(Ljava/io/Serializable;)V
areturn
end local 4 4: StackMap locals:
StackMap stack:
aload 1
ifnull 7
aload 2
instanceof org.hibernate.type.PrimitiveType
ifeq 7
5: aload 2
checkcast org.hibernate.type.PrimitiveType
invokeinterface org.hibernate.type.PrimitiveType.getDefaultValue:()Ljava/io/Serializable;
astore 4
start local 4 6: new org.hibernate.engine.spi.IdentifierValue
dup
aload 4
invokespecial org.hibernate.engine.spi.IdentifierValue.<init>:(Ljava/io/Serializable;)V
areturn
end local 4 7: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.spi.IdentifierValue.NULL:Lorg/hibernate/engine/spi/IdentifierValue;
areturn
8: StackMap locals:
StackMap stack:
ldc "null"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: getstatic org.hibernate.engine.spi.IdentifierValue.NULL:Lorg/hibernate/engine/spi/IdentifierValue;
areturn
10: StackMap locals:
StackMap stack:
ldc "undefined"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: getstatic org.hibernate.engine.spi.IdentifierValue.UNDEFINED:Lorg/hibernate/engine/spi/IdentifierValue;
areturn
12: StackMap locals:
StackMap stack:
ldc "none"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: getstatic org.hibernate.engine.spi.IdentifierValue.NONE:Lorg/hibernate/engine/spi/IdentifierValue;
areturn
14: StackMap locals:
StackMap stack:
ldc "any"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: getstatic org.hibernate.engine.spi.IdentifierValue.ANY:Lorg/hibernate/engine/spi/IdentifierValue;
areturn
16: StackMap locals:
StackMap stack:
new org.hibernate.engine.spi.IdentifierValue
dup
aload 2
checkcast org.hibernate.type.IdentifierType
aload 0
invokeinterface org.hibernate.type.IdentifierType.stringToObject:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.Serializable
invokespecial org.hibernate.engine.spi.IdentifierValue.<init>:(Ljava/io/Serializable;)V
17: areturn
18: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
19: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "Bad identifier type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.hibernate.type.Type.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack: java.lang.Exception
pop
21: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "Could not parse identifier unsaved-value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 unsavedValue Ljava/lang/String;
0 22 1 identifierGetter Lorg/hibernate/property/Getter;
0 22 2 identifierType Lorg/hibernate/type/Type;
0 22 3 constructor Ljava/lang/reflect/Constructor;
3 4 4 defaultValue Ljava/io/Serializable;
6 7 4 defaultValue Ljava/io/Serializable;
Exception table:
from to target type
16 17 18 Class java.lang.ClassCastException
16 17 20 Class java.lang.Exception
MethodParameters:
Name Flags
unsavedValue
identifierGetter
identifierType
constructor
public static org.hibernate.engine.spi.VersionValue getUnsavedVersionValue(java.lang.String, org.hibernate.property.Getter, org.hibernate.type.VersionType, java.lang.reflect.Constructor);
descriptor: (Ljava/lang/String;Lorg/hibernate/property/Getter;Lorg/hibernate/type/VersionType;Ljava/lang/reflect/Constructor;)Lorg/hibernate/engine/spi/VersionValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 8
1: aload 3
ifnull 7
2: aload 1
aload 3
invokestatic org.hibernate.engine.internal.UnsavedValueFactory.instantiate:(Ljava/lang/reflect/Constructor;)Ljava/lang/Object;
invokeinterface org.hibernate.property.Getter.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 2
aload 2
aconst_null
invokeinterface org.hibernate.type.VersionType.seed:(Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/Object;
aload 4
invokeinterface org.hibernate.type.VersionType.isEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
4: getstatic org.hibernate.engine.spi.VersionValue.UNDEFINED:Lorg/hibernate/engine/spi/VersionValue;
goto 6
5: StackMap locals: java.lang.Object
StackMap stack:
new org.hibernate.engine.spi.VersionValue
dup
aload 4
invokespecial org.hibernate.engine.spi.VersionValue.<init>:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack: org.hibernate.engine.spi.VersionValue
areturn
end local 4 7: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.spi.VersionValue.UNDEFINED:Lorg/hibernate/engine/spi/VersionValue;
areturn
8: StackMap locals:
StackMap stack:
ldc "undefined"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: getstatic org.hibernate.engine.spi.VersionValue.UNDEFINED:Lorg/hibernate/engine/spi/VersionValue;
areturn
10: StackMap locals:
StackMap stack:
ldc "null"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: getstatic org.hibernate.engine.spi.VersionValue.NULL:Lorg/hibernate/engine/spi/VersionValue;
areturn
12: StackMap locals:
StackMap stack:
ldc "negative"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: getstatic org.hibernate.engine.spi.VersionValue.NEGATIVE:Lorg/hibernate/engine/spi/VersionValue;
areturn
14: StackMap locals:
StackMap stack:
new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "Could not parse version unsaved-value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 versionUnsavedValue Ljava/lang/String;
0 15 1 versionGetter Lorg/hibernate/property/Getter;
0 15 2 versionType Lorg/hibernate/type/VersionType;
0 15 3 constructor Ljava/lang/reflect/Constructor;
3 7 4 defaultValue Ljava/lang/Object;
MethodParameters:
Name Flags
versionUnsavedValue
versionGetter
versionType
constructor
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/internal/UnsavedValueFactory;
}
SourceFile: "UnsavedValueFactory.java"