public interface

IDexMethodData

com.pnfsoftware.jeb.core.units.code.android.dex.IDexMethodData

Class Overview

This interface represents a Dex encoded_method object. Only internal methods have such objects. Retrieved via getData().

Summary

Public Methods
abstract int getAccessFlags()
Get the method access flags.
abstract IDexCodeItem getCodeItem()
Get the code representation for this method.
abstract int getDexFileIndex()
Retrieve the index of the dex file that defines this method body.
abstract int[] getExceptionTypeIndices()
Get type indexes of exceptions declared to be thrown by the method.
abstract int getInlineMode()
Retrieve the inline mode for this method.
abstract int getMethodIndex()
Get the method index (index of Method object).
abstract int getUserFlags()
Custom flags.
abstract boolean isAbstract()
Convenience method to check the apt-named access flag.
abstract boolean isConstructor()
Convenience method to check the apt-named access flag.
abstract boolean isFinal()
Convenience method to check the apt-named access flag.
abstract boolean isNative()
Convenience method to check the apt-named access flag.
abstract boolean isPrivate()
Convenience method to check the apt-named access flag.
abstract boolean isProtected()
Convenience method to check the apt-named access flag.
abstract boolean isPublic()
Convenience method to check the apt-named access flag.
abstract boolean isStatic()
Convenience method to check the apt-named access flag.
abstract boolean isSynthetic()
Convenience method to check the apt-named access flag.
abstract void setInlineMode(int mode)
Set the inline mode for this method.
abstract void setUserFlags(int flags)
Custom flags.

Public Methods

public abstract int getAccessFlags ()

Get the method access flags.

Returns
  • the access flags, refer to the ACC_xxx constants in the IDexUnit

public abstract IDexCodeItem getCodeItem ()

Get the code representation for this method.

Returns
  • the code representation, or null if none (eg, abstract methods)

public abstract int getDexFileIndex ()

Retrieve the index of the dex file that defines this method body.

Returns
  • an index into getDexFiles() (of the owner , or -1 if unknown or not defined

public abstract int[] getExceptionTypeIndices ()

Get type indexes of exceptions declared to be thrown by the method.

public abstract int getInlineMode ()

Retrieve the inline mode for this method. See setInlineMode(int) for details.

Returns
  • one of IDexUnit.INLINE_xxx (default is Automatic)

public abstract int getMethodIndex ()

Get the method index (index of Method object).

Returns
  • the method index

public abstract int getUserFlags ()

Custom flags.

public abstract boolean isAbstract ()

Convenience method to check the apt-named access flag.

public abstract boolean isConstructor ()

Convenience method to check the apt-named access flag.

public abstract boolean isFinal ()

Convenience method to check the apt-named access flag.

public abstract boolean isNative ()

Convenience method to check the apt-named access flag.

public abstract boolean isPrivate ()

Convenience method to check the apt-named access flag.

public abstract boolean isProtected ()

Convenience method to check the apt-named access flag.

public abstract boolean isPublic ()

Convenience method to check the apt-named access flag.

public abstract boolean isStatic ()

Convenience method to check the apt-named access flag.

public abstract boolean isSynthetic ()

Convenience method to check the apt-named access flag.

public abstract void setInlineMode (int mode)

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.

Parameters
mode one of IDexUnit.INLINE_xxx

public abstract void setUserFlags (int flags)

Custom flags.