public interface

IDexPrototype

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

Class Overview

This interface represents a DEX proto_id_item object.

Summary

Public Methods
abstract String generate(boolean effective)
Generate the prototype string (internal representation).
abstract String[] getParameterSignatures(boolean effective)
abstract int[] getParameterTypeIndexes()
Get the type indexes for the prototype parameters.
abstract IDexType[] getParameterTypes()
abstract IDexType getReturnType()
abstract int getReturnTypeIndex()
Get the prototype return type index.
abstract String getReturnTypeSignature(boolean effective)
abstract String getShorty()
Get the shorty string.
abstract int getShortyIndex()
Get the string index of the short-form descriptor string for this prototype.

Public Methods

public abstract String generate (boolean effective)

Generate the prototype string (internal representation). The prototype string is a complete version of the shorty prototype.

Example: (I[[JLjava/lang/String;)V

Returns
  • the prototype string (internal representation), original or effective

public abstract String[] getParameterSignatures (boolean effective)

public abstract int[] getParameterTypeIndexes ()

Get the type indexes for the prototype parameters.

Returns
  • the array of type indexes for the parameters

public abstract IDexType[] getParameterTypes ()

public abstract IDexType getReturnType ()

public abstract int getReturnTypeIndex ()

Get the prototype return type index.

Returns
  • the return type index

public abstract String getReturnTypeSignature (boolean effective)

public abstract String getShorty ()

Get the shorty string.

public abstract int getShortyIndex ()

Get the string index of the short-form descriptor string for this prototype.

Returns
  • the 'shorty' string index