Interface IDexPrototype
public interface IDexPrototype
This interface represents a DEX
proto_id_item object.-
Method Summary
Modifier and TypeMethodDescriptiongenerate(boolean effective) Generate the prototype string (internal representation).String[]getParameterSignatures(boolean effective) int[]Get the type indexes for the prototype parameters.IDexType[]intGet the prototype return type index.getReturnTypeSignature(boolean effective) Get the shorty string.intGet the string index of the short-form descriptor string for this prototype.
-
Method Details
-
generate
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
-
getReturnType
IDexType getReturnType() -
getReturnTypeSignature
-