|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassReplaceStrategy
Specifies the replace strategy for a class.
Method Summary | |
---|---|
void |
with(Class<?> cls)
Replaces all method invocations on class specified class with method invocation to cls . |
Method Detail |
---|
void with(Class<?> cls)
cls
. Also replaces all constructor
invocations. You can see this as duck typing.
cls
- The class that will replace the other class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |