public class org.hibernate.cfg.ToOneFkSecondPass extends org.hibernate.cfg.FkSecondPass
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.hibernate.cfg.ToOneFkSecondPass
  super_class: org.hibernate.cfg.FkSecondPass
{
  private org.hibernate.boot.spi.MetadataBuildingContext buildingContext;
    descriptor: Lorg/hibernate/boot/spi/MetadataBuildingContext;
    flags: (0x0002) ACC_PRIVATE

  private boolean unique;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String path;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String entityClassName;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.hibernate.mapping.ToOne, org.hibernate.cfg.Ejb3JoinColumn[], boolean, java.lang.String, java.lang.String, org.hibernate.boot.spi.MetadataBuildingContext);
    descriptor: (Lorg/hibernate/mapping/ToOne;[Lorg/hibernate/cfg/Ejb3JoinColumn;ZLjava/lang/String;Ljava/lang/String;Lorg/hibernate/boot/spi/MetadataBuildingContext;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=7
        start local 0 // org.hibernate.cfg.ToOneFkSecondPass this
        start local 1 // org.hibernate.mapping.ToOne value
        start local 2 // org.hibernate.cfg.Ejb3JoinColumn[] columns
        start local 3 // boolean unique
        start local 4 // java.lang.String entityClassName
        start local 5 // java.lang.String path
        start local 6 // org.hibernate.boot.spi.MetadataBuildingContext buildingContext
         0: .line 45
            aload 0 /* this */
            aload 1 /* value */
            aload 2 /* columns */
            invokespecial org.hibernate.cfg.FkSecondPass.<init>:(Lorg/hibernate/mapping/SimpleValue;[Lorg/hibernate/cfg/Ejb3JoinColumn;)V
         1: .line 46
            aload 0 /* this */
            aload 6 /* buildingContext */
            putfield org.hibernate.cfg.ToOneFkSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
         2: .line 47
            aload 0 /* this */
            iload 3 /* unique */
            putfield org.hibernate.cfg.ToOneFkSecondPass.unique:Z
         3: .line 48
            aload 0 /* this */
            aload 4 /* entityClassName */
            putfield org.hibernate.cfg.ToOneFkSecondPass.entityClassName:Ljava/lang/String;
         4: .line 49
            aload 0 /* this */
            aload 4 /* entityClassName */
            ifnull 5
            aload 5 /* path */
            aload 4 /* entityClassName */
            invokevirtual java.lang.String.length:()I
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            goto 6
      StackMap locals: org.hibernate.cfg.ToOneFkSecondPass org.hibernate.mapping.ToOne org.hibernate.cfg.Ejb3JoinColumn[] int java.lang.String java.lang.String org.hibernate.boot.spi.MetadataBuildingContext
      StackMap stack: org.hibernate.cfg.ToOneFkSecondPass
         5: aload 5 /* path */
      StackMap locals: org.hibernate.cfg.ToOneFkSecondPass org.hibernate.mapping.ToOne org.hibernate.cfg.Ejb3JoinColumn[] int java.lang.String java.lang.String org.hibernate.boot.spi.MetadataBuildingContext
      StackMap stack: org.hibernate.cfg.ToOneFkSecondPass java.lang.String
         6: putfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
         7: .line 50
            return
        end local 6 // org.hibernate.boot.spi.MetadataBuildingContext buildingContext
        end local 5 // java.lang.String path
        end local 4 // java.lang.String entityClassName
        end local 3 // boolean unique
        end local 2 // org.hibernate.cfg.Ejb3JoinColumn[] columns
        end local 1 // org.hibernate.mapping.ToOne value
        end local 0 // org.hibernate.cfg.ToOneFkSecondPass this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    8     0             this  Lorg/hibernate/cfg/ToOneFkSecondPass;
            0    8     1            value  Lorg/hibernate/mapping/ToOne;
            0    8     2          columns  [Lorg/hibernate/cfg/Ejb3JoinColumn;
            0    8     3           unique  Z
            0    8     4  entityClassName  Ljava/lang/String;
            0    8     5             path  Ljava/lang/String;
            0    8     6  buildingContext  Lorg/hibernate/boot/spi/MetadataBuildingContext;
    MethodParameters:
                 Name  Flags
      value            
      columns          
      unique           
      entityClassName  
      path             
      buildingContext  

  public java.lang.String getReferencedEntityName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.cfg.ToOneFkSecondPass this
         0: .line 54
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.value:Lorg/hibernate/mapping/SimpleValue;
            checkcast org.hibernate.mapping.ToOne
            invokevirtual org.hibernate.mapping.ToOne.getReferencedEntityName:()Ljava/lang/String;
            areturn
        end local 0 // org.hibernate.cfg.ToOneFkSecondPass this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/cfg/ToOneFkSecondPass;

  public boolean isInPrimaryKey();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // org.hibernate.cfg.ToOneFkSecondPass this
         0: .line 59
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.entityClassName:Ljava/lang/String;
            ifnonnull 1
            iconst_0
            ireturn
         1: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
            invokeinterface org.hibernate.boot.spi.MetadataBuildingContext.getMetadataCollector:()Lorg/hibernate/boot/spi/InFlightMetadataCollector;
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.entityClassName:Ljava/lang/String;
            invokeinterface org.hibernate.boot.spi.InFlightMetadataCollector.getEntityBinding:(Ljava/lang/String;)Lorg/hibernate/mapping/PersistentClass;
            astore 1 /* persistentClass */
        start local 1 // org.hibernate.mapping.PersistentClass persistentClass
         2: .line 61
            aload 1 /* persistentClass */
            invokevirtual org.hibernate.mapping.PersistentClass.getIdentifierProperty:()Lorg/hibernate/mapping/Property;
            astore 2 /* property */
        start local 2 // org.hibernate.mapping.Property property
         3: .line 62
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
            ifnonnull 5
         4: .line 63
            iconst_0
            ireturn
         5: .line 65
      StackMap locals: org.hibernate.mapping.PersistentClass org.hibernate.mapping.Property
      StackMap stack:
            aload 2 /* property */
            ifnull 7
         6: .line 67
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
            new java.lang.StringBuilder
            dup
            aload 2 /* property */
            invokevirtual org.hibernate.mapping.Property.getName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ireturn
         7: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
            ldc "id."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 16
         8: .line 73
            aload 1 /* persistentClass */
            invokevirtual org.hibernate.mapping.PersistentClass.getIdentifier:()Lorg/hibernate/mapping/KeyValue;
            astore 3 /* valueIdentifier */
        start local 3 // org.hibernate.mapping.KeyValue valueIdentifier
         9: .line 74
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
            iconst_3
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 4 /* localPath */
        start local 4 // java.lang.String localPath
        10: .line 75
            aload 3 /* valueIdentifier */
            instanceof org.hibernate.mapping.Component
            ifeq 16
        11: .line 76
            aload 3 /* valueIdentifier */
            checkcast org.hibernate.mapping.Component
            invokevirtual org.hibernate.mapping.Component.getPropertyIterator:()Ljava/util/Iterator;
            astore 5 /* it */
        start local 5 // java.util.Iterator it
        12: .line 77
            goto 15
        13: .line 78
      StackMap locals: org.hibernate.mapping.KeyValue java.lang.String java.util.Iterator
      StackMap stack:
            aload 5 /* it */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.hibernate.mapping.Property
            astore 6 /* idProperty */
        start local 6 // org.hibernate.mapping.Property idProperty
        14: .line 79
            aload 4 /* localPath */
            aload 6 /* idProperty */
            invokevirtual org.hibernate.mapping.Property.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 15
            iconst_1
            ireturn
        end local 6 // org.hibernate.mapping.Property idProperty
        15: .line 77
      StackMap locals:
      StackMap stack:
            aload 5 /* it */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 13
        end local 5 // java.util.Iterator it
        end local 4 // java.lang.String localPath
        end local 3 // org.hibernate.mapping.KeyValue valueIdentifier
        16: .line 85
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 2 // org.hibernate.mapping.Property property
        end local 1 // org.hibernate.mapping.PersistentClass persistentClass
        end local 0 // org.hibernate.cfg.ToOneFkSecondPass this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   17     0             this  Lorg/hibernate/cfg/ToOneFkSecondPass;
            2   17     1  persistentClass  Lorg/hibernate/mapping/PersistentClass;
            3   17     2         property  Lorg/hibernate/mapping/Property;
            9   16     3  valueIdentifier  Lorg/hibernate/mapping/KeyValue;
           10   16     4        localPath  Ljava/lang/String;
           12   16     5               it  Ljava/util/Iterator;
           14   15     6       idProperty  Lorg/hibernate/mapping/Property;

  public void doSecondPass(java.util.Map);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // org.hibernate.cfg.ToOneFkSecondPass this
        start local 1 // java.util.Map persistentClasses
         0: .line 89
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.value:Lorg/hibernate/mapping/SimpleValue;
            instanceof org.hibernate.mapping.ManyToOne
            ifeq 16
         1: .line 90
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.value:Lorg/hibernate/mapping/SimpleValue;
            checkcast org.hibernate.mapping.ManyToOne
            astore 2 /* manyToOne */
        start local 2 // org.hibernate.mapping.ManyToOne manyToOne
         2: .line 91
            aload 1 /* persistentClasses */
            aload 2 /* manyToOne */
            invokevirtual org.hibernate.mapping.ManyToOne.getReferencedEntityName:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.hibernate.mapping.PersistentClass
            astore 3 /* ref */
        start local 3 // org.hibernate.mapping.PersistentClass ref
         3: .line 92
            aload 3 /* ref */
            ifnonnull 11
         4: .line 93
            new org.hibernate.AnnotationException
            dup
         5: .line 94
            new java.lang.StringBuilder
            dup
            ldc "@OneToOne or @ManyToOne on "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         6: .line 95
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.entityClassName:Ljava/lang/String;
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
            invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 96
            ldc " references an unknown entity: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 97
            aload 2 /* manyToOne */
            invokevirtual org.hibernate.mapping.ManyToOne.getReferencedEntityName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 94
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 93
            invokespecial org.hibernate.AnnotationException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 100
      StackMap locals: org.hibernate.mapping.ManyToOne org.hibernate.mapping.PersistentClass
      StackMap stack:
            aload 2 /* manyToOne */
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.path:Ljava/lang/String;
            invokevirtual org.hibernate.mapping.ManyToOne.setPropertyName:(Ljava/lang/String;)V
        12: .line 101
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.columns:[Lorg/hibernate/cfg/Ejb3JoinColumn;
            aload 3 /* ref */
            aconst_null
            aload 2 /* manyToOne */
            iconst_0
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
            invokestatic org.hibernate.cfg.BinderHelper.createSyntheticPropertyReference:([Lorg/hibernate/cfg/Ejb3JoinColumn;Lorg/hibernate/mapping/PersistentClass;Lorg/hibernate/mapping/PersistentClass;Lorg/hibernate/mapping/Value;ZLorg/hibernate/boot/spi/MetadataBuildingContext;)V
        13: .line 102
            aload 3 /* ref */
            aconst_null
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.columns:[Lorg/hibernate/cfg/Ejb3JoinColumn;
            aload 2 /* manyToOne */
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.unique:Z
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.buildingContext:Lorg/hibernate/boot/spi/MetadataBuildingContext;
            invokestatic org.hibernate.cfg.annotations.TableBinder.bindFk:(Lorg/hibernate/mapping/PersistentClass;Lorg/hibernate/mapping/PersistentClass;[Lorg/hibernate/cfg/Ejb3JoinColumn;Lorg/hibernate/mapping/SimpleValue;ZLorg/hibernate/boot/spi/MetadataBuildingContext;)V
        14: .line 106
            aload 2 /* manyToOne */
            invokevirtual org.hibernate.mapping.ManyToOne.isIgnoreNotFound:()Z
            ifne 20
            aload 2 /* manyToOne */
            aload 1 /* persistentClasses */
            invokevirtual org.hibernate.mapping.ManyToOne.createPropertyRefConstraints:(Ljava/util/Map;)V
        end local 3 // org.hibernate.mapping.PersistentClass ref
        end local 2 // org.hibernate.mapping.ManyToOne manyToOne
        15: .line 107
            goto 20
        16: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.value:Lorg/hibernate/mapping/SimpleValue;
            instanceof org.hibernate.mapping.OneToOne
            ifeq 19
        17: .line 109
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.value:Lorg/hibernate/mapping/SimpleValue;
            invokevirtual org.hibernate.mapping.SimpleValue.createForeignKey:()V
        18: .line 110
            goto 20
        19: .line 112
      StackMap locals:
      StackMap stack:
            new org.hibernate.AssertionFailure
            dup
            new java.lang.StringBuilder
            dup
            ldc "FkSecondPass for a wrong value type: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.hibernate.cfg.ToOneFkSecondPass.value:Lorg/hibernate/mapping/SimpleValue;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.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.AssertionFailure.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 114
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.util.Map persistentClasses
        end local 0 // org.hibernate.cfg.ToOneFkSecondPass this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   21     0               this  Lorg/hibernate/cfg/ToOneFkSecondPass;
            0   21     1  persistentClasses  Ljava/util/Map;
            2   15     2          manyToOne  Lorg/hibernate/mapping/ManyToOne;
            3   15     3                ref  Lorg/hibernate/mapping/PersistentClass;
    Exceptions:
      throws org.hibernate.MappingException
    MethodParameters:
                   Name  Flags
      persistentClasses  
}
SourceFile: "ToOneFkSecondPass.java"