Class DexBackedTypeReference

    • Field Detail

      • typeIndex

        public final int typeIndex
    • Constructor Detail

      • DexBackedTypeReference

        public DexBackedTypeReference​(@Nonnull
                                      DexBackedDexFile dexFile,
                                      int typeIndex)
    • Method Detail

      • getType

        @Nonnull
        public java.lang.String getType()
        Description copied from interface: TypeReference
        Gets the string representation of the referenced type. The returned string will be a TypeDescriptor, as defined in the dex file specification
        Returns:
        The string representation of the referenced type.
      • getSize

        public int getSize()
        Calculate and return the private size of a type reference. Calculated as: descriptor_idx
        Returns:
        size in bytes