Method: JavaClass::ClassFile::ConstantPool#item_count
- Defined in:
- lib/javaclass/classfile/constant_pool.rb
#item_count ⇒ Object
Return the number of pool items. This number might be larger than items available, because long and double constants take two slots.
59 60 61 |
# File 'lib/javaclass/classfile/constant_pool.rb', line 59 def item_count @item_count-1 end |