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