public abstract class org.springframework.dao.support.DataAccessUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.springframework.dao.support.DataAccessUtils
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.dao.support.DataAccessUtils this
         0: .line 37
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.springframework.dao.support.DataAccessUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/dao/support/DataAccessUtils;

  public static <T> T singleResult(java.util.Collection<T>);
    descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 50
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
            ifeq 2
         1: .line 51
            aconst_null
            areturn
         2: .line 53
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            iconst_1
            if_icmple 4
         3: .line 54
            new org.springframework.dao.IncorrectResultSizeDataAccessException
            dup
            iconst_1
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            invokespecial org.springframework.dao.IncorrectResultSizeDataAccessException.<init>:(II)V
            athrow
         4: .line 56
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            areturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  results  Ljava/util/Collection<TT;>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)TT;
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static <T> T requiredSingleResult(java.util.Collection<T>);
    descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 71
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
            ifeq 2
         1: .line 72
            new org.springframework.dao.EmptyResultDataAccessException
            dup
            iconst_1
            invokespecial org.springframework.dao.EmptyResultDataAccessException.<init>:(I)V
            athrow
         2: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            iconst_1
            if_icmple 4
         3: .line 75
            new org.springframework.dao.IncorrectResultSizeDataAccessException
            dup
            iconst_1
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            invokespecial org.springframework.dao.IncorrectResultSizeDataAccessException.<init>:(II)V
            athrow
         4: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            areturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  results  Ljava/util/Collection<TT;>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)TT;
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static <T> T nullableSingleResult(java.util.Collection<T>);
    descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 96
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
            ifeq 2
         1: .line 97
            new org.springframework.dao.EmptyResultDataAccessException
            dup
            iconst_1
            invokespecial org.springframework.dao.EmptyResultDataAccessException.<init>:(I)V
            athrow
         2: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            iconst_1
            if_icmple 4
         3: .line 100
            new org.springframework.dao.IncorrectResultSizeDataAccessException
            dup
            iconst_1
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            invokespecial org.springframework.dao.IncorrectResultSizeDataAccessException.<init>:(II)V
            athrow
         4: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            areturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  results  Ljava/util/Collection<TT;>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)TT;
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static <T> T uniqueResult(java.util.Collection<T>);
    descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 117
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
            ifeq 2
         1: .line 118
            aconst_null
            areturn
         2: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.hasUniqueObject:(Ljava/util/Collection;)Z
            ifne 4
         3: .line 121
            new org.springframework.dao.IncorrectResultSizeDataAccessException
            dup
            iconst_1
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            invokespecial org.springframework.dao.IncorrectResultSizeDataAccessException.<init>:(II)V
            athrow
         4: .line 123
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            areturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  results  Ljava/util/Collection<TT;>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)TT;
    RuntimeVisibleAnnotations: 
      org.springframework.lang.Nullable()
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static <T> T requiredUniqueResult(java.util.Collection<T>);
    descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 139
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
            ifeq 2
         1: .line 140
            new org.springframework.dao.EmptyResultDataAccessException
            dup
            iconst_1
            invokespecial org.springframework.dao.EmptyResultDataAccessException.<init>:(I)V
            athrow
         2: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokestatic org.springframework.util.CollectionUtils.hasUniqueObject:(Ljava/util/Collection;)Z
            ifne 4
         3: .line 143
            new org.springframework.dao.IncorrectResultSizeDataAccessException
            dup
            iconst_1
            aload 0 /* results */
            invokeinterface java.util.Collection.size:()I
            invokespecial org.springframework.dao.IncorrectResultSizeDataAccessException.<init>:(II)V
            athrow
         4: .line 145
      StackMap locals:
      StackMap stack:
            aload 0 /* results */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            areturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  results  Ljava/util/Collection<TT;>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)TT;
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static <T> T objectResult(java.util.Collection<?>, java.lang.Class<T>);
    descriptor: (Ljava/util/Collection;Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.util.Collection results
        start local 1 // java.lang.Class requiredType
         0: .line 167
            aload 0 /* results */
            invokestatic org.springframework.dao.support.DataAccessUtils.requiredUniqueResult:(Ljava/util/Collection;)Ljava/lang/Object;
            astore 2 /* result */
        start local 2 // java.lang.Object result
         1: .line 168
            aload 1 /* requiredType */
            ifnull 15
            aload 1 /* requiredType */
            aload 2 /* result */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifne 15
         2: .line 169
            ldc Ljava/lang/String;
            aload 1 /* requiredType */
            if_acmpne 5
         3: .line 170
            aload 2 /* result */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 2 /* result */
         4: .line 171
            goto 15
         5: .line 172
      StackMap locals: java.lang.Object
      StackMap stack:
            ldc Ljava/lang/Number;
            aload 1 /* requiredType */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 10
            ldc Ljava/lang/Number;
            aload 2 /* result */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 10
         6: .line 174
            aload 2 /* result */
            checkcast java.lang.Number
            aload 1 /* requiredType */
            invokestatic org.springframework.util.NumberUtils.convertNumberToTargetClass:(Ljava/lang/Number;Ljava/lang/Class;)Ljava/lang/Number;
            astore 2 /* result */
         7: .line 175
            goto 15
         8: .line 176
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
            astore 3 /* ex */
        start local 3 // java.lang.IllegalArgumentException ex
         9: .line 177
            new org.springframework.dao.TypeMismatchDataAccessException
            dup
            aload 3 /* ex */
            invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
            invokespecial org.springframework.dao.TypeMismatchDataAccessException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.IllegalArgumentException ex
        10: .line 181
      StackMap locals:
      StackMap stack:
            new org.springframework.dao.TypeMismatchDataAccessException
            dup
        11: .line 182
            new java.lang.StringBuilder
            dup
            ldc "Result object is of type ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* result */
            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;
        12: .line 183
            ldc "] and could not be converted to required type ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* requiredType */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        13: .line 182
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        14: .line 181
            invokespecial org.springframework.dao.TypeMismatchDataAccessException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 186
      StackMap locals:
      StackMap stack:
            aload 2 /* result */
            areturn
        end local 2 // java.lang.Object result
        end local 1 // java.lang.Class requiredType
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   16     0       results  Ljava/util/Collection<*>;
            0   16     1  requiredType  Ljava/lang/Class<TT;>;
            1   16     2        result  Ljava/lang/Object;
            9   10     3            ex  Ljava/lang/IllegalArgumentException;
      Exception table:
        from    to  target  type
           6     7       8  Class java.lang.IllegalArgumentException
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException, org.springframework.dao.TypeMismatchDataAccessException
    Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<*>;Ljava/lang/Class<TT;>;)TT;
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
      1:
        org.springframework.lang.Nullable()
    MethodParameters:
              Name  Flags
      results       
      requiredType  

  public static int intResult(java.util.Collection<?>);
    descriptor: (Ljava/util/Collection;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 206
            aload 0 /* results */
            ldc Ljava/lang/Number;
            invokestatic org.springframework.dao.support.DataAccessUtils.objectResult:(Ljava/util/Collection;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.lang.Number
            invokevirtual java.lang.Number.intValue:()I
            ireturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  results  Ljava/util/Collection<*>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException, org.springframework.dao.TypeMismatchDataAccessException
    Signature: (Ljava/util/Collection<*>;)I
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static long longResult(java.util.Collection<?>);
    descriptor: (Ljava/util/Collection;)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.Collection results
         0: .line 226
            aload 0 /* results */
            ldc Ljava/lang/Number;
            invokestatic org.springframework.dao.support.DataAccessUtils.objectResult:(Ljava/util/Collection;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast java.lang.Number
            invokevirtual java.lang.Number.longValue:()J
            lreturn
        end local 0 // java.util.Collection results
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  results  Ljava/util/Collection<*>;
    Exceptions:
      throws org.springframework.dao.IncorrectResultSizeDataAccessException, org.springframework.dao.TypeMismatchDataAccessException
    Signature: (Ljava/util/Collection<*>;)J
    RuntimeVisibleParameterAnnotations: 
      0:
        org.springframework.lang.Nullable()
    MethodParameters:
         Name  Flags
      results  

  public static java.lang.RuntimeException translateIfNecessary(java.lang.RuntimeException, org.springframework.dao.support.PersistenceExceptionTranslator);
    descriptor: (Ljava/lang/RuntimeException;Lorg/springframework/dao/support/PersistenceExceptionTranslator;)Ljava/lang/RuntimeException;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.lang.RuntimeException rawException
        start local 1 // org.springframework.dao.support.PersistenceExceptionTranslator pet
         0: .line 241
            aload 1 /* pet */
            ldc "PersistenceExceptionTranslator must not be null"
            invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
         1: .line 242
            aload 1 /* pet */
            aload 0 /* rawException */
            invokeinterface org.springframework.dao.support.PersistenceExceptionTranslator.translateExceptionIfPossible:(Ljava/lang/RuntimeException;)Lorg/springframework/dao/DataAccessException;
            astore 2 /* dae */
        start local 2 // org.springframework.dao.DataAccessException dae
         2: .line 243
            aload 2 /* dae */
            ifnull 3
            aload 2 /* dae */
            goto 4
      StackMap locals: org.springframework.dao.DataAccessException
      StackMap stack:
         3: aload 0 /* rawException */
      StackMap locals:
      StackMap stack: java.lang.RuntimeException
         4: areturn
        end local 2 // org.springframework.dao.DataAccessException dae
        end local 1 // org.springframework.dao.support.PersistenceExceptionTranslator pet
        end local 0 // java.lang.RuntimeException rawException
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0  rawException  Ljava/lang/RuntimeException;
            0    5     1           pet  Lorg/springframework/dao/support/PersistenceExceptionTranslator;
            2    5     2           dae  Lorg/springframework/dao/DataAccessException;
    MethodParameters:
              Name  Flags
      rawException  
      pet           
}
SourceFile: "DataAccessUtils.java"