TargetClassis also annotated with
Substitute, all non-substituted methods in that class are by default treated as
deleted. This annotation changes the behavior: A method annotated with
KeepOriginalkeeps the original definition of the method.
If this annotation is used to the
* substituted type itself, then the original
definition of all methods and fields in the target type are kept by default.