Class DexBackedMethodProtoReference

    • Constructor Detail

      • DexBackedMethodProtoReference

        public DexBackedMethodProtoReference​(@Nonnull
                                             DexBackedDexFile dexFile,
                                             int protoIndex)
    • Method Detail

      • getParameterTypes

        @Nonnull
        public java.util.List<java.lang.String> getParameterTypes()
        Description copied from interface: MethodProtoReference
        Gets a list of the types of the parameters of this method prototype.
        Returns:
        A list of the parameter types of this method prototype, as strings.
      • getReturnType

        @Nonnull
        public java.lang.String getReturnType()
        Description copied from interface: MethodProtoReference
        Gets the return type of the referenced method prototype.
        Returns:
        The return type of the referenced method prototype.
      • getSize

        public int getSize()
        Calculate and return the private size of a method proto. Calculated as: shorty_idx + return_type_idx + parameters_off + type_list size
        Returns:
        size in bytes