Class: Android::Dex::DexObject::TypeIdItem

Inherits:
IdsList show all
Defined in:
lib/android/dex/dex_object.rb

Overview

type_id_item

Instance Attribute Summary

Attributes inherited from IdsList

#ids_size

Attributes inherited from Android::Dex::DexObject

#size

Instance Method Summary collapse

Methods inherited from IdsList

#initialize

Methods inherited from Android::Dex::DexObject

#initialize, #inspect, #symbols

Constructor Details

This class inherits a constructor from Android::Dex::DexObject::IdsList

Instance Method Details

#[](idx) ⇒ Object

Raises:

  • (ArgumentError)


231
232
233
234
# File 'lib/android/dex/dex_object.rb', line 231

def [](idx)
  raise ArgumentError if idx >= @params[:descriptor_idx].size or idx < 0
  @params[:descriptor_idx][idx]
end