loader, ! String className,! Class<?> classBeingRedefined,! ProtectionDomain pd,! byte[] classfileBuffer){! ! ClassPool cp = ClassPool.getDefault();! CtClass ct = cp.makeClass(new! ByteArrayInputStream(classfileBuffer));! ! // transform the bytes as required, ! // for instance - with Javassist! ! return ct.toBytecode();! }! }!