public interface MethodReplacementClass
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSUME_INSTANCE_METHOD_NAME
When replacing constructors, instance is not returned (due to needed POP on stack),
and rather saved internally.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getTargetClass() |
default Class<?> |
getTargetClass(ClassLoader classLoader)
The target class this class provides replacements for.
|
default String |
getTargetClassName() |
default boolean |
isAvailable()
Depending on the SUT, third-party libraries might not be present
on the classpath
|
static final String CONSUME_INSTANCE_METHOD_NAME
default Class<?> getTargetClass(ClassLoader classLoader)
Class<?> getTargetClass()
default String getTargetClassName()
default boolean isAvailable()
Copyright © 2016–2024. All rights reserved.