class org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter implements org.hibernate.boot.model.IdGeneratorStrategyInterpreter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter
super_class: java.lang.Object
{
public static final org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter INSTANCE;
descriptor: Lorg/hibernate/boot/internal/IdGeneratorInterpreterImpl$LegacyFallbackInterpreter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$javax$persistence$GenerationType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter
dup
invokespecial org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter.<init>:()V
putstatic org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter.INSTANCE:Lorg/hibernate/boot/internal/IdGeneratorInterpreterImpl$LegacyFallbackInterpreter;
return
LocalVariableTable:
Start End Slot Name Signature
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/boot/internal/IdGeneratorInterpreterImpl$LegacyFallbackInterpreter;
public java.lang.String determineGeneratorName(javax.persistence.GenerationType, org.hibernate.boot.model.IdGeneratorStrategyInterpreter$GeneratorNameDeterminationContext);
descriptor: (Ljavax/persistence/GenerationType;Lorg/hibernate/boot/model/IdGeneratorStrategyInterpreter$GeneratorNameDeterminationContext;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter.$SWITCH_TABLE$javax$persistence$GenerationType:()[I
aload 1
invokevirtual javax.persistence.GenerationType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 3
2: 2
3: 1
default: 4
}
1: StackMap locals:
StackMap stack:
ldc "identity"
areturn
2: StackMap locals:
StackMap stack:
ldc "seqhilo"
areturn
3: StackMap locals:
StackMap stack:
ldc Lorg/hibernate/id/MultipleHiLoPerTableGenerator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
ldc "increment"
aload 2
invokeinterface org.hibernate.boot.model.IdGeneratorStrategyInterpreter$GeneratorNameDeterminationContext.getGeneratedValueGeneratorName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: ldc Lorg/hibernate/id/IncrementGenerator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.boot.model.IdGeneratorStrategyInterpreter$GeneratorNameDeterminationContext.getIdType:()Ljava/lang/Class;
astore 3
start local 3 7: ldc Ljava/util/UUID;
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 9
8: ldc Lorg/hibernate/id/UUIDGenerator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
9: StackMap locals: java.lang.Class
StackMap stack:
ldc "native"
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/boot/internal/IdGeneratorInterpreterImpl$LegacyFallbackInterpreter;
0 10 1 generationType Ljavax/persistence/GenerationType;
0 10 2 context Lorg/hibernate/boot/model/IdGeneratorStrategyInterpreter$GeneratorNameDeterminationContext;
7 10 3 javaType Ljava/lang/Class;
MethodParameters:
Name Flags
generationType
context
public void interpretTableGenerator(javax.persistence.TableGenerator, org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder);
descriptor: (Ljavax/persistence/TableGenerator;Lorg/hibernate/boot/model/IdentifierGeneratorDefinition$Builder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface javax.persistence.TableGenerator.name:()Ljava/lang/String;
invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.setName:(Ljava/lang/String;)V
1: aload 2
ldc Lorg/hibernate/id/MultipleHiLoPerTableGenerator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.setStrategy:(Ljava/lang/String;)V
2: aload 1
invokeinterface javax.persistence.TableGenerator.table:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 7
3: aload 2
4: ldc "table"
5: aload 1
invokeinterface javax.persistence.TableGenerator.table:()Ljava/lang/String;
6: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.persistence.TableGenerator.catalog:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 12
8: aload 2
9: ldc "catalog"
10: aload 1
invokeinterface javax.persistence.TableGenerator.catalog:()Ljava/lang/String;
11: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.persistence.TableGenerator.schema:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 17
13: aload 2
14: ldc "schema"
15: aload 1
invokeinterface javax.persistence.TableGenerator.schema:()Ljava/lang/String;
16: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.persistence.TableGenerator.pkColumnName:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 22
18: aload 2
19: ldc "primary_key_column"
20: aload 1
invokeinterface javax.persistence.TableGenerator.pkColumnName:()Ljava/lang/String;
21: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
22: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.persistence.TableGenerator.valueColumnName:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 27
23: aload 2
24: ldc "value_column"
25: aload 1
invokeinterface javax.persistence.TableGenerator.valueColumnName:()Ljava/lang/String;
26: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.persistence.TableGenerator.pkColumnValue:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 32
28: aload 2
29: ldc "primary_key_value"
30: aload 1
invokeinterface javax.persistence.TableGenerator.pkColumnValue:()Ljava/lang/String;
31: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
32: StackMap locals:
StackMap stack:
aload 2
33: ldc "max_lo"
34: aload 1
invokeinterface javax.persistence.TableGenerator.allocationSize:()I
iconst_1
isub
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
35: invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
36: aload 1
invokeinterface javax.persistence.TableGenerator.uniqueConstraints:()[Ljavax/persistence/UniqueConstraint;
ifnull 39
37: aload 1
invokeinterface javax.persistence.TableGenerator.uniqueConstraints:()[Ljavax/persistence/UniqueConstraint;
arraylength
ifle 39
38: getstatic org.hibernate.boot.internal.IdGeneratorInterpreterImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
aload 1
invokeinterface javax.persistence.TableGenerator.name:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.ignoringTableGeneratorConstraints:(Ljava/lang/String;)V
39: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/hibernate/boot/internal/IdGeneratorInterpreterImpl$LegacyFallbackInterpreter;
0 40 1 tableGeneratorAnnotation Ljavax/persistence/TableGenerator;
0 40 2 definitionBuilder Lorg/hibernate/boot/model/IdentifierGeneratorDefinition$Builder;
MethodParameters:
Name Flags
tableGeneratorAnnotation
definitionBuilder
public void interpretSequenceGenerator(javax.persistence.SequenceGenerator, org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder);
descriptor: (Ljavax/persistence/SequenceGenerator;Lorg/hibernate/boot/model/IdentifierGeneratorDefinition$Builder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface javax.persistence.SequenceGenerator.name:()Ljava/lang/String;
invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.setName:(Ljava/lang/String;)V
1: aload 2
ldc "seqhilo"
invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.setStrategy:(Ljava/lang/String;)V
2: aload 1
invokeinterface javax.persistence.SequenceGenerator.sequenceName:()Ljava/lang/String;
invokestatic org.hibernate.cfg.BinderHelper.isEmptyAnnotationValue:(Ljava/lang/String;)Z
ifne 4
3: aload 2
ldc "sequence"
aload 1
invokeinterface javax.persistence.SequenceGenerator.sequenceName:()Ljava/lang/String;
invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.persistence.SequenceGenerator.initialValue:()I
iconst_1
if_icmpeq 6
5: getstatic org.hibernate.boot.internal.IdGeneratorInterpreterImpl.log:Lorg/hibernate/internal/CoreMessageLogger;
ldc "hibernate.id.new_generator_mappings"
invokeinterface org.hibernate.internal.CoreMessageLogger.unsupportedInitialValue:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 2
ldc "max_lo"
aload 1
invokeinterface javax.persistence.SequenceGenerator.allocationSize:()I
iconst_1
isub
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/boot/internal/IdGeneratorInterpreterImpl$LegacyFallbackInterpreter;
0 8 1 sequenceGeneratorAnnotation Ljavax/persistence/SequenceGenerator;
0 8 2 definitionBuilder Lorg/hibernate/boot/model/IdentifierGeneratorDefinition$Builder;
MethodParameters:
Name Flags
sequenceGeneratorAnnotation
definitionBuilder
static int[] $SWITCH_TABLE$javax$persistence$GenerationType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter.$SWITCH_TABLE$javax$persistence$GenerationType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.persistence.GenerationType.values:()[Ljavax/persistence/GenerationType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.persistence.GenerationType.AUTO:Ljavax/persistence/GenerationType;
invokevirtual javax.persistence.GenerationType.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.persistence.GenerationType.IDENTITY:Ljavax/persistence/GenerationType;
invokevirtual javax.persistence.GenerationType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.persistence.GenerationType.SEQUENCE:Ljavax/persistence/GenerationType;
invokevirtual javax.persistence.GenerationType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.persistence.GenerationType.TABLE:Ljavax/persistence/GenerationType;
invokevirtual javax.persistence.GenerationType.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter.$SWITCH_TABLE$javax$persistence$GenerationType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "IdGeneratorInterpreterImpl.java"
NestHost: org.hibernate.boot.internal.IdGeneratorInterpreterImpl
InnerClasses:
private LegacyFallbackInterpreter = org.hibernate.boot.internal.IdGeneratorInterpreterImpl$LegacyFallbackInterpreter of org.hibernate.boot.internal.IdGeneratorInterpreterImpl
public abstract GeneratorNameDeterminationContext = org.hibernate.boot.model.IdGeneratorStrategyInterpreter$GeneratorNameDeterminationContext of org.hibernate.boot.model.IdGeneratorStrategyInterpreter
public Builder = org.hibernate.boot.model.IdentifierGeneratorDefinition$Builder of org.hibernate.boot.model.IdentifierGeneratorDefinition