Class: JavaClass::ClassFile::Constants::ConstantInterfaceMethod

Inherits:
DoubleReference show all
Defined in:
lib/javaclass/classfile/constants/double_reference.rb

Overview

ZenTest SKIP

Instance Attribute Summary

Attributes inherited from DoubleReference

#second_index

Attributes inherited from SingleReference

#first_index

Attributes inherited from Base

#name, #size, #slots, #tag

Instance Method Summary collapse

Methods inherited from DoubleReference

#dump, #second_value, #to_s

Methods inherited from SingleReference

#dump

Methods inherited from Base

#dump

Constructor Details

#initialize(pool, data, start) ⇒ ConstantInterfaceMethod

Returns a new instance of ConstantInterfaceMethod.



70
71
72
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 70

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

Instance Method Details

#first_valueObject Also known as: class_name



73
74
75
76
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 73

def first_value 
  # is a classname
  super.to_javaname
end