public class DexFix
extends java.lang.Object
2. static-final field init by zero, but assigned in clinit
this method is try to fix the problems.
Constructor and Description |
---|
DexFix() |
Modifier and Type | Method and Description |
---|---|
static void |
fixStaticFinalFieldValue(DexClassNode classNode)
init value to default if the field is static and final, and the field is not init in clinit
method
|
static void |
fixStaticFinalFieldValue(DexFileNode dex) |
public static void fixStaticFinalFieldValue(DexFileNode dex)
public static void fixStaticFinalFieldValue(DexClassNode classNode)
erase the default value if the field is init in clinit method
classNode
-