public final class org.hibernate.property.DirectPropertyAccessor$DirectSetter 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.DirectPropertyAccessor$DirectSetter
super_class: java.lang.Object
{
private final transient java.lang.reflect.Field field;
descriptor: Ljava/lang/reflect/Field;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
private final java.lang.Class clazz;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.reflect.Field, java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Class;Ljava/lang/String;)V
flags: (0x0000)
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.DirectPropertyAccessor$DirectSetter.field:Ljava/lang/reflect/Field;
2: aload 0
aload 2
putfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.clazz:Ljava/lang/Class;
3: aload 0
aload 3
putfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.name: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/DirectPropertyAccessor$DirectSetter;
0 5 1 field Ljava/lang/reflect/Field;
0 5 2 clazz Ljava/lang/Class;
0 5 3 name Ljava/lang/String;
MethodParameters:
Name Flags
field
clazz
name
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: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/DirectPropertyAccessor$DirectSetter;
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: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/DirectPropertyAccessor$DirectSetter;
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=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.field:Ljava/lang/reflect/Field;
aload 1
aload 2
invokevirtual java.lang.reflect.Field.set:(Ljava/lang/Object;Ljava/lang/Object;)V
1: goto 12
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 3: aload 2
ifnonnull 11
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.field:Ljava/lang/reflect/Field;
invokevirtual java.lang.reflect.Field.getType:()Ljava/lang/Class;
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.DirectPropertyAccessor$DirectSetter.clazz:Ljava/lang/Class;
9: aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.name: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.Exception
StackMap stack:
new org.hibernate.PropertyAccessException
dup
aload 4
ldc "could not set a field value by reflection"
iconst_1
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.clazz:Ljava/lang/Class;
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.name:Ljava/lang/String;
invokespecial org.hibernate.PropertyAccessException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;ZLjava/lang/Class;Ljava/lang/String;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/hibernate/property/DirectPropertyAccessor$DirectSetter;
0 13 1 target Ljava/lang/Object;
0 13 2 value Ljava/lang/Object;
0 13 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
3 12 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
target
value
factory
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 "DirectSetter("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.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.DirectPropertyAccessor$DirectSetter.name: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/DirectPropertyAccessor$DirectSetter;
java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.hibernate.property.DirectPropertyAccessor$DirectSetter
dup
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.clazz:Ljava/lang/Class;
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.name:Ljava/lang/String;
invokestatic org.hibernate.property.DirectPropertyAccessor.getField:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.clazz:Ljava/lang/Class;
aload 0
getfield org.hibernate.property.DirectPropertyAccessor$DirectSetter.name:Ljava/lang/String;
invokespecial org.hibernate.property.DirectPropertyAccessor$DirectSetter.<init>:(Ljava/lang/reflect/Field;Ljava/lang/Class;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/DirectPropertyAccessor$DirectSetter;
}
SourceFile: "DirectPropertyAccessor.java"
NestHost: org.hibernate.property.DirectPropertyAccessor
InnerClasses:
public final DirectSetter = org.hibernate.property.DirectPropertyAccessor$DirectSetter of org.hibernate.property.DirectPropertyAccessor