{
CtMethod method = (CtMethod)allMethods.next();
CtMethod newMethod = new CtMethod(method, ctTranslatorClass, null);
String methodBody = (String)this.methods.get(method);
newMethod.setBody(methodBody);
ctTranslatorClass.addMethod(newMethod);
}
}
this.writeAdaptedClass();
return ctTranslatorClass.toClass();