Package com.majorana.maj_orm.Utils
Class ReflectUtil
java.lang.Object
com.majorana.maj_orm.Utils.ReflectUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
describeInstance
(Object object, Writer out) static void
describeInstanceAndValues
(Object object, Writer out, String lineBreak) Describe an object to a writerstatic Method
findGetterMethodForField
(Field field, Method[] methods) static Object
invokeGetter
(Object obj, Method getter)
-
Constructor Details
-
ReflectUtil
public ReflectUtil()
-
-
Method Details
-
describeInstanceAndValues
Describe an object to a writer- Parameters:
object
-out
-lineBreak
-
-
invokeGetter
public static Object invokeGetter(Object obj, Method getter) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException -
findGetterMethodForField
-
describeInstance
-