Class: JavaClass::ClassFile::Constants::ConstantInvokeDynamic

Inherits:
SingleReference show all
Defined in:
lib/javaclass/classfile/constants/single_reference.rb

Overview

ZenTest SKIP

Instance Attribute Summary

Attributes inherited from SingleReference

#first_index

Attributes inherited from Base

#name, #size, #slots, #tag

Instance Method Summary collapse

Methods inherited from SingleReference

#dump, #first_value, #to_s

Methods inherited from Base

#const_class?, #const_field?, #const_method?, #dump

Constructor Details

#initialize(pool, data, start) ⇒ ConstantInvokeDynamic

Returns a new instance of ConstantInvokeDynamic.



96
97
98
99
100
101
102
# File 'lib/javaclass/classfile/constants/single_reference.rb', line 96

def initialize(pool, data, start)
  super(pool, data, start)

  @bootstrap_method_attr_index = data.u2(start+1)
  @first_index = data.u2(start+3)
  @size = 5
end