public class MethodClassReplacement extends Object implements MethodReplacementClass
CONSUME_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
MethodClassReplacement() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getTargetClass() |
static Object |
invoke(Method caller,
Object obj,
Object... args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetClass, getTargetClassName, isAvailablepublic Class<?> getTargetClass()
getTargetClass in interface MethodReplacementClasspublic static Object invoke(Method caller, Object obj, Object... args) throws InvocationTargetException, IllegalAccessException
Copyright © 2016–2024. All rights reserved.