public static class

DecompilationOptions.Builder

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.DecompilationOptions.Builder

Class Overview

Builder of decompilation options.

Summary

Public Methods
DecompilationOptions build()
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()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public DecompilationOptions build ()

public DecompilationOptions.Builder flags (int flags)

Set decompilation flags. Refer to IDecompilerUnit.FLAG_xxx.

public DecompilationOptions.Builder maxTimePerMethod (Long maxTimePerMethod)

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).

Parameters
maxTimePerMethod in milliseconds

public 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.

If left null, the decompiler's setting is used, if any (else 0 is used).

Parameters
maxTimeTotal in milliseconds

public static DecompilationOptions.Builder newInstance ()