class org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder
super_class: java.lang.Object
{
private final org.hibernate.mapping.Property mappingProperty;
descriptor: Lorg/hibernate/mapping/Property;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean hadInMemoryGeneration;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hadInDatabaseGeneration;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.List<org.hibernate.tuple.InMemoryValueGenerationStrategy> inMemoryStrategies;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/hibernate/tuple/InMemoryValueGenerationStrategy;>;
private java.util.List<org.hibernate.tuple.InDatabaseValueGenerationStrategy> inDatabaseStrategies;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/hibernate/tuple/InDatabaseValueGenerationStrategy;>;
public void <init>(org.hibernate.mapping.Property);
descriptor: (Lorg/hibernate/mapping/Property;)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.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.mappingProperty:Lorg/hibernate/mapping/Property;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/tuple/entity/EntityMetamodel$CompositeGenerationStrategyPairBuilder;
0 3 1 mappingProperty Lorg/hibernate/mapping/Property;
MethodParameters:
Name Flags
mappingProperty
public void addPair(org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair);
descriptor: (Lorg/hibernate/tuple/entity/EntityMetamodel$GenerationStrategyPair;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair.getInMemoryStrategy:()Lorg/hibernate/tuple/InMemoryValueGenerationStrategy;
invokevirtual org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.add:(Lorg/hibernate/tuple/InMemoryValueGenerationStrategy;)V
1: aload 0
aload 1
invokevirtual org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair.getInDatabaseStrategy:()Lorg/hibernate/tuple/InDatabaseValueGenerationStrategy;
invokevirtual org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.add:(Lorg/hibernate/tuple/InDatabaseValueGenerationStrategy;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/tuple/entity/EntityMetamodel$CompositeGenerationStrategyPairBuilder;
0 3 1 generationStrategyPair Lorg/hibernate/tuple/entity/EntityMetamodel$GenerationStrategyPair;
MethodParameters:
Name Flags
generationStrategyPair
private void add(org.hibernate.tuple.InMemoryValueGenerationStrategy);
descriptor: (Lorg/hibernate/tuple/InMemoryValueGenerationStrategy;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inMemoryStrategies:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inMemoryStrategies:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inMemoryStrategies:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
invokeinterface org.hibernate.tuple.InMemoryValueGenerationStrategy.getGenerationTiming:()Lorg/hibernate/tuple/GenerationTiming;
getstatic org.hibernate.tuple.GenerationTiming.NEVER:Lorg/hibernate/tuple/GenerationTiming;
if_acmpeq 5
4: aload 0
iconst_1
putfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.hadInMemoryGeneration:Z
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/tuple/entity/EntityMetamodel$CompositeGenerationStrategyPairBuilder;
0 6 1 inMemoryStrategy Lorg/hibernate/tuple/InMemoryValueGenerationStrategy;
MethodParameters:
Name Flags
inMemoryStrategy
private void add(org.hibernate.tuple.InDatabaseValueGenerationStrategy);
descriptor: (Lorg/hibernate/tuple/InDatabaseValueGenerationStrategy;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inDatabaseStrategies:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inDatabaseStrategies:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inDatabaseStrategies:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
invokeinterface org.hibernate.tuple.InDatabaseValueGenerationStrategy.getGenerationTiming:()Lorg/hibernate/tuple/GenerationTiming;
getstatic org.hibernate.tuple.GenerationTiming.NEVER:Lorg/hibernate/tuple/GenerationTiming;
if_acmpeq 5
4: aload 0
iconst_1
putfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.hadInDatabaseGeneration:Z
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/tuple/entity/EntityMetamodel$CompositeGenerationStrategyPairBuilder;
0 6 1 inDatabaseStrategy Lorg/hibernate/tuple/InDatabaseValueGenerationStrategy;
MethodParameters:
Name Flags
inDatabaseStrategy
public org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair buildPair();
descriptor: ()Lorg/hibernate/tuple/entity/EntityMetamodel$GenerationStrategyPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.hadInMemoryGeneration:Z
ifeq 6
aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.hadInDatabaseGeneration:Z
ifeq 6
1: new org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException
dup
2: new java.lang.StringBuilder
dup
ldc "Composite attribute ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.mappingProperty:Lorg/hibernate/mapping/Property;
invokevirtual org.hibernate.mapping.Property.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] contained both in-memory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " and in-database value generation"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.hadInMemoryGeneration:Z
ifeq 8
7: new org.hibernate.cfg.NotYetImplementedException
dup
ldc "Still need to wire in composite in-memory value generation"
invokespecial org.hibernate.cfg.NotYetImplementedException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.hadInDatabaseGeneration:Z
ifeq 48
9: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.mappingProperty:Lorg/hibernate/mapping/Property;
invokevirtual org.hibernate.mapping.Property.getValue:()Lorg/hibernate/mapping/Value;
checkcast org.hibernate.mapping.Component
astore 1
start local 1 10: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inDatabaseStrategies:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
invokevirtual org.hibernate.mapping.Component.getPropertySpan:()I
if_icmpeq 16
11: new org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException
dup
12: new java.lang.StringBuilder
dup
ldc "Internal error : mismatch between number of collected in-db generation strategies and number of attributes for composite attribute : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.mappingProperty:Lorg/hibernate/mapping/Property;
invokevirtual org.hibernate.mapping.Property.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: org.hibernate.mapping.Component
StackMap stack:
getstatic org.hibernate.tuple.GenerationTiming.INSERT:Lorg/hibernate/tuple/GenerationTiming;
astore 2
start local 2 17: iconst_0
istore 3
start local 3 18: aload 1
invokevirtual org.hibernate.mapping.Component.getColumnSpan:()I
anewarray java.lang.String
astore 4
start local 4 19: iconst_m1
istore 5
start local 5 20: iconst_0
istore 6
start local 6 21: aload 1
invokevirtual org.hibernate.mapping.Component.getPropertyIterator:()Ljava/util/Iterator;
astore 7
start local 7 22: goto 44
23: StackMap locals: org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder org.hibernate.mapping.Component org.hibernate.tuple.GenerationTiming int java.lang.String[] int int java.util.Iterator
StackMap stack:
iinc 5 1
24: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Property
astore 8
start local 8 25: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.inDatabaseStrategies:Ljava/util/List;
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.hibernate.tuple.InDatabaseValueGenerationStrategy
astore 9
start local 9 26: aload 9
invokeinterface org.hibernate.tuple.InDatabaseValueGenerationStrategy.getGenerationTiming:()Lorg/hibernate/tuple/GenerationTiming;
getstatic org.hibernate.tuple.GenerationTiming.ALWAYS:Lorg/hibernate/tuple/GenerationTiming;
if_acmpne 28
27: getstatic org.hibernate.tuple.GenerationTiming.ALWAYS:Lorg/hibernate/tuple/GenerationTiming;
astore 2
28: StackMap locals: org.hibernate.mapping.Property org.hibernate.tuple.InDatabaseValueGenerationStrategy
StackMap stack:
aload 9
invokeinterface org.hibernate.tuple.InDatabaseValueGenerationStrategy.referenceColumnsInSql:()Z
ifeq 30
29: iconst_1
istore 3
30: StackMap locals:
StackMap stack:
aload 9
invokeinterface org.hibernate.tuple.InDatabaseValueGenerationStrategy.getReferencedColumnValues:()[Ljava/lang/String;
ifnull 44
31: aload 9
invokeinterface org.hibernate.tuple.InDatabaseValueGenerationStrategy.getReferencedColumnValues:()[Ljava/lang/String;
arraylength
aload 8
invokevirtual org.hibernate.mapping.Property.getColumnSpan:()I
if_icmpeq 38
32: new org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException
dup
33: new java.lang.StringBuilder
dup
ldc "Internal error : mismatch between number of collected 'referenced column values' and number of columns for composite attribute : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
34: aload 0
getfield org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder.mappingProperty:Lorg/hibernate/mapping/Property;
invokevirtual org.hibernate.mapping.Property.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 8
invokevirtual org.hibernate.mapping.Property.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokespecial org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
aload 9
invokeinterface org.hibernate.tuple.InDatabaseValueGenerationStrategy.getReferencedColumnValues:()[Ljava/lang/String;
39: iconst_0
40: aload 4
41: iload 6
42: aload 8
invokevirtual org.hibernate.mapping.Property.getColumnSpan:()I
43: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 9 end local 8 44: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
45: new org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair
dup
46: new org.hibernate.tuple.entity.EntityMetamodel$InDatabaseValueGenerationStrategyImpl
dup
aload 2
iload 3
aload 4
invokespecial org.hibernate.tuple.entity.EntityMetamodel$InDatabaseValueGenerationStrategyImpl.<init>:(Lorg/hibernate/tuple/GenerationTiming;Z[Ljava/lang/String;)V
47: invokespecial org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair.<init>:(Lorg/hibernate/tuple/entity/EntityMetamodel$InDatabaseValueGenerationStrategyImpl;)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 48: StackMap locals: org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder
StackMap stack:
getstatic org.hibernate.tuple.entity.EntityMetamodel.NO_GEN_PAIR:Lorg/hibernate/tuple/entity/EntityMetamodel$GenerationStrategyPair;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lorg/hibernate/tuple/entity/EntityMetamodel$CompositeGenerationStrategyPairBuilder;
10 48 1 composite Lorg/hibernate/mapping/Component;
17 48 2 timing Lorg/hibernate/tuple/GenerationTiming;
18 48 3 referenceColumns Z
19 48 4 columnValues [Ljava/lang/String;
20 48 5 propertyIndex I
21 48 6 columnIndex I
22 48 7 subProperties Ljava/util/Iterator;
25 44 8 subProperty Lorg/hibernate/mapping/Property;
26 44 9 subStrategy Lorg/hibernate/tuple/InDatabaseValueGenerationStrategy;
}
SourceFile: "EntityMetamodel.java"
NestHost: org.hibernate.tuple.entity.EntityMetamodel
InnerClasses:
private CompositeGenerationStrategyPairBuilder = org.hibernate.tuple.entity.EntityMetamodel$CompositeGenerationStrategyPairBuilder of org.hibernate.tuple.entity.EntityMetamodel
public GenerationStrategyPair = org.hibernate.tuple.entity.EntityMetamodel$GenerationStrategyPair of org.hibernate.tuple.entity.EntityMetamodel
private InDatabaseValueGenerationStrategyImpl = org.hibernate.tuple.entity.EntityMetamodel$InDatabaseValueGenerationStrategyImpl of org.hibernate.tuple.entity.EntityMetamodel
public ValueGenerationStrategyException = org.hibernate.tuple.entity.EntityMetamodel$ValueGenerationStrategyException of org.hibernate.tuple.entity.EntityMetamodel