Package com.majorana.maj_orm.Utils
Class ReflectUtil
java.lang.Object
com.majorana.maj_orm.Utils.ReflectUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddescribeInstance(Object object, Writer out) static voiddescribeInstanceAndValues(Object object, Writer out, String lineBreak) Describe an object to a writerstatic MethodfindGetterMethodForField(Field field, Method[] methods) static ObjectinvokeGetter(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
-