Class DecompilationOptions
java.lang.Object
com.pnfsoftware.jeb.core.units.code.DecompilationOptions
Decompilation options used in
DecompilationContexts. Immutable.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder of decompilation options. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DecompilationOptionsDefault decompilation options. -
Method Summary
Modifier and TypeMethodDescriptionCreate a builder initialized with these options.intgetFlags()Get decompilation flags.Get the maximum time allowed per method.Get the maximum total decompilation time.Get the post-decompilation callback.static DecompilationOptionssafe(DecompilationOptions opt) Return a non-null options object.
-
Field Details
-
DEFAULT
Default decompilation options.
-
-
Method Details
-
safe
Return a non-null options object.- Parameters:
opt- options, possibly null- Returns:
- provided options, or
DEFAULT
-
getFlags
public int getFlags()Get decompilation flags.- Returns:
- decompilation flags
-
getMaxTimePerMethod
Get the maximum time allowed per method.- Returns:
- maximum time per method, in milliseconds, or null
-
getMaxTimeTotal
Get the maximum total decompilation time.- Returns:
- maximum total time, in milliseconds, or null
-
getPostDecompilationCallback
Get the post-decompilation callback.- Returns:
- post-decompilation callback, or null
-
asBuilder
Create a builder initialized with these options.- Returns:
- initialized builder
-