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)


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

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