# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
- Super interfaces: `com.pnfsoftware.jeb.core.units.code.IInstructionOperand`

Base interface for all `dexdec` IR elements.  

  Currently includes:  
  
- [IDExpression](com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression.md) and all derived elements  
- [IDIndex](com.pnfsoftware.jeb.core.units.code.android.ir.IDIndex.md), pool indices  
- [IDTarget](com.pnfsoftware.jeb.core.units.code.android.ir.IDTarget.md), branch targets  
- [IDSwitchData](com.pnfsoftware.jeb.core.units.code.android.ir.IDSwitchData.md), used by [switch opcodes](DOpcodeType#IR_SWITCH)

## Static Final Field: DEFAULT_COMPARE_WITH_FULL_EQUALITY
Type: `boolean`

Constant value: `false`
Description: Determine whether `hashCode` and `equals` use all the IR expression elements,  including metadata like:
  \- type
  \- physical offset
  \- data map
  

  This value is set to false and should not be modified.

## Abstract Method: copy
- parameter: `opt`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.DCopyOptions`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDElement`

Description: Copy this element. This operation can be seen as a custom duplication; the resulting element  may not be of the same type as this element.
parameter: opt: optional; if one is provided, [DCopyOptions#onDup(IDExpression)](DCopyOptions#onDup(IDExpression)) will be             tried first to create a copy
return: the copied element

## Abstract Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDElement`

Description: Duplicate this element.
return: a deep copy of this element; the type of the duplicated element should be the same as          this element's type

## Abstract Method: equalsEx
- parameter: `o`, type: `java.lang.Object`
- parameter: `fullEquality`, type: `boolean`
- return type: `boolean`

Description: A specialized version of `equals`.
parameter: o: other object
parameter: fullEquality: if false, metadata elements will not be included in the equality             operations
return: true if this element is equal to the other object under the requested comparison mode

## Abstract Method: format
- parameter: `fctx`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.DFormattingContext`

Description: Format this IR using the provided formatting context.
parameter: fctx: mandatory formatting context

## Abstract Method: toString
- parameter: `ctx`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDMethodContext`
- return type: `java.lang.String`

Description: Generate a string representation of this IR using a standard formatting context.  

  This is a convenience method. For more formatting controls, use  [#format(DFormattingContext)](#format(DFormattingContext)).
parameter: ctx: optional method context
return: string representation

## Abstract Method: toString
- return type: `java.lang.String`

Description: Generate a string representation of this IR using a standard formatting context. Same as  calling `toString(null)`.  

  This is a convenience method. For more formatting controls, use  [#format(DFormattingContext)](#format(DFormattingContext)).
return: string representation

