ClassDefItem item= CfTranslator.translate(relativePath, classFile.getDataAsBytes(), options);
DexFile dexFile= new DexFile();
dexFile.add(item);
try
{
byte[] rawDex= dexFile.toDex(null, false);
OutputFile result= new OutputFile(rawDex);
result.setLocation(classFile.getLocation());
result.setFileName(classFile.getFileName().replace(ClassFile.CLASS_ENDING, DEX_ENDING));
return result;
}