Interface IDexPrototype


public interface IDexPrototype
This interface represents a DEX proto_id_item object.
  • Method Details

    • generate

      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

      Parameters:
      effective -
      Returns:
      the prototype string (internal representation), original or effective
    • getShortyIndex

      int getShortyIndex()
      Get the string index of the short-form descriptor string for this prototype.
      Returns:
      the 'shorty' string index
    • getShorty

      String getShorty()
      Get the shorty string.
      Returns:
    • getReturnTypeIndex

      int getReturnTypeIndex()
      Get the prototype return type index.
      Returns:
      the return type index
    • getParameterTypeIndexes

      int[] getParameterTypeIndexes()
      Get the type indexes for the prototype parameters.
      Returns:
      the array of type indexes for the parameters
    • getParameterTypes

      IDexType[] getParameterTypes()
    • getParameterSignatures

      String[] getParameterSignatures(boolean effective)
    • getReturnType

      IDexType getReturnType()
    • getReturnTypeSignature

      String getReturnTypeSignature(boolean effective)