public class org.hibernate.tuple.component.ComponentTuplizerFactory implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.tuple.component.ComponentTuplizerFactory
super_class: java.lang.Object
{
private static final java.lang.Class[] COMPONENT_TUP_CTOR_SIG;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.Map<org.hibernate.EntityMode, java.lang.Class<? extends org.hibernate.tuple.component.ComponentTuplizer>> defaultImplClassByMode;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lorg/hibernate/EntityMode;Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.hibernate.tuple.component.ComponentTuplizerFactory.$assertionsDisabled:Z
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/hibernate/mapping/Component;
aastore
putstatic org.hibernate.tuple.component.ComponentTuplizerFactory.COMPONENT_TUP_CTOR_SIG:[Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.hibernate.tuple.component.ComponentTuplizerFactory.buildBaseMapping:()Ljava/util/Map;
putfield org.hibernate.tuple.component.ComponentTuplizerFactory.defaultImplClassByMode:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
public void registerDefaultTuplizerClass(org.hibernate.EntityMode, java.lang.Class<? extends org.hibernate.tuple.component.ComponentTuplizer>);
descriptor: (Lorg/hibernate/EntityMode;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.hibernate.tuple.component.ComponentTuplizerFactory.$assertionsDisabled:Z
ifne 2
aload 0
aload 2
invokevirtual org.hibernate.tuple.component.ComponentTuplizerFactory.isComponentTuplizerImplementor:(Ljava/lang/Class;)Z
ifne 2
new java.lang.AssertionError
dup
1: new java.lang.StringBuilder
dup
ldc "Specified tuplizer class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] does not implement "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/hibernate/tuple/component/ComponentTuplizer;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.tuple.component.ComponentTuplizerFactory.$assertionsDisabled:Z
ifne 4
aload 0
aload 2
invokevirtual org.hibernate.tuple.component.ComponentTuplizerFactory.hasProperConstructor:(Ljava/lang/Class;)Z
ifne 4
new java.lang.AssertionError
dup
3: new java.lang.StringBuilder
dup
ldc "Specified tuplizer class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] is not properly instantiatable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.tuple.component.ComponentTuplizerFactory.defaultImplClassByMode:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 6 1 entityMode Lorg/hibernate/EntityMode;
0 6 2 tuplizerClass Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
Signature: (Lorg/hibernate/EntityMode;Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;)V
MethodParameters:
Name Flags
entityMode
tuplizerClass
public org.hibernate.tuple.component.ComponentTuplizer constructTuplizer(java.lang.String, org.hibernate.mapping.Component);
descriptor: (Ljava/lang/String;Lorg/hibernate/mapping/Component;)Lorg/hibernate/tuple/component/ComponentTuplizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.hibernate.internal.util.ReflectHelper.classForName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer:(Ljava/lang/Class;Lorg/hibernate/mapping/Component;)Lorg/hibernate/tuple/component/ComponentTuplizer;
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
4: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Could not locate specified tuplizer class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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.HibernateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 5 1 tuplizerClassName Ljava/lang/String;
0 5 2 metadata Lorg/hibernate/mapping/Component;
1 3 3 tuplizerClass Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
Exception table:
from to target type
0 2 3 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
tuplizerClassName
metadata
public org.hibernate.tuple.component.ComponentTuplizer constructTuplizer(java.lang.Class<? extends org.hibernate.tuple.component.ComponentTuplizer>, org.hibernate.mapping.Component);
descriptor: (Ljava/lang/Class;Lorg/hibernate/mapping/Component;)Lorg/hibernate/tuple/component/ComponentTuplizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.hibernate.tuple.component.ComponentTuplizerFactory.getProperConstructor:(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 1: getstatic org.hibernate.tuple.component.ComponentTuplizerFactory.$assertionsDisabled:Z
ifne 2
aload 3
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unable to locate proper constructor for tuplizer ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: java.lang.reflect.Constructor
StackMap stack:
aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.tuple.component.ComponentTuplizer
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 5: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Unable to instantiate default tuplizer ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 6 1 tuplizerClass Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
0 6 2 metadata Lorg/hibernate/mapping/Component;
1 6 3 constructor Ljava/lang/reflect/Constructor<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
5 6 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;Lorg/hibernate/mapping/Component;)Lorg/hibernate/tuple/component/ComponentTuplizer;
MethodParameters:
Name Flags
tuplizerClass
metadata
public org.hibernate.tuple.component.ComponentTuplizer constructDefaultTuplizer(org.hibernate.EntityMode, org.hibernate.mapping.Component);
descriptor: (Lorg/hibernate/EntityMode;Lorg/hibernate/mapping/Component;)Lorg/hibernate/tuple/component/ComponentTuplizer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.tuple.component.ComponentTuplizerFactory.defaultImplClassByMode:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "could not determine default tuplizer class to use ["
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.HibernateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer:(Ljava/lang/Class;Lorg/hibernate/mapping/Component;)Lorg/hibernate/tuple/component/ComponentTuplizer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 4 1 entityMode Lorg/hibernate/EntityMode;
0 4 2 metadata Lorg/hibernate/mapping/Component;
1 4 3 tuplizerClass Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
MethodParameters:
Name Flags
entityMode
metadata
private boolean isComponentTuplizerImplementor(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/hibernate/tuple/component/ComponentTuplizer;
invokestatic org.hibernate.internal.util.ReflectHelper.implementsInterface:(Ljava/lang/Class;Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 1 1 tuplizerClass Ljava/lang/Class;
MethodParameters:
Name Flags
tuplizerClass
private boolean hasProperConstructor(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.hibernate.tuple.component.ComponentTuplizerFactory.getProperConstructor:(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 2 1 tuplizerClass Ljava/lang/Class;
MethodParameters:
Name Flags
tuplizerClass
private java.lang.reflect.Constructor<? extends org.hibernate.tuple.component.ComponentTuplizer> getProperConstructor(java.lang.Class<? extends org.hibernate.tuple.component.ComponentTuplizer>);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
getstatic org.hibernate.tuple.component.ComponentTuplizerFactory.COMPONENT_TUP_CTOR_SIG:[Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
2: aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
3: goto 8
4: StackMap locals: org.hibernate.tuple.component.ComponentTuplizerFactory java.lang.Class java.lang.reflect.Constructor
StackMap stack: java.lang.SecurityException
pop
5: aconst_null
astore 2
6: goto 8
7: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/tuple/component/ComponentTuplizerFactory;
0 9 1 clazz Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
1 9 2 constructor Ljava/lang/reflect/Constructor<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
Exception table:
from to target type
2 3 4 Class java.lang.SecurityException
1 6 7 Class java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;)Ljava/lang/reflect/Constructor<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;
MethodParameters:
Name Flags
clazz
private static java.util.Map<org.hibernate.EntityMode, java.lang.Class<? extends org.hibernate.tuple.component.ComponentTuplizer>> buildBaseMapping();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
astore 0
start local 0 1: aload 0
getstatic org.hibernate.EntityMode.POJO:Lorg/hibernate/EntityMode;
ldc Lorg/hibernate/tuple/component/PojoComponentTuplizer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getstatic org.hibernate.EntityMode.MAP:Lorg/hibernate/EntityMode;
ldc Lorg/hibernate/tuple/component/DynamicMapComponentTuplizer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 map Ljava/util/Map<Lorg/hibernate/EntityMode;Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;>;
Signature: ()Ljava/util/Map<Lorg/hibernate/EntityMode;Ljava/lang/Class<+Lorg/hibernate/tuple/component/ComponentTuplizer;>;>;
}
SourceFile: "ComponentTuplizerFactory.java"