public class Dex2Pro
extends java.lang.Object
Constructor and Description |
---|
Dex2Pro()
Create a new (single-threaded)
Dex2Pro object. |
Dex2Pro(int maximumThreads)
Create a new
Dex2Pro object that will use up to maximumThreads threads for conversion. |
Modifier and Type | Method and Description |
---|---|
void |
convertDex(DexFileNode fileNode,
ClassVisitor classVisitor)
Converts the given Dex to classes and applies the given class visitor to them.
|
void |
shutdown(int timeoutSeconds)
Shuts down and waits for any remaining conversion workers, up to timeoutSeconds.
|
Dex2Pro |
usePrimitiveArrayConstants(boolean usePrimitiveArrayConstants) |
public Dex2Pro()
Dex2Pro
object.public Dex2Pro(int maximumThreads)
Dex2Pro
object that will use up to maximumThreads threads for conversion.
If more than one thread is set, one must call shutdown() after adding all work, to allow time
for the workers to shut down in an orderly fashion.public Dex2Pro usePrimitiveArrayConstants(boolean usePrimitiveArrayConstants)
public void convertDex(DexFileNode fileNode, ClassVisitor classVisitor)
public void shutdown(int timeoutSeconds)