Package io.streamnative.kafka.client.api
Class ReflectionUtils
java.lang.Object
io.streamnative.kafka.client.api.ReflectionUtils
Utils methods for reflection.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReflectionUtils
public ReflectionUtils()
-
-
Method Details
-
invoke
Invoke a method of an object but throw an unchecked exception.- Type Parameters:
T- the type of `object`- Parameters:
clazz- the class type of `object`name- the method nameobject- the object to call the method- Returns:
- the returned value of the method
-