# Interface: com.pnfsoftware.jeb.core.units.code.android.dex.IDexMethodData

This interface represents a Dex `encoded_method` object. Only internal methods have  such objects. Retrieved via [IDexMethod#getData()](IDexMethod#getData()).

## Abstract Method: getAccessFlags
- return type: `int`

Description: Get the method access flags.
return: the access flags, refer to the `ACC_xxx` constants in the [IDexUnit](com.pnfsoftware.jeb.core.units.code.android.IDexUnit.md)

## Abstract Method: getCodeItem
- return type: `com.pnfsoftware.jeb.core.units.code.android.dex.IDexCodeItem`

Description: Get the code representation for this method.
return: the code representation, or null if none \(eg, abstract methods\)

## Abstract Method: getDexEntryIndex
- return type: `int`

Description: Retrieve the index of the dex entry that defines this method body.
return: an index into [IDexUnit#getDexEntries()](IDexUnit#getDexEntries()) \(of the owner , or \-1 if unknown or not          defined

## Default Method: getDexFileIndex
- return type: `int`

Description: 
deprecated: use [#getDexEntryIndex()](#getDexEntryIndex())
return: an index into [IDexUnit#getDexEntries()](IDexUnit#getDexEntries()), or \-1 if unknown or not defined

## Abstract Method: getExceptionTypeIndices
- return type: `int[]`

Description: Get type indexes of exceptions declared to be thrown by the method.
return: the type indexes of declared exceptions

## Abstract Method: getInlineMode
- return type: `int`

Description: Retrieve the inline mode for this method. See [#setInlineMode(int)](#setInlineMode(int)) for details.
return: one of `IDexUnit.INLINE_xxx` \(default is [Automatic](IDexUnit#INLINE_AUTO)\)

## Abstract Method: getMethodIndex
- return type: `int`

Description: Get the method index \(index of Method object\).
return: the method index

## Abstract Method: getUserFlags
- return type: `int`

Description: Custom flags.
return: the custom user flags

## Abstract Method: isAbstract
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is abstract

## Abstract Method: isConstructor
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is a constructor

## Abstract Method: isFinal
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is final

## Abstract Method: isNative
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is native

## Abstract Method: isPrivate
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is private

## Abstract Method: isProtected
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is protected

## Abstract Method: isPublic
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is public

## Abstract Method: isStatic
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is static

## Abstract Method: isSynthetic
- return type: `boolean`

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is synthetic

## Abstract Method: setInlineMode
- parameter: `mode`, type: `int`

Description: Set the inline mode for this method. The mode can be set by user code as a hint for other  processors, mostly the decompiler, on how to process this method.
parameter: mode: one of `IDexUnit.INLINE_xxx`

## Abstract Method: setUserFlags
- parameter: `flags`, type: `int`

Description: Custom flags.
parameter: flags: the custom user flags

