Package proguard.dexfile.converter
Class IR2ProConverter
- java.lang.Object
-
- proguard.dexfile.converter.IR2ProConverter
-
public class IR2ProConverter extends java.lang.Object
This utility class converts code in Dex2jar's intermediate representation to ProGuard code.
-
-
Constructor Summary
Constructors Constructor Description IR2ProConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IR2ProConverter
code(CompactCodeAttributeComposer code)
void
convert()
IR2ProConverter
ir(IrMethod ir)
IR2ProConverter
optimizeSynchronized(boolean optimizeSynchronized)
IR2ProConverter
usePrimitiveArrayConstants(boolean usePrimitiveArrayConstants)
Specifies whetherPrimitiveArrayConstant
s can be generated, when applicable.
-
-
-
Method Detail
-
usePrimitiveArrayConstants
public IR2ProConverter usePrimitiveArrayConstants(boolean usePrimitiveArrayConstants)
Specifies whetherPrimitiveArrayConstant
s can be generated, when applicable.If they are generated then they should be converted back to standard Java arrays before converting to Java class files using
PrimitiveArrayConstantReplacer
.
-
optimizeSynchronized
public IR2ProConverter optimizeSynchronized(boolean optimizeSynchronized)
-
ir
public IR2ProConverter ir(IrMethod ir)
-
code
public IR2ProConverter code(CompactCodeAttributeComposer code)
-
convert
public void convert()
-
-