public abstract class org.hibernate.cfg.CollectionSecondPass implements org.hibernate.cfg.SecondPass
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.cfg.CollectionSecondPass
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
org.hibernate.boot.spi.MetadataBuildingContext buildingContext;
descriptor: Lorg/hibernate/boot/spi/MetadataBuildingContext;
flags: (0x0000)
org.hibernate.mapping.Collection collection;
descriptor: Lorg/hibernate/mapping/Collection;
flags: (0x0000)
private java.util.Map localInheritedMetas;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/CoreMessageLogger;
ldc Lorg/hibernate/cfg/CollectionSecondPass;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.cfg.CollectionSecondPass.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Collection, java.util.Map);
descriptor: (Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Collection;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
2: aload 0
aload 1
putfield org.hibernate.cfg.CollectionSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
3: aload 0
aload 3
putfield org.hibernate.cfg.CollectionSecondPass.localInheritedMetas:Ljava/util/Map;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/cfg/CollectionSecondPass;
0 5 1 buildingContext Lorg/hibernate/boot/spi/MetadataBuildingContext;
0 5 2 collection Lorg/hibernate/mapping/Collection;
0 5 3 inheritedMetas Ljava/util/Map;
MethodParameters:
Name Flags
buildingContext
collection
inheritedMetas
public void <init>(org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Collection);
descriptor: (Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic java.util.Collections.EMPTY_MAP:Ljava/util/Map;
invokespecial org.hibernate.cfg.CollectionSecondPass.<init>:(Lorg/hibernate/boot/spi/MetadataBuildingContext;Lorg/hibernate/mapping/Collection;Ljava/util/Map;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/cfg/CollectionSecondPass;
0 2 1 buildingContext Lorg/hibernate/boot/spi/MetadataBuildingContext;
0 2 2 collection Lorg/hibernate/mapping/Collection;
MethodParameters:
Name Flags
buildingContext
collection
public void doSecondPass(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.hibernate.cfg.CollectionSecondPass.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
istore 2
start local 2 1: iload 2
ifeq 3
2: getstatic org.hibernate.cfg.CollectionSecondPass.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Second pass for collection: %s"
aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 0
getfield org.hibernate.cfg.CollectionSecondPass.localInheritedMetas:Ljava/util/Map;
invokevirtual org.hibernate.cfg.CollectionSecondPass.secondPass:(Ljava/util/Map;Ljava/util/Map;)V
4: aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.createAllKeys:()V
5: iload 2
ifeq 16
6: new java.lang.StringBuilder
dup
ldc "Mapped collection key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.getKey:()Lorg/hibernate/mapping/KeyValue;
invokestatic org.hibernate.cfg.CollectionSecondPass.columns:(Lorg/hibernate/mapping/Value;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 7: aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.isIndexed:()Z
ifeq 9
8: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", index: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
checkcast org.hibernate.mapping.IndexedCollection
invokevirtual org.hibernate.mapping.IndexedCollection.getIndex:()Lorg/hibernate/mapping/Value;
invokestatic org.hibernate.cfg.CollectionSecondPass.columns:(Lorg/hibernate/mapping/Value;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.isOneToMany:()Z
ifeq 14
10: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", one-to-many: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.getElement:()Lorg/hibernate/mapping/Value;
checkcast org.hibernate.mapping.OneToMany
invokevirtual org.hibernate.mapping.OneToMany.getReferencedEntityName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
13: goto 15
14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", element: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.cfg.CollectionSecondPass.collection:Lorg/hibernate/mapping/Collection;
invokevirtual org.hibernate.mapping.Collection.getElement:()Lorg/hibernate/mapping/Value;
invokestatic org.hibernate.cfg.CollectionSecondPass.columns:(Lorg/hibernate/mapping/Value;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
15: StackMap locals:
StackMap stack:
getstatic org.hibernate.cfg.CollectionSecondPass.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 3
invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/hibernate/cfg/CollectionSecondPass;
0 17 1 persistentClasses Ljava/util/Map;
1 17 2 debugEnabled Z
7 16 3 msg Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
persistentClasses
public abstract void secondPass(java.util.Map, java.util.Map);
descriptor: (Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
persistentClasses
inheritedMetas
private static java.lang.String columns(org.hibernate.mapping.Value);
descriptor: (Lorg/hibernate/mapping/Value;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface org.hibernate.mapping.Value.getColumnIterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.Selectable
invokeinterface org.hibernate.mapping.Selectable.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 5
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 val Lorg/hibernate/mapping/Value;
1 7 1 columns Ljava/lang/StringBuilder;
2 7 2 iter Ljava/util/Iterator;
MethodParameters:
Name Flags
val
}
SourceFile: "CollectionSecondPass.java"