public class CfTranslator extends Object
byte[]s containing Java
classfiles into ClassDefItem instances.| Modifier and Type | Method and Description |
|---|---|
static ClassDefItem |
translate(DirectClassFile cf,
byte[] bytes,
CfOptions cfOptions,
DexOptions dexOptions,
DexFile dexFile)
Takes a
byte[], interprets it as a Java classfile, and
translates it into a ClassDefItem. |
public static ClassDefItem translate(DirectClassFile cf, byte[] bytes, CfOptions cfOptions, DexOptions dexOptions, DexFile dexFile)
byte[], interprets it as a Java classfile, and
translates it into a ClassDefItem.cf - non-null; the class filebytes - non-null; contents of the filecfOptions - options for class translationdexOptions - options for dex outputdexFile - non-null; dex outputnon-null; the translated classCopyright © 2016. All Rights Reserved.