public class org.hibernate.dialect.function.CastFunction implements org.hibernate.dialect.function.SQLFunction
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.hibernate.dialect.function.CastFunction
  super_class: java.lang.Object
{
  public static final org.hibernate.dialect.function.CastFunction INSTANCE;
    descriptor: Lorg/hibernate/dialect/function/CastFunction;
    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 42
            new org.hibernate.dialect.function.CastFunction
            dup
            invokespecial org.hibernate.dialect.function.CastFunction.<init>:()V
            putstatic org.hibernate.dialect.function.CastFunction.INSTANCE:Lorg/hibernate/dialect/function/CastFunction;
            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.dialect.function.CastFunction this
         0: .line 38
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.hibernate.dialect.function.CastFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/function/CastFunction;

  public boolean hasArguments();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.function.CastFunction this
         0: .line 46
            iconst_1
            ireturn
        end local 0 // org.hibernate.dialect.function.CastFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/function/CastFunction;

  public boolean hasParenthesesIfNoArguments();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.function.CastFunction this
         0: .line 51
            iconst_1
            ireturn
        end local 0 // org.hibernate.dialect.function.CastFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/function/CastFunction;

  public org.hibernate.type.Type getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping);
    descriptor: (Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/Mapping;)Lorg/hibernate/type/Type;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // org.hibernate.dialect.function.CastFunction this
        start local 1 // org.hibernate.type.Type columnType
        start local 2 // org.hibernate.engine.spi.Mapping mapping
         0: .line 57
            aload 1 /* columnType */
            areturn
        end local 2 // org.hibernate.engine.spi.Mapping mapping
        end local 1 // org.hibernate.type.Type columnType
        end local 0 // org.hibernate.dialect.function.CastFunction this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Lorg/hibernate/dialect/function/CastFunction;
            0    1     1  columnType  Lorg/hibernate/type/Type;
            0    1     2     mapping  Lorg/hibernate/engine/spi/Mapping;
    Exceptions:
      throws org.hibernate.QueryException
    MethodParameters:
            Name  Flags
      columnType  
      mapping     

  public java.lang.String render(org.hibernate.type.Type, java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor);
    descriptor: (Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // org.hibernate.dialect.function.CastFunction this
        start local 1 // org.hibernate.type.Type columnType
        start local 2 // java.util.List args
        start local 3 // org.hibernate.engine.spi.SessionFactoryImplementor factory
         0: .line 62
            aload 2 /* args */
            invokeinterface java.util.List.size:()I
            iconst_2
            if_icmpeq 2
         1: .line 63
            new org.hibernate.QueryException
            dup
            new java.lang.StringBuilder
            dup
            ldc "cast() requires two arguments; found : "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* args */
            invokeinterface java.util.List.size:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 65
      StackMap locals:
      StackMap stack:
            aload 2 /* args */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* type */
        start local 4 // java.lang.String type
         3: .line 66
            aload 3 /* factory */
            invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
            aload 4 /* type */
            invokevirtual org.hibernate.type.TypeResolver.heuristicType:(Ljava/lang/String;)Lorg/hibernate/type/Type;
            aload 3 /* factory */
            invokeinterface org.hibernate.type.Type.sqlTypes:(Lorg/hibernate/engine/spi/Mapping;)[I
            astore 5 /* sqlTypeCodes */
        start local 5 // int[] sqlTypeCodes
         4: .line 67
            aload 5 /* sqlTypeCodes */
            arraylength
            iconst_1
            if_icmpeq 6
         5: .line 68
            new org.hibernate.QueryException
            dup
            ldc "invalid Hibernate type for cast()"
            invokespecial org.hibernate.QueryException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 70
      StackMap locals: java.lang.String int[]
      StackMap stack:
            aload 3 /* factory */
            invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getDialect:()Lorg/hibernate/dialect/Dialect;
            aload 5 /* sqlTypeCodes */
            iconst_0
            iaload
            invokevirtual org.hibernate.dialect.Dialect.getCastTypeName:(I)Ljava/lang/String;
            astore 6 /* sqlType */
        start local 6 // java.lang.String sqlType
         7: .line 71
            aload 6 /* sqlType */
            ifnonnull 9
         8: .line 73
            aload 4 /* type */
            astore 6 /* sqlType */
         9: .line 75
      StackMap locals: java.lang.String
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "cast("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* args */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " as "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 6 /* sqlType */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 41
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 6 // java.lang.String sqlType
        end local 5 // int[] sqlTypeCodes
        end local 4 // java.lang.String type
        end local 3 // org.hibernate.engine.spi.SessionFactoryImplementor factory
        end local 2 // java.util.List args
        end local 1 // org.hibernate.type.Type columnType
        end local 0 // org.hibernate.dialect.function.CastFunction this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Lorg/hibernate/dialect/function/CastFunction;
            0   10     1    columnType  Lorg/hibernate/type/Type;
            0   10     2          args  Ljava/util/List;
            0   10     3       factory  Lorg/hibernate/engine/spi/SessionFactoryImplementor;
            3   10     4          type  Ljava/lang/String;
            4   10     5  sqlTypeCodes  [I
            7   10     6       sqlType  Ljava/lang/String;
    Exceptions:
      throws org.hibernate.QueryException
    MethodParameters:
            Name  Flags
      columnType  
      args        
      factory     
}
SourceFile: "CastFunction.java"