Def getOwnerProxy (person: PersonSubject) : PersonSubject={
Proxy. newProxyInstance (person getClass () getClassLoader (), person. GetClass ()
GetInterfaces (), new OwnerInvocationHandle (person)). AsInstanceOf [PersonSubject]
}
Scala2.12, dynamic Proxy in 13 languages use Proxy newProxyInstance why not, does not exist, this method is the scala version problem, or any questions, ask the great spirit show