Class: JavaClass::ClassFile::Constants::ConstantMethodHandle
- Inherits:
-
SingleReference
- Object
- Base
- SingleReference
- JavaClass::ClassFile::Constants::ConstantMethodHandle
- Defined in:
- lib/javaclass/classfile/constants/single_reference.rb
Overview
ZenTest SKIP
Instance Attribute Summary
Attributes inherited from SingleReference
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(pool, data, start) ⇒ ConstantMethodHandle
constructor
A new instance of ConstantMethodHandle.
Methods inherited from SingleReference
Methods inherited from Base
#const_class?, #const_field?, #const_method?, #dump
Constructor Details
#initialize(pool, data, start) ⇒ ConstantMethodHandle
Returns a new instance of ConstantMethodHandle.
74 75 76 77 78 79 80 |
# File 'lib/javaclass/classfile/constants/single_reference.rb', line 74 def initialize(pool, data, start) super(pool, data, start) @kind = data.u1(start+1) @first_index = data.u2(start+2) @size = 4 end |