Package proguard.dexfile.converter
Class DexFix
- java.lang.Object
-
- proguard.dexfile.converter.DexFix
-
public class DexFix extends java.lang.Object
1. Dex omit the value of static-final filed if it is the default value.2. static-final field init by zero, but assigned in clinit
this method is try to fix the problems.
-
-
Constructor Summary
Constructors Constructor Description DexFix()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 methodstatic void
fixStaticFinalFieldValue(DexFileNode dex)
-
-
-
Method Detail
-
fixStaticFinalFieldValue
public static void fixStaticFinalFieldValue(DexFileNode dex)
-
fixStaticFinalFieldValue
public static void fixStaticFinalFieldValue(DexClassNode classNode)
init value to default if the field is static and final, and the field is not init in clinit methoderase the default value if the field is init in clinit method
- Parameters:
classNode
-
-
-