# 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()).

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

Description: Get the method access flags.
return: the access flags, refer to the `ACC_xxx` constants in the [IDexUnit](IDexUnit)

## 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\)

## 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

## 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

## 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

## 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)\)

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

Description: Get the method index \(index of Method object\).
return: the method index

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

Description: Custom flags.
return: the custom user flags

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is 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

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is final

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is native

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is private

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is protected

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is public

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is static

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

Description: Convenience method to check the apt\-named [access flag](#getAccessFlags()).
return: true if the method is synthetic

## 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`

## Method: setUserFlags
- parameter: `flags`, type: `int`

Description: Custom flags.
parameter: flags: the custom user flags

