# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuContext

An emulator context, used by `dexdec` State objects. Code emulation takes place within a context object. Context objects hold the execution stack frame.

## Method: copy
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuContext`

Description: Perform a deep copy of this context, including the frames.
return: the copied context

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

Description: Get the count of frames.
return: the frame count

## Method: getFrame
- parameter: `index`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuFrame`

Description: Retrieve a frame by index. 0 is the top\-level frame \(i.e., the last\-pushed frame, or current frame\)
parameter: index: frame index \(0 being the top\-level frame, or current frame\)
return: a frame

## Method: getFrames
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.android.ir.IDEmuFrame>`

Description: Retrieve the read\-only list of frames.
return: the frames

## Method: getName
- return type: `java.lang.String`

Description: Retrieve this context name.
return: the context name

## Method: getOrigins
- return type: `java.util.Collection<java.lang.String>`

Description: Retrieve the collection of origins for this context.
return: the origin strings

## Method: hasFrames
- return type: `boolean`

Description: Determine whether this context holds any frame.
return: true if at least one frame is present

## Method: pushOriginInfo
- parameter: `callerMsig`, type: `java.lang.String`

Description: Push additional origin information for this context. Origin information is used to by the emulator to build stacktraces. They are virtual pseudo\-frames above the actual frames for this context.
parameter: callerMsig: caller method signature

