public class CfTranslator
extends java.lang.Object
byte[]s containing Java
classfiles into ClassDefItem instances.| Modifier and Type | Method and Description |
|---|---|
static ClassDefItem |
translate(DxContext context,
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(DxContext context, DirectClassFile cf, byte[] bytes, CfOptions cfOptions, DexOptions dexOptions, DexFile dexFile)
byte[], interprets it as a Java classfile, and
translates it into a ClassDefItem.context - non-null; the state global to this invocation.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 © 2020. All Rights Reserved.