public class org.hibernate.id.Assigned implements org.hibernate.id.IdentifierGenerator, org.hibernate.id.Configurable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.id.Assigned
super_class: java.lang.Object
{
private java.lang.String entityName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/id/Assigned;
public java.io.Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object);
descriptor: (Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;)Ljava/io/Serializable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.hibernate.id.Assigned.entityName:Ljava/lang/String;
aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEntityPersister:(Ljava/lang/String;Ljava/lang/Object;)Lorg/hibernate/persister/entity/EntityPersister;
aload 2
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getIdentifier:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/io/Serializable;
astore 3
start local 3 1: aload 3
ifnonnull 5
2: new org.hibernate.id.IdentifierGenerationException
dup
3: new java.lang.StringBuilder
dup
ldc "ids for this class must be manually assigned before calling save(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.id.Assigned.entityName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial org.hibernate.id.IdentifierGenerationException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.io.Serializable
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/id/Assigned;
0 6 1 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
0 6 2 obj Ljava/lang/Object;
1 6 3 id Ljava/io/Serializable;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
session
obj
public void configure(org.hibernate.type.Type, java.util.Properties, org.hibernate.service.ServiceRegistry);
descriptor: (Lorg/hibernate/type/Type;Ljava/util/Properties;Lorg/hibernate/service/ServiceRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
ldc "entity_name"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield org.hibernate.id.Assigned.entityName:Ljava/lang/String;
1: aload 0
getfield org.hibernate.id.Assigned.entityName:Ljava/lang/String;
ifnonnull 3
2: new org.hibernate.MappingException
dup
ldc "no entity name"
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/id/Assigned;
0 4 1 type Lorg/hibernate/type/Type;
0 4 2 params Ljava/util/Properties;
0 4 3 serviceRegistry Lorg/hibernate/service/ServiceRegistry;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
type
params
serviceRegistry
}
SourceFile: "Assigned.java"