ActorInterface 接口动态伪装工具,通过Interface2伪装成Interface1
```
interface Interface1 {
fun log(log: String)
}
```
```
interface Interface2 {
fun log(log: Any)
}
```
```
val actorInterface = ActorInterface(object: Interface2 {
override fun log(log: Any) {
println("log: $log")
}
})
actorInterface.getImplement<Interface1> { impl ->
impl?.log("hello world!")
}
actorInterface.bindInterface(Interface1::class.java)
actorInterface.recovery()
```