Class ReflectUtil
- java.lang.Object
-
- io.github.sashirestela.openai.support.ReflectUtil
-
public class ReflectUtil extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
createProxy(Class<T> interfaceClass, InvocationHandler handler)
void
executeSetMethod(Class<?> clazz, String methodName, Class<?>[] paramTypes, Object object, Object value)
static ReflectUtil
get()
Map<String,Object>
getMapFields(Object object)
-
-
-
Method Detail
-
get
public static ReflectUtil get()
-
createProxy
public <T> T createProxy(Class<T> interfaceClass, InvocationHandler handler)
-
executeSetMethod
public void executeSetMethod(Class<?> clazz, String methodName, Class<?>[] paramTypes, Object object, Object value)
-
-