# Class: com.pnfsoftware.jeb.core.units.code.DecompilationOptions

Decompilation options used in [DecompilationContext](DecompilationContext)s. Immutable.

## Static Field: DEFAULT
Type: `com.pnfsoftware.jeb.core.units.code.DecompilationOptions`
Description: Default decompilation options.

## Method: asBuilder
- return type: `com.pnfsoftware.jeb.core.units.code.DecompilationOptions.Builder`

Description: Create a builder initialized with these options.
return: initialized builder

## Method: getFlags
- return type: `int`

Description: Get decompilation flags.
return: decompilation flags

## Method: getMaxTimePerMethod
- return type: `java.lang.Long`

Description: Get the maximum time allowed per method.
return: maximum time per method, in milliseconds, or null

## Method: getMaxTimeTotal
- return type: `java.lang.Long`

Description: Get the maximum total decompilation time.
return: maximum total time, in milliseconds, or null

## Method: getPostDecompilationCallback
- return type: `java.util.function.Consumer<java.lang.String>`

Description: Get the post\-decompilation callback.
return: post\-decompilation callback, or null

## Static Method: safe
- parameter: `opt`, type: `com.pnfsoftware.jeb.core.units.code.DecompilationOptions`
- return type: `com.pnfsoftware.jeb.core.units.code.DecompilationOptions`

Description: Return a non\-null options object.
parameter: opt: options, possibly null
return: provided options, or [#DEFAULT](#DEFAULT)

