public class org.hibernate.procedure.internal.ParameterBindImpl<T> implements org.hibernate.procedure.ParameterBind<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.procedure.internal.ParameterBindImpl
super_class: java.lang.Object
{
private static final org.jboss.logging.Logger log;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.query.procedure.spi.ProcedureParameterImplementor procedureParameter;
descriptor: Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.query.procedure.internal.ProcedureParamBindings procedureParamBindings;
descriptor: Lorg/hibernate/query/procedure/internal/ProcedureParamBindings;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isBound;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private T value;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
private org.hibernate.type.Type hibernateType;
descriptor: Lorg/hibernate/type/Type;
flags: (0x0002) ACC_PRIVATE
private javax.persistence.TemporalType explicitTemporalType;
descriptor: Ljavax/persistence/TemporalType;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/procedure/internal/ParameterBindImpl;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.procedure.internal.ParameterBindImpl.log:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.query.procedure.spi.ProcedureParameterImplementor, org.hibernate.query.procedure.internal.ProcedureParamBindings);
descriptor: (Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;Lorg/hibernate/query/procedure/internal/ProcedureParamBindings;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
2: aload 0
aload 2
putfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParamBindings:Lorg/hibernate/query/procedure/internal/ProcedureParamBindings;
3: aload 0
aload 1
invokeinterface org.hibernate.query.procedure.spi.ProcedureParameterImplementor.getHibernateType:()Lorg/hibernate/type/Type;
putfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
0 5 1 procedureParameter Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
0 5 2 procedureParamBindings Lorg/hibernate/query/procedure/internal/ProcedureParamBindings;
MethodParameters:
Name Flags
procedureParameter
procedureParamBindings
public T getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
Signature: ()TT;
public javax.persistence.TemporalType getExplicitTemporalType();
descriptor: ()Ljavax/persistence/TemporalType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.explicitTemporalType:Ljavax/persistence/TemporalType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
public boolean isBound();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.isBound:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
public void setBindValue();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.procedure.internal.ParameterBindImpl.internalSetValue:(Ljava/lang/Object;)V
1: aload 1
ifnull 9
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
ifnonnull 9
2: aload 0
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParamBindings:Lorg/hibernate/query/procedure/internal/ProcedureParamBindings;
invokevirtual org.hibernate.query.procedure.internal.ProcedureParamBindings.getProcedureCall:()Lorg/hibernate/procedure/internal/ProcedureCallImpl;
3: invokevirtual org.hibernate.procedure.internal.ProcedureCallImpl.getSession:()Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
4: invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
5: invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getTypeResolver:()Lorg/hibernate/type/TypeResolver;
6: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.hibernate.type.TypeResolver.heuristicType:(Ljava/lang/String;)Lorg/hibernate/type/Type;
7: putfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
8: getstatic org.hibernate.procedure.internal.ParameterBindImpl.log:Lorg/jboss/logging/Logger;
ldc "Using heuristic type [%s] based on bind value [%s] as `bindType`"
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
aload 1
invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
0 10 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
private void internalSetValue();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
invokeinterface org.hibernate.query.procedure.spi.ProcedureParameterImplementor.getMode:()Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.IN:Ljavax/persistence/ParameterMode;
if_acmpeq 2
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
invokeinterface org.hibernate.query.procedure.spi.ProcedureParameterImplementor.getMode:()Ljavax/persistence/ParameterMode;
getstatic javax.persistence.ParameterMode.INOUT:Ljavax/persistence/ParameterMode;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Can only bind values for IN/INOUT parameters : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
invokeinterface org.hibernate.query.procedure.spi.ProcedureParameterImplementor.getParameterType:()Ljava/lang/Class;
ifnull 5
3: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
invokeinterface org.hibernate.query.procedure.spi.ProcedureParameterImplementor.getParameterType:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bind value ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] was not of specified type ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.procedureParameter:Lorg/hibernate/query/procedure/spi/ProcedureParameterImplementor;
invokeinterface org.hibernate.query.procedure.spi.ProcedureParameterImplementor.getParameterType:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.hibernate.procedure.internal.ParameterBindImpl.value:Ljava/lang/Object;
6: aload 0
iconst_1
putfield org.hibernate.procedure.internal.ParameterBindImpl.isBound:Z
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
0 8 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public void setBindValue(T, org.hibernate.type.Type);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/Type;)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
invokevirtual org.hibernate.procedure.internal.ParameterBindImpl.internalSetValue:(Ljava/lang/Object;)V
1: aload 0
aload 2
putfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
2: getstatic org.hibernate.procedure.internal.ParameterBindImpl.log:Lorg/jboss/logging/Logger;
ldc "Using explicit type [%s] as `bindType`"
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
aload 1
invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
0 4 1 value TT;
0 4 2 clarifiedType Lorg/hibernate/type/Type;
Signature: (TT;Lorg/hibernate/type/Type;)V
MethodParameters:
Name Flags
value
clarifiedType
public void setBindValue(T, javax.persistence.TemporalType);
descriptor: (Ljava/lang/Object;Ljavax/persistence/TemporalType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.hibernate.procedure.internal.ParameterBindImpl.internalSetValue:(Ljava/lang/Object;)V
1: aload 0
getstatic org.hibernate.query.internal.BindingTypeHelper.INSTANCE:Lorg/hibernate/query/internal/BindingTypeHelper;
aload 2
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
aload 1
invokevirtual org.hibernate.query.internal.BindingTypeHelper.determineTypeForTemporalType:(Ljavax/persistence/TemporalType;Lorg/hibernate/type/Type;Ljava/lang/Object;)Lorg/hibernate/type/BasicType;
putfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
2: aload 0
aload 2
putfield org.hibernate.procedure.internal.ParameterBindImpl.explicitTemporalType:Ljavax/persistence/TemporalType;
3: getstatic org.hibernate.procedure.internal.ParameterBindImpl.log:Lorg/jboss/logging/Logger;
ldc "Using type [%s] (based on TemporalType [%s] as `bindType`"
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
aload 2
invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
0 5 1 value TT;
0 5 2 clarifiedTemporalType Ljavax/persistence/TemporalType;
Signature: (TT;Ljavax/persistence/TemporalType;)V
MethodParameters:
Name Flags
value
clarifiedTemporalType
public T getBindValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.isBound:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Value not yet bound"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
Signature: ()TT;
public org.hibernate.type.Type getBindType();
descriptor: ()Lorg/hibernate/type/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.procedure.internal.ParameterBindImpl.hibernateType:Lorg/hibernate/type/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/procedure/internal/ParameterBindImpl<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/hibernate/procedure/ParameterBind<TT;>;
SourceFile: "ParameterBindImpl.java"