public class org.hibernate.procedure.internal.PostgresCallableStatementSupport implements org.hibernate.procedure.spi.CallableStatementSupport
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.hibernate.procedure.internal.PostgresCallableStatementSupport
  super_class: java.lang.Object
{
  public static final org.hibernate.procedure.internal.PostgresCallableStatementSupport INSTANCE;
    descriptor: Lorg/hibernate/procedure/internal/PostgresCallableStatementSupport;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 28
            new org.hibernate.procedure.internal.PostgresCallableStatementSupport
            dup
            invokespecial org.hibernate.procedure.internal.PostgresCallableStatementSupport.<init>:()V
            putstatic org.hibernate.procedure.internal.PostgresCallableStatementSupport.INSTANCE:Lorg/hibernate/procedure/internal/PostgresCallableStatementSupport;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.procedure.internal.PostgresCallableStatementSupport this
         0: .line 24
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.hibernate.procedure.internal.PostgresCallableStatementSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/procedure/internal/PostgresCallableStatementSupport;

  public java.lang.String renderCallableStatement(java.lang.String, org.hibernate.procedure.spi.ParameterStrategy, java.util.List<org.hibernate.procedure.spi.ParameterRegistrationImplementor<?>>, org.hibernate.engine.spi.SharedSessionContractImplementor);
    descriptor: (Ljava/lang/String;Lorg/hibernate/procedure/spi/ParameterStrategy;Ljava/util/List;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=14, args_size=5
        start local 0 // org.hibernate.procedure.internal.PostgresCallableStatementSupport this
        start local 1 // java.lang.String procedureName
        start local 2 // org.hibernate.procedure.spi.ParameterStrategy parameterStrategy
        start local 3 // java.util.List parameterRegistrations
        start local 4 // org.hibernate.engine.spi.SharedSessionContractImplementor session
         0: .line 37
            aload 3 /* parameterRegistrations */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 3
         1: .line 38
            aload 3 /* parameterRegistrations */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.hibernate.procedure.spi.ParameterRegistrationImplementor
            invokeinterface org.hibernate.procedure.spi.ParameterRegistrationImplementor.getMode:()Ljavax/persistence/ParameterMode;
            getstatic javax.persistence.ParameterMode.REF_CURSOR:Ljavax/persistence/ParameterMode;
            if_acmpne 3
         2: .line 37
            iconst_1
            goto 4
      StackMap locals:
      StackMap stack:
         3: iconst_0
      StackMap locals:
      StackMap stack: int
         4: istore 5 /* firstParamIsRefCursor */
        start local 5 // boolean firstParamIsRefCursor
         5: .line 40
            iload 5 /* firstParamIsRefCursor */
            ifeq 8
         6: .line 42
            aload 2 /* parameterStrategy */
            getstatic org.hibernate.procedure.spi.ParameterStrategy.NAMED:Lorg/hibernate/procedure/spi/ParameterStrategy;
            if_acmpne 8
         7: .line 43
            new org.hibernate.HibernateException
            dup
            ldc "Cannot mix named parameters and REF_CURSOR parameter on PostgreSQL"
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 48
      StackMap locals: int
      StackMap stack:
            iload 5 /* firstParamIsRefCursor */
            ifeq 11
         9: .line 49
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            ldc "{? = call "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            astore 6 /* buffer */
        start local 6 // java.lang.StringBuilder buffer
        10: .line 50
            goto 12
        end local 6 // java.lang.StringBuilder buffer
        11: .line 52
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            ldc "{call "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            astore 6 /* buffer */
        start local 6 // java.lang.StringBuilder buffer
        12: .line 55
      StackMap locals: java.lang.StringBuilder
      StackMap stack:
            aload 6 /* buffer */
            aload 1 /* procedureName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        13: .line 57
            ldc ""
            astore 7 /* sep */
        start local 7 // java.lang.String sep
        14: .line 60
            iload 5 /* firstParamIsRefCursor */
            ifeq 15
            iconst_1
            goto 16
      StackMap locals: java.lang.String
      StackMap stack:
        15: iconst_0
      StackMap locals:
      StackMap stack: int
        16: istore 8 /* startIndex */
        start local 8 // int startIndex
        17: .line 61
            iload 8 /* startIndex */
            istore 9 /* i */
        start local 9 // int i
        18: goto 28
        19: .line 62
      StackMap locals: int int
      StackMap stack:
            aload 3 /* parameterRegistrations */
            iload 9 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.hibernate.procedure.spi.ParameterRegistrationImplementor
            astore 10 /* parameter */
        start local 10 // org.hibernate.procedure.spi.ParameterRegistrationImplementor parameter
        20: .line 65
            aload 10 /* parameter */
            invokeinterface org.hibernate.procedure.spi.ParameterRegistrationImplementor.getMode:()Ljavax/persistence/ParameterMode;
            getstatic javax.persistence.ParameterMode.REF_CURSOR:Ljavax/persistence/ParameterMode;
            if_acmpne 22
        21: .line 66
            new org.hibernate.HibernateException
            dup
            ldc "PostgreSQL supports only one REF_CURSOR parameter, but multiple were registered"
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
        22: .line 69
      StackMap locals: org.hibernate.procedure.spi.ParameterRegistrationImplementor
      StackMap stack:
            aload 10 /* parameter */
            invokeinterface org.hibernate.procedure.spi.ParameterRegistrationImplementor.getSqlTypes:()[I
            dup
            astore 13
            arraylength
            istore 12
            iconst_0
            istore 11
            goto 26
        23: .line 70
      StackMap locals: int int int[]
      StackMap stack:
            aload 6 /* buffer */
            aload 7 /* sep */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "?"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        24: .line 71
            ldc ","
            astore 7 /* sep */
        25: .line 69
            iinc 11 1
      StackMap locals:
      StackMap stack:
        26: iload 11
            iload 12
            if_icmplt 23
        end local 10 // org.hibernate.procedure.spi.ParameterRegistrationImplementor parameter
        27: .line 61
            iinc 9 /* i */ 1
      StackMap locals: org.hibernate.procedure.internal.PostgresCallableStatementSupport java.lang.String org.hibernate.procedure.spi.ParameterStrategy java.util.List org.hibernate.engine.spi.SharedSessionContractImplementor int java.lang.StringBuilder java.lang.String int int
      StackMap stack:
        28: iload 9 /* i */
            aload 3 /* parameterRegistrations */
            invokeinterface java.util.List.size:()I
            if_icmplt 19
        end local 9 // int i
        29: .line 75
            aload 6 /* buffer */
            ldc ")}"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 8 // int startIndex
        end local 7 // java.lang.String sep
        end local 6 // java.lang.StringBuilder buffer
        end local 5 // boolean firstParamIsRefCursor
        end local 4 // org.hibernate.engine.spi.SharedSessionContractImplementor session
        end local 3 // java.util.List parameterRegistrations
        end local 2 // org.hibernate.procedure.spi.ParameterStrategy parameterStrategy
        end local 1 // java.lang.String procedureName
        end local 0 // org.hibernate.procedure.internal.PostgresCallableStatementSupport this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   30     0                    this  Lorg/hibernate/procedure/internal/PostgresCallableStatementSupport;
            0   30     1           procedureName  Ljava/lang/String;
            0   30     2       parameterStrategy  Lorg/hibernate/procedure/spi/ParameterStrategy;
            0   30     3  parameterRegistrations  Ljava/util/List<Lorg/hibernate/procedure/spi/ParameterRegistrationImplementor<*>;>;
            0   30     4                 session  Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
            5   30     5   firstParamIsRefCursor  Z
           10   11     6                  buffer  Ljava/lang/StringBuilder;
           12   30     6                  buffer  Ljava/lang/StringBuilder;
           14   30     7                     sep  Ljava/lang/String;
           17   30     8              startIndex  I
           18   29     9                       i  I
           20   27    10               parameter  Lorg/hibernate/procedure/spi/ParameterRegistrationImplementor;
    Signature: (Ljava/lang/String;Lorg/hibernate/procedure/spi/ParameterStrategy;Ljava/util/List<Lorg/hibernate/procedure/spi/ParameterRegistrationImplementor<*>;>;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/String;
    MethodParameters:
                        Name  Flags
      procedureName           
      parameterStrategy       
      parameterRegistrations  
      session                 

  public void registerParameters(java.lang.String, java.sql.CallableStatement, org.hibernate.procedure.spi.ParameterStrategy, java.util.List<org.hibernate.procedure.spi.ParameterRegistrationImplementor<?>>, org.hibernate.engine.spi.SharedSessionContractImplementor);
    descriptor: (Ljava/lang/String;Ljava/sql/CallableStatement;Lorg/hibernate/procedure/spi/ParameterStrategy;Ljava/util/List;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=6
        start local 0 // org.hibernate.procedure.internal.PostgresCallableStatementSupport this
        start local 1 // java.lang.String procedureName
        start local 2 // java.sql.CallableStatement statement
        start local 3 // org.hibernate.procedure.spi.ParameterStrategy parameterStrategy
        start local 4 // java.util.List parameterRegistrations
        start local 5 // org.hibernate.engine.spi.SharedSessionContractImplementor session
         0: .line 86
            iconst_1
            istore 6 /* i */
        start local 6 // int i
         1: .line 89
            aload 4 /* parameterRegistrations */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 9
      StackMap locals: org.hibernate.procedure.internal.PostgresCallableStatementSupport java.lang.String java.sql.CallableStatement org.hibernate.procedure.spi.ParameterStrategy java.util.List org.hibernate.engine.spi.SharedSessionContractImplementor int top java.util.Iterator
      StackMap stack:
         2: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.hibernate.procedure.spi.ParameterRegistrationImplementor
            astore 7 /* parameter */
        start local 7 // org.hibernate.procedure.spi.ParameterRegistrationImplementor parameter
         3: .line 90
            aload 7 /* parameter */
            invokeinterface org.hibernate.procedure.spi.ParameterRegistrationImplementor.getMode:()Ljavax/persistence/ParameterMode;
            getstatic javax.persistence.ParameterMode.REF_CURSOR:Ljavax/persistence/ParameterMode;
            if_acmpne 7
         4: .line 91
            aload 2 /* statement */
            iload 6 /* i */
            sipush 1111
            invokeinterface java.sql.CallableStatement.registerOutParameter:(II)V
         5: .line 92
            iinc 6 /* i */ 1
         6: .line 94
            goto 9
         7: .line 96
      StackMap locals: org.hibernate.procedure.internal.PostgresCallableStatementSupport java.lang.String java.sql.CallableStatement org.hibernate.procedure.spi.ParameterStrategy java.util.List org.hibernate.engine.spi.SharedSessionContractImplementor int org.hibernate.procedure.spi.ParameterRegistrationImplementor java.util.Iterator
      StackMap stack:
            aload 7 /* parameter */
            aload 2 /* statement */
            iload 6 /* i */
            invokeinterface org.hibernate.procedure.spi.ParameterRegistrationImplementor.prepare:(Ljava/sql/CallableStatement;I)V
         8: .line 97
            iload 6 /* i */
            aload 7 /* parameter */
            invokeinterface org.hibernate.procedure.spi.ParameterRegistrationImplementor.getSqlTypes:()[I
            arraylength
            iadd
            istore 6 /* i */
        end local 7 // org.hibernate.procedure.spi.ParameterRegistrationImplementor parameter
         9: .line 89
      StackMap locals: org.hibernate.procedure.internal.PostgresCallableStatementSupport java.lang.String java.sql.CallableStatement org.hibernate.procedure.spi.ParameterStrategy java.util.List org.hibernate.engine.spi.SharedSessionContractImplementor int top java.util.Iterator
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        10: .line 100
            goto 17
        11: .line 101
      StackMap locals: org.hibernate.procedure.internal.PostgresCallableStatementSupport java.lang.String java.sql.CallableStatement org.hibernate.procedure.spi.ParameterStrategy java.util.List org.hibernate.engine.spi.SharedSessionContractImplementor int
      StackMap stack: java.sql.SQLException
            astore 7 /* e */
        start local 7 // java.sql.SQLException e
        12: .line 102
            aload 5 /* session */
            invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcServices:()Lorg/hibernate/engine/jdbc/spi/JdbcServices;
            invokeinterface org.hibernate.engine.jdbc.spi.JdbcServices.getSqlExceptionHelper:()Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
        13: .line 103
            aload 7 /* e */
        14: .line 104
            ldc "Error registering CallableStatement parameters"
        15: .line 105
            aload 1 /* procedureName */
        16: .line 102
            invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert:(Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/JDBCException;
            athrow
        end local 7 // java.sql.SQLException e
        17: .line 108
      StackMap locals:
      StackMap stack:
            return
        end local 6 // int i
        end local 5 // org.hibernate.engine.spi.SharedSessionContractImplementor session
        end local 4 // java.util.List parameterRegistrations
        end local 3 // org.hibernate.procedure.spi.ParameterStrategy parameterStrategy
        end local 2 // java.sql.CallableStatement statement
        end local 1 // java.lang.String procedureName
        end local 0 // org.hibernate.procedure.internal.PostgresCallableStatementSupport this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   18     0                    this  Lorg/hibernate/procedure/internal/PostgresCallableStatementSupport;
            0   18     1           procedureName  Ljava/lang/String;
            0   18     2               statement  Ljava/sql/CallableStatement;
            0   18     3       parameterStrategy  Lorg/hibernate/procedure/spi/ParameterStrategy;
            0   18     4  parameterRegistrations  Ljava/util/List<Lorg/hibernate/procedure/spi/ParameterRegistrationImplementor<*>;>;
            0   18     5                 session  Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
            1   18     6                       i  I
            3    9     7               parameter  Lorg/hibernate/procedure/spi/ParameterRegistrationImplementor;
           12   17     7                       e  Ljava/sql/SQLException;
      Exception table:
        from    to  target  type
           1    10      11  Class java.sql.SQLException
    Signature: (Ljava/lang/String;Ljava/sql/CallableStatement;Lorg/hibernate/procedure/spi/ParameterStrategy;Ljava/util/List<Lorg/hibernate/procedure/spi/ParameterRegistrationImplementor<*>;>;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
    MethodParameters:
                        Name  Flags
      procedureName           
      statement               
      parameterStrategy       
      parameterRegistrations  
      session                 
}
SourceFile: "PostgresCallableStatementSupport.java"