public final class org.hibernate.internal.util.ReflectHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.internal.util.ReflectHelper
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
public static final java.lang.Class[] NO_PARAM_SIGNATURE;
descriptor: [Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Object[] NO_PARAMS;
descriptor: [Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Class[] SINGLE_OBJECT_PARAM_SIGNATURE;
descriptor: [Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method OBJECT_EQUALS;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method OBJECT_HASHCODE;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=3, args_size=0
0: ldc Lorg/hibernate/internal/util/ReflectHelper;
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.internal.util.ReflectHelper.$assertionsDisabled:Z
3: new org.hibernate.property.BasicPropertyAccessor
dup
invokespecial org.hibernate.property.BasicPropertyAccessor.<init>:()V
putstatic org.hibernate.internal.util.ReflectHelper.BASIC_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
4: new org.hibernate.property.DirectPropertyAccessor
dup
invokespecial org.hibernate.property.DirectPropertyAccessor.<init>:()V
putstatic org.hibernate.internal.util.ReflectHelper.DIRECT_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
5: iconst_0
anewarray java.lang.Class
putstatic org.hibernate.internal.util.ReflectHelper.NO_PARAM_SIGNATURE:[Ljava/lang/Class;
6: iconst_0
anewarray java.lang.Object
putstatic org.hibernate.internal.util.ReflectHelper.NO_PARAMS:[Ljava/lang/Object;
7: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
putstatic org.hibernate.internal.util.ReflectHelper.SINGLE_OBJECT_PARAM_SIGNATURE:[Ljava/lang/Class;
8: ldc Ljava/lang/Object;
invokestatic org.hibernate.internal.util.ReflectHelper.extractEqualsMethod:(Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
start local 0 9: ldc Ljava/lang/Object;
invokestatic org.hibernate.internal.util.ReflectHelper.extractHashCodeMethod:(Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
start local 1 10: goto 13
end local 1 end local 0 11: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 12: new org.hibernate.AssertionFailure
dup
ldc "Could not find Object.equals() or Object.hashCode()"
aload 2
invokespecial org.hibernate.AssertionFailure.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 0 start local 1 13: StackMap locals: java.lang.reflect.Method java.lang.reflect.Method
StackMap stack:
aload 0
putstatic org.hibernate.internal.util.ReflectHelper.OBJECT_EQUALS:Ljava/lang/reflect/Method;
14: aload 1
putstatic org.hibernate.internal.util.ReflectHelper.OBJECT_HASHCODE:Ljava/lang/reflect/Method;
end local 1 end local 0 15: return
LocalVariableTable:
Start End Slot Name Signature
9 11 0 eq Ljava/lang/reflect/Method;
13 15 0 eq Ljava/lang/reflect/Method;
10 11 1 hash Ljava/lang/reflect/Method;
13 15 1 hash Ljava/lang/reflect/Method;
12 13 2 e Ljava/lang/Exception;
Exception table:
from to target type
8 10 11 Class java.lang.Exception
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/internal/util/ReflectHelper;
public static java.lang.reflect.Method (java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "equals"
getstatic org.hibernate.internal.util.ReflectHelper.SINGLE_OBJECT_PARAM_SIGNATURE:[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class;
Exceptions:
throws java.lang.NoSuchMethodException
MethodParameters:
Name Flags
clazz
public static java.lang.reflect.Method (java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "hashCode"
getstatic org.hibernate.internal.util.ReflectHelper.NO_PARAM_SIGNATURE:[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class;
Exceptions:
throws java.lang.NoSuchMethodException
MethodParameters:
Name Flags
clazz
public static boolean overridesEquals(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.ReflectHelper.extractEqualsMethod:(Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
start local 1 1: goto 4
end local 1 2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
3: iconst_0
ireturn
start local 1 4: StackMap locals: java.lang.reflect.Method
StackMap stack:
getstatic org.hibernate.internal.util.ReflectHelper.OBJECT_EQUALS:Ljava/lang/reflect/Method;
aload 1
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clazz Ljava/lang/Class;
1 2 1 equals Ljava/lang/reflect/Method;
4 7 1 equals Ljava/lang/reflect/Method;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
MethodParameters:
Name Flags
clazz
public static boolean overridesHashCode(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.ReflectHelper.extractHashCodeMethod:(Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
start local 1 1: goto 4
end local 1 2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
3: iconst_0
ireturn
start local 1 4: StackMap locals: java.lang.reflect.Method
StackMap stack:
getstatic org.hibernate.internal.util.ReflectHelper.OBJECT_HASHCODE:Ljava/lang/reflect/Method;
aload 1
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clazz Ljava/lang/Class;
1 2 1 hashCode Ljava/lang/reflect/Method;
4 7 1 hashCode Ljava/lang/reflect/Method;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
MethodParameters:
Name Flags
clazz
public static boolean implementsInterface(java.lang.Class, java.lang.Class);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.hibernate.internal.util.ReflectHelper.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "Interface to check was not an interface"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 clazz Ljava/lang/Class;
0 2 1 intf Ljava/lang/Class;
MethodParameters:
Name Flags
clazz
intf
public static java.lang.Class classForName(java.lang.String, java.lang.Class);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.hibernate.internal.util.ClassLoaderHelper.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 2
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.Throwable
pop
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 caller Ljava/lang/Class;
1 4 2 classLoader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
caller
public static java.lang.Class classForName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic org.hibernate.internal.util.ClassLoaderHelper.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.Throwable
pop
5: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
1 4 1 classLoader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
public static boolean isPublic(java.lang.reflect.Member);
descriptor: (Ljava/lang/reflect/Member;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.reflect.Member.getDeclaringClass:()Ljava/lang/Class;
aload 0
invokestatic org.hibernate.internal.util.ReflectHelper.isPublic:(Ljava/lang/Class;Ljava/lang/reflect/Member;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 member Ljava/lang/reflect/Member;
MethodParameters:
Name Flags
member
public static boolean isPublic(java.lang.Class, java.lang.reflect.Member);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Member;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.reflect.Member.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 1
aload 0
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 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 clazz Ljava/lang/Class;
0 2 1 member Ljava/lang/reflect/Member;
MethodParameters:
Name Flags
clazz
member
public static java.lang.Class reflectedPropertyClass(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.hibernate.internal.util.ReflectHelper.classForName:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
aload 1
invokestatic org.hibernate.internal.util.ReflectHelper.getter:(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
invokeinterface org.hibernate.property.Getter.getReturnType:()Ljava/lang/Class;
2: areturn
end local 2 3: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 4: new org.hibernate.MappingException
dup
new java.lang.StringBuilder
dup
ldc "class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found while looking for property: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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 5 0 className Ljava/lang/String;
0 5 1 name Ljava/lang/String;
1 3 2 clazz Ljava/lang/Class;
4 5 2 cnfe Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 2 3 Class java.lang.ClassNotFoundException
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
className
name
public static java.lang.Class reflectedPropertyClass(java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.hibernate.internal.util.ReflectHelper.getter:(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
invokeinterface org.hibernate.property.Getter.getReturnType:()Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class;
0 1 1 name Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
clazz
name
private static org.hibernate.property.Getter getter(java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.hibernate.internal.util.ReflectHelper.BASIC_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
aload 0
aload 1
invokeinterface org.hibernate.property.PropertyAccessor.getGetter:(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
1: areturn
2: StackMap locals:
StackMap stack: org.hibernate.PropertyNotFoundException
pop
3: getstatic org.hibernate.internal.util.ReflectHelper.DIRECT_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
aload 0
aload 1
invokeinterface org.hibernate.property.PropertyAccessor.getGetter:(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clazz Ljava/lang/Class;
0 4 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class org.hibernate.PropertyNotFoundException
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
clazz
name
public static org.hibernate.property.Getter getGetter(java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.hibernate.internal.util.ReflectHelper.BASIC_PROPERTY_ACCESSOR:Lorg/hibernate/property/PropertyAccessor;
aload 0
aload 1
invokeinterface org.hibernate.property.PropertyAccessor.getGetter:(Ljava/lang/Class;Ljava/lang/String;)Lorg/hibernate/property/Getter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 theClass Ljava/lang/Class;
0 1 1 name Ljava/lang/String;
Exceptions:
throws org.hibernate.MappingException
MethodParameters:
Name Flags
theClass
name
public static java.lang.Object getConstantValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.StringHelper.qualifier:(Ljava/lang/String;)Ljava/lang/String;
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.Throwable
pop
3: aconst_null
areturn
start local 1 4: StackMap locals: java.lang.Class
StackMap stack:
aload 1
aload 0
invokestatic org.hibernate.internal.util.StringHelper.unqualify:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
pop
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
1 2 1 clazz Ljava/lang/Class;
4 8 1 clazz Ljava/lang/Class;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
4 5 6 Class java.lang.Throwable
MethodParameters:
Name Flags
name
public static <T> java.lang.reflect.Constructor<T> getDefaultConstructor(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.ReflectHelper.isAbstractClass:(Ljava/lang/Class;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.hibernate.internal.util.ReflectHelper.NO_PARAM_SIGNATURE:[Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 1
start local 1 3: aload 1
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
4: aload 1
5: areturn
end local 1 6: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
7: new org.hibernate.PropertyNotFoundException
dup
8: new java.lang.StringBuilder
dup
ldc "Object class ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] must declare a default (no-argument) constructor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial org.hibernate.PropertyNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 clazz Ljava/lang/Class<TT;>;
3 6 1 constructor Ljava/lang/reflect/Constructor<TT;>;
Exception table:
from to target type
2 5 6 Class java.lang.NoSuchMethodException
Exceptions:
throws org.hibernate.PropertyNotFoundException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/lang/reflect/Constructor<TT;>;
MethodParameters:
Name Flags
clazz
public static boolean isAbstractClass(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getModifiers:()I
istore 1
start local 1 1: iload 1
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifne 2
iload 1
invokestatic java.lang.reflect.Modifier.isInterface:(I)Z
ifne 2
iconst_0
ireturn
StackMap locals: int
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clazz Ljava/lang/Class;
1 3 1 modifier I
MethodParameters:
Name Flags
clazz
public static boolean isFinalClass(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class;
MethodParameters:
Name Flags
clazz
public static java.lang.reflect.Constructor getConstructor(java.lang.Class, org.hibernate.type.Type[]);
descriptor: (Ljava/lang/Class;[Lorg/hibernate/type/Type;)Ljava/lang/reflect/Constructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getConstructors:()[Ljava/lang/reflect/Constructor;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 24
3: StackMap locals: java.lang.reflect.Constructor[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
astore 5
start local 5 5: aload 5
arraylength
aload 1
arraylength
if_icmpne 23
6: iconst_1
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 19
9: StackMap locals: java.lang.Class org.hibernate.type.Type[] java.lang.reflect.Constructor[] int java.lang.reflect.Constructor java.lang.Class[] int int
StackMap stack:
aload 5
iload 7
aaload
aload 1
iload 7
aaload
invokeinterface org.hibernate.type.Type.getReturnedClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 13
10: aload 1
iload 7
aaload
instanceof org.hibernate.type.PrimitiveType
ifeq 12
11: aload 5
iload 7
aaload
aload 1
iload 7
aaload
checkcast org.hibernate.type.PrimitiveType
invokeinterface org.hibernate.type.PrimitiveType.getPrimitiveClass:()Ljava/lang/Class;
if_acmpeq 13
12: StackMap locals:
StackMap stack:
iconst_0
goto 14
StackMap locals:
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: istore 8
start local 8 15: iload 8
ifne 18
16: iconst_0
istore 6
17: goto 20
end local 8 18: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
aload 5
arraylength
if_icmplt 9
end local 7 20: StackMap locals:
StackMap stack:
iload 6
ifeq 23
21: aload 4
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
22: aload 4
areturn
end local 6 end local 5 end local 4 23: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 25: new org.hibernate.PropertyNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "no appropriate constructor in class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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 org.hibernate.PropertyNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 clazz Ljava/lang/Class;
0 26 1 types [Lorg/hibernate/type/Type;
1 26 2 candidates [Ljava/lang/reflect/Constructor;
2 25 3 i I
4 23 4 constructor Ljava/lang/reflect/Constructor;
5 23 5 params [Ljava/lang/Class;
7 23 6 found Z
8 20 7 j I
15 18 8 ok Z
Exceptions:
throws org.hibernate.PropertyNotFoundException
MethodParameters:
Name Flags
clazz
types
public static java.lang.reflect.Method getMethod(java.lang.Class, java.lang.reflect.Method);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clazz Ljava/lang/Class;
0 4 1 method Ljava/lang/reflect/Method;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
clazz
method
}
SourceFile: "ReflectHelper.java"