code: public static byte[] rename(String dottedNewName, byte[] classbytes, String... retargets) {
  		ClassReader fileReader = new ClassReader(classbytes);
  		RenameAdapter renameAdapter = new RenameAdapter(dottedNewName, retargets);
  		fileReader.accept(renameAdapter, 0);
  		byte[] renamed = renameAdapter.getBytes();
  		return renamed;
  	}
docs: Rename a type - changing it to specified new name (which should be the dotted form of the name). Retargets are an
  optional sequence of retargets to also perform during the rename. Retargets take the form of "a.b:a.c" which will
  change all references to a.b to a.c.
  
  @param dottedNewName dotted name, e.g. com.foo.Bar
  @param classbytes the bytecode for the class to be renamed
  @param retargets retarget rules for references, of the form "a.b:b.a","c.d:d.c"
  @return bytecode for the modified class