com.android.dx.dex.cf
Class CfTranslator
java.lang.Object
com.android.dx.dex.cf.CfTranslator
public class CfTranslator
- extends Object
Static method that turns byte[]s containing Java
classfiles into ClassDefItem instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
translate
public 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.
- Parameters:
cf - non-null; the class filebytes - non-null; contents of the filecfOptions - options for class translationdexOptions - options for dex outputdexFile - non-null; dex output
- Returns:
non-null; the translated class
Copyright © 2015. All rights reserved.