public final class org.hibernate.property.BasicPropertyAccessor$BasicSetter implements org.hibernate.property.Setter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.property.BasicPropertyAccessor$BasicSetter
super_class: java.lang.Object
{
private java.lang.Class clazz;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
private final transient java.lang.reflect.Method method;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
private final java.lang.String propertyName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.lang.Class, java.lang.reflect.Method, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
2: aload 0
aload 2
putfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
3: aload 0
aload 3
putfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/property/BasicPropertyAccessor$BasicSetter;
0 5 1 clazz Ljava/lang/Class;
0 5 2 method Ljava/lang/reflect/Method;
0 5 3 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
clazz
method
propertyName
public void set(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: goto 56
2: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 4
start local 4 3: aload 2
ifnonnull 11
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 11
4: new org.hibernate.PropertyAccessException
dup
5: aload 4
6: ldc "Null value was assigned to a property of primitive type"
7: iconst_1
8: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
9: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
10: invokespecial org.hibernate.PropertyAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
athrow
11: StackMap locals: java.lang.NullPointerException
StackMap stack:
new org.hibernate.PropertyAccessException
dup
12: aload 4
13: ldc "NullPointerException occurred while calling"
14: iconst_1
15: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
16: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
17: invokespecial org.hibernate.PropertyAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
athrow
end local 4 18: StackMap locals: org.hibernate.property.BasicPropertyAccessor$BasicSetter java.lang.Object java.lang.Object org.hibernate.engine.spi.SessionFactoryImplementor
StackMap stack: java.lang.reflect.InvocationTargetException
astore 4
start local 4 19: new org.hibernate.PropertyAccessException
dup
20: aload 4
21: ldc "Exception occurred inside"
22: iconst_1
23: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
24: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
25: invokespecial org.hibernate.PropertyAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
athrow
end local 4 26: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 4
start local 4 27: new org.hibernate.PropertyAccessException
dup
28: aload 4
29: ldc "IllegalAccessException occurred while calling"
30: iconst_1
31: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
32: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
33: invokespecial org.hibernate.PropertyAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
athrow
end local 4 34: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 4
start local 4 35: aload 2
ifnonnull 43
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 43
36: new org.hibernate.PropertyAccessException
dup
37: aload 4
38: ldc "Null value was assigned to a property of primitive type"
39: iconst_1
40: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
41: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
42: invokespecial org.hibernate.PropertyAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
athrow
43: StackMap locals: java.lang.IllegalArgumentException
StackMap stack:
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
astore 5
start local 5 44: getstatic org.hibernate.property.BasicPropertyAccessor.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.illegalPropertySetterArgument:(Ljava/lang/String;Ljava/lang/String;)V
45: getstatic org.hibernate.property.BasicPropertyAccessor.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 5
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 2
ifnonnull 46
aconst_null
goto 47
StackMap locals: org.hibernate.property.BasicPropertyAccessor$BasicSetter java.lang.Object java.lang.Object org.hibernate.engine.spi.SessionFactoryImplementor java.lang.IllegalArgumentException java.lang.Class
StackMap stack: org.hibernate.internal.CoreMessageLogger java.lang.String
46: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals: org.hibernate.property.BasicPropertyAccessor$BasicSetter java.lang.Object java.lang.Object org.hibernate.engine.spi.SessionFactoryImplementor java.lang.IllegalArgumentException java.lang.Class
StackMap stack: org.hibernate.internal.CoreMessageLogger java.lang.String java.lang.String
47: invokeinterface org.hibernate.internal.CoreMessageLogger.expectedType:(Ljava/lang/String;Ljava/lang/String;)V
48: new org.hibernate.PropertySetterAccessException
dup
49: aload 4
50: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
51: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
52: aload 5
53: aload 1
54: aload 2
55: invokespecial org.hibernate.PropertySetterAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Object;)V
athrow
end local 5 end local 4 56: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lorg/hibernate/property/BasicPropertyAccessor$BasicSetter;
0 57 1 target Ljava/lang/Object;
0 57 2 value Ljava/lang/Object;
0 57 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
3 18 4 npe Ljava/lang/NullPointerException;
19 26 4 ite Ljava/lang/reflect/InvocationTargetException;
27 34 4 iae Ljava/lang/IllegalAccessException;
35 56 4 iae Ljava/lang/IllegalArgumentException;
44 56 5 expectedType Ljava/lang/Class;
Exception table:
from to target type
0 1 2 Class java.lang.NullPointerException
0 1 18 Class java.lang.reflect.InvocationTargetException
0 1 26 Class java.lang.IllegalAccessException
0 1 34 Class java.lang.IllegalArgumentException
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
target
value
factory
public java.lang.reflect.Method getMethod();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/BasicPropertyAccessor$BasicSetter;
public java.lang.String getMethodName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.method:Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/BasicPropertyAccessor$BasicSetter;
java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
invokestatic org.hibernate.property.BasicPropertyAccessor.createSetter:(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Setter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/BasicPropertyAccessor$BasicSetter;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "BasicSetter("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.clazz:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.property.BasicPropertyAccessor$BasicSetter.propertyName:Ljava/lang/String;
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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/BasicPropertyAccessor$BasicSetter;
}
SourceFile: "BasicPropertyAccessor.java"
NestHost: org.hibernate.property.BasicPropertyAccessor
InnerClasses:
public final BasicSetter = org.hibernate.property.BasicPropertyAccessor$BasicSetter of org.hibernate.property.BasicPropertyAccessor