How do you change imports with Byte Buddy?
<p>I'd like to change the imports of a class so that they point to a different package. Byte Buddy docs don't give much info on how one can achieve this. This is what I have so far:</p>

<pre> 
public class ProxyPlugin implements net.bytebuddy.build.Plugin {
    public DynamicType.Builder apply(DynamicType.Builder builder, TypeDescription typeDescription) {
        return builder.name(typeDescription.getPackage().getName() + ".proxy."  + typeDescription.getSimpleName());

    }

    public boolean matches(TypeDescription typeDefinitions) {
        return true;
    }
}
</pre>

<p>My goal is to change <strong>some</strong> package prefix names so that they have ".proxy" appended to them. Note that I only need to change method signatures since the targets are interfaces.</p>