-
MethodDescriptionThe enclosing method might be a constructor. Use
CtClass.getEnclosingBehavior()
.Replaced byCtClass.toClass(ClassLoader,ProtectionDomain)
since 3.12 use of this method is incompatible with proxy class caching. instead clients should call methodProxy.setHandler(MethodHandler)
to set the handler for each newly created proxy instance. calling this method will automatically disable caching of classes created by the proxy factory.replaced byRuntimeSupport.findMethod(Class, String, String)
ClassPool.toClass(CtClass,Class,ClassLoader,ProtectionDomain)
. A subclass ofClassPool
that has been overriding this method should be modified. It should overrideClassPool.toClass(CtClass,Class,ClassLoader,ProtectionDomain)
.