java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.DecompilationOptions.Builder |
Builder of decompilation options.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DecompilationOptions |
build()
Build an options object, used by the decompilation context.
| ||||||||||
DecompilationOptions.Builder |
flags(int flags)
Set decompilation flags.
| ||||||||||
DecompilationOptions.Builder |
maxTimePerMethod(Long maxTimePerMethod)
Set an optional maximum duration allowed to decompile a single method.
| ||||||||||
DecompilationOptions.Builder |
maxTimeTotal(Long maxTimeTotal)
When decompiling an entity or entities comprising multiple methods (eg, a class or
multiple classes or collection of methods, or a whole program), this method allows
setting the maximum duration allowed before returning.
| ||||||||||
static DecompilationOptions.Builder | newInstance() | ||||||||||
DecompilationOptions.Builder |
postDecompilationCallback(Consumer<String> postDecompilationCallback)
Set a post-decompilation callback.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Build an options object, used by the decompilation context.
Set decompilation flags. Refer to IDecompilerUnit.FLAG_xxx
.
Set an optional maximum duration allowed to decompile a single method. 0 means never time out.
If left null, the decompiler's setting is used, if any (else 0 is used).
maxTimePerMethod | in milliseconds |
---|
When decompiling an entity or entities comprising multiple methods (eg, a class or multiple classes or collection of methods, or a whole program), this method allows setting the maximum duration allowed before returning.
If left null, the decompiler's setting is used, if any (else 0 is used).
maxTimeTotal | in milliseconds |
---|
Set a post-decompilation callback. The callback is called by a decompiler after a class
and its contents was decompiled. Currently, this option is honored by dexdec
only
(gendec
disregards the option.)
postDecompilationCallback | a callback (called after a decompilation, on the decompilation thread) |
---|