| Class | JavaClass::ClassFile::Constants::DoubleReference |
| In: |
lib/javaclass/classfile/constants/double_reference.rb
|
| Parent: | SingleReference |
Superclass of double reference constants like ConstantField (FieldRef) in the constant pool.
| Author: | Peter Kofler |
| second_index | [R] |
Define a double reference into pool from data beginning at start
# File lib/javaclass/classfile/constants/double_reference.rb, line 15 def initialize(pool, data, start, name=nil) super(pool, data, start, name) @size = 5 @second_index = data.u2(start+3) end
Return part of debug output.
# File lib/javaclass/classfile/constants/double_reference.rb, line 33 def dump "#{@name}\t##{@first_index}.##{@second_index};\t// #{to_s}" end