public class org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction extends org.hibernate.dialect.function.NoArgSQLFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction
super_class: org.hibernate.dialect.function.NoArgSQLFunction
{
private final java.lang.String renderedString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)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
getstatic org.hibernate.type.StandardBasicTypes.TIMESTAMP:Lorg/hibernate/type/TimestampType;
iload 2
invokespecial org.hibernate.dialect.function.NoArgSQLFunction.<init>:(Ljava/lang/String;Lorg/hibernate/type/Type;Z)V
1: aload 0
aconst_null
putfield org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction.renderedString:Ljava/lang/String;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/dialect/function/StaticPrecisionFspTimestampFunction;
0 3 1 name Ljava/lang/String;
0 3 2 hasParenthesesIfNoArguments Z
MethodParameters:
Name Flags
name
hasParenthesesIfNoArguments
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)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
getstatic org.hibernate.type.StandardBasicTypes.TIMESTAMP:Lorg/hibernate/type/TimestampType;
invokespecial org.hibernate.dialect.function.NoArgSQLFunction.<init>:(Ljava/lang/String;Lorg/hibernate/type/Type;)V
1: iload 2
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "fsp must be >= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction java.lang.String int
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction.renderedString:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/dialect/function/StaticPrecisionFspTimestampFunction;
0 5 1 name Ljava/lang/String;
0 5 2 fsp I
MethodParameters:
Name Flags
name
fsp
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface java.util.List.size:()I
ifle 2
1: new org.hibernate.QueryException
dup
new java.lang.StringBuilder
dup
ldc "function takes no arguments: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction.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.QueryException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction.renderedString:Ljava/lang/String;
ifnonnull 4
3: aload 0
aload 1
aload 2
aload 3
invokespecial org.hibernate.dialect.function.NoArgSQLFunction.render:(Lorg/hibernate/type/Type;Ljava/util/List;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.dialect.function.StaticPrecisionFspTimestampFunction.renderedString:Ljava/lang/String;
5: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/dialect/function/StaticPrecisionFspTimestampFunction;
0 6 1 argumentType Lorg/hibernate/type/Type;
0 6 2 args Ljava/util/List;
0 6 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
Exceptions:
throws org.hibernate.QueryException
MethodParameters:
Name Flags
argumentType
args
factory
}
SourceFile: "StaticPrecisionFspTimestampFunction.java"