public final class org.hibernate.property.PropertyAccessorFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.property.PropertyAccessorFactory
super_class: java.lang.Object
{
private static final org.hibernate.property.PropertyAccessor BASIC_PROPERTY_ACCESSOR;
descriptor: Lorg/hibernate/property/PropertyAccessor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.hibernate.property.PropertyAccessor DIRECT_PROPERTY_ACCESSOR;
descriptor: Lorg/hibernate/property/PropertyAccessor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.hibernate.property.PropertyAccessor MAP_ACCESSOR;
descriptor: Lorg/hibernate/property/PropertyAccessor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.hibernate.property.PropertyAccessor NOOP_ACCESSOR;
descriptor: Lorg/hibernate/property/PropertyAccessor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.hibernate.property.PropertyAccessor EMBEDDED_PROPERTY_ACCESSOR;
descriptor: Lorg/hibernate/property/PropertyAccessor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.hibernate.property.BasicPropertyAccessor
dup
invokespecial org.hibernate.property.BasicPropertyAccessor.<init>:()V
putstatic org.hibernate.property.PropertyAccessorFactory.BASIC_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
1: new org.hibernate.property.DirectPropertyAccessor
dup
invokespecial org.hibernate.property.DirectPropertyAccessor.<init>:()V
putstatic org.hibernate.property.PropertyAccessorFactory.DIRECT_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
2: new org.hibernate.property.MapAccessor
dup
invokespecial org.hibernate.property.MapAccessor.<init>:()V
putstatic org.hibernate.property.PropertyAccessorFactory.MAP_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
3: new org.hibernate.property.NoopAccessor
dup
invokespecial org.hibernate.property.NoopAccessor.<init>:()V
putstatic org.hibernate.property.PropertyAccessorFactory.NOOP_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
4: new org.hibernate.property.EmbeddedPropertyAccessor
dup
invokespecial org.hibernate.property.EmbeddedPropertyAccessor.<init>:()V
putstatic org.hibernate.property.PropertyAccessorFactory.EMBEDDED_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.hibernate.property.PropertyAccessor getPropertyAccessor(org.hibernate.mapping.Property, org.hibernate.EntityMode);
descriptor: (Lorg/hibernate/mapping/Property;Lorg/hibernate/EntityMode;)Lorg/hibernate/property/PropertyAccessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
getstatic org.hibernate.EntityMode.POJO:Lorg/hibernate/EntityMode;
aload 1
invokevirtual org.hibernate.EntityMode.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.mapping.Property.getPropertyAccessorName:()Ljava/lang/String;
invokestatic org.hibernate.property.PropertyAccessorFactory.getPojoPropertyAccessor:(Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.EntityMode.MAP:Lorg/hibernate/EntityMode;
aload 1
invokevirtual org.hibernate.EntityMode.equals:(Ljava/lang/Object;)Z
ifeq 4
3: invokestatic org.hibernate.property.PropertyAccessorFactory.getDynamicMapPropertyAccessor:()Lorg/hibernate/property/PropertyAccessor;
areturn
4: StackMap locals:
StackMap stack:
new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "Unknown entity mode ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 property Lorg/hibernate/mapping/Property;
0 5 1 mode Lorg/hibernate/EntityMode;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
property
mode
public static org.hibernate.property.PropertyAccessor getPropertyAccessor(org.hibernate.metamodel.binding.AttributeBinding, org.hibernate.EntityMode);
descriptor: (Lorg/hibernate/metamodel/binding/AttributeBinding;Lorg/hibernate/EntityMode;)Lorg/hibernate/property/PropertyAccessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
getstatic org.hibernate.EntityMode.POJO:Lorg/hibernate/EntityMode;
aload 1
invokevirtual org.hibernate.EntityMode.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.hibernate.metamodel.binding.AttributeBinding.getPropertyAccessorName:()Ljava/lang/String;
invokestatic org.hibernate.property.PropertyAccessorFactory.getPojoPropertyAccessor:(Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.EntityMode.MAP:Lorg/hibernate/EntityMode;
aload 1
invokevirtual org.hibernate.EntityMode.equals:(Ljava/lang/Object;)Z
ifeq 4
3: invokestatic org.hibernate.property.PropertyAccessorFactory.getDynamicMapPropertyAccessor:()Lorg/hibernate/property/PropertyAccessor;
areturn
4: StackMap locals:
StackMap stack:
new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "Unknown entity mode ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 property Lorg/hibernate/metamodel/binding/AttributeBinding;
0 5 1 mode Lorg/hibernate/EntityMode;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
property
mode
private static org.hibernate.property.PropertyAccessor getPojoPropertyAccessor(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.StringHelper.isEmpty:(Ljava/lang/String;)Z
ifne 1
ldc "property"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
getstatic org.hibernate.property.PropertyAccessorFactory.BASIC_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
2: StackMap locals:
StackMap stack:
ldc "field"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: getstatic org.hibernate.property.PropertyAccessorFactory.DIRECT_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
4: StackMap locals:
StackMap stack:
ldc "embedded"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: getstatic org.hibernate.property.PropertyAccessorFactory.EMBEDDED_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
6: StackMap locals:
StackMap stack:
ldc "noop"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: getstatic org.hibernate.property.PropertyAccessorFactory.NOOP_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokestatic org.hibernate.property.PropertyAccessorFactory.resolveCustomAccessor:(Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 pojoAccessorStrategy Ljava/lang/String;
MethodParameters:
Name Flags
pojoAccessorStrategy
public static org.hibernate.property.PropertyAccessor getDynamicMapPropertyAccessor();
descriptor: ()Lorg/hibernate/property/PropertyAccessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.property.PropertyAccessorFactory.MAP_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.hibernate.MappingException
private static org.hibernate.property.PropertyAccessor resolveCustomAccessor(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.ReflectHelper.classForName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 1: goto 4
end local 1 2: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 3: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "could not find PropertyAccessor class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 4: StackMap locals: java.lang.Class
StackMap stack:
aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.hibernate.property.PropertyAccessor
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "could not instantiate PropertyAccessor class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.hibernate.MappingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 accessorName Ljava/lang/String;
1 2 1 accessorClass Ljava/lang/Class;
4 8 1 accessorClass Ljava/lang/Class;
3 4 2 cnfe Ljava/lang/ClassNotFoundException;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
accessorName
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/property/PropertyAccessorFactory;
public static org.hibernate.property.PropertyAccessor getPropertyAccessor(java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
aload 0
ifnull 1
aload 0
ldc Ljava/util/Map;
if_acmpne 2
StackMap locals:
StackMap stack:
1: ldc "map"
goto 3
StackMap locals:
StackMap stack:
2: ldc "property"
StackMap locals:
StackMap stack: java.lang.String
3: astore 1
4: StackMap locals:
StackMap stack:
aload 1
invokestatic org.hibernate.property.PropertyAccessorFactory.getPropertyAccessor:(Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 optionalClass Ljava/lang/Class;
0 5 1 type Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
optionalClass
type
public static org.hibernate.property.PropertyAccessor getPropertyAccessor(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
ldc "property"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
StackMap locals:
StackMap stack:
1: getstatic org.hibernate.property.PropertyAccessorFactory.BASIC_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
2: StackMap locals:
StackMap stack:
ldc "field"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
getstatic org.hibernate.property.PropertyAccessorFactory.DIRECT_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
3: StackMap locals:
StackMap stack:
ldc "map"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
getstatic org.hibernate.property.PropertyAccessorFactory.MAP_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
4: StackMap locals:
StackMap stack:
ldc "embedded"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
getstatic org.hibernate.property.PropertyAccessorFactory.EMBEDDED_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
5: StackMap locals:
StackMap stack:
ldc "noop"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
getstatic org.hibernate.property.PropertyAccessorFactory.NOOP_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic org.hibernate.property.PropertyAccessorFactory.resolveCustomAccessor:(Ljava/lang/String;)Lorg/hibernate/property/PropertyAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
type
}
SourceFile: "PropertyAccessorFactory.java"