ShadowImpl
public interface IShadow
Modifier and Type | Method | Description |
---|---|---|
void |
directInitialize(Class<?> clazz) |
|
<R,T> R |
directlyOn(Class<T> clazz,
String methodName,
ReflectionHelpers.ClassParameter... paramValues) |
|
<R> R |
directlyOn(Object shadowedObject,
String clazzName,
String methodName,
ReflectionHelpers.ClassParameter... paramValues) |
|
<T> T |
directlyOn(T shadowedObject,
Class<T> clazz) |
|
<R,T> R |
directlyOn(T shadowedObject,
Class<T> clazz,
String methodName,
ReflectionHelpers.ClassParameter... paramValues) |
|
String |
directMethodName(String className,
String methodName) |
|
<T> T |
extract(Object instance) |
|
<R> R |
invokeConstructor(Class<? extends R> clazz,
R instance,
ReflectionHelpers.ClassParameter... paramValues) |
|
<T> T |
newInstance(Class<T> clazz,
Class[] parameterTypes,
Object[] params) |
|
<T> T |
newInstanceOf(Class<T> clazz) |
<T> T extract(Object instance)
<T> T newInstanceOf(Class<T> clazz)
<T> T directlyOn(T shadowedObject, Class<T> clazz)
<R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelpers.ClassParameter... paramValues)
<R,T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramValues)
<R,T> R directlyOn(Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramValues)
<R> R invokeConstructor(Class<? extends R> clazz, R instance, ReflectionHelpers.ClassParameter... paramValues)
void directInitialize(Class<?> clazz)