Class: JavaClass::ClassFile::Constants::ConstantField
- Inherits:
-
DoubleReference
- Object
- Base
- SingleReference
- DoubleReference
- JavaClass::ClassFile::Constants::ConstantField
- Defined in:
- lib/javaclass/classfile/constants/double_reference.rb
Overview
ZenTest SKIP
Instance Attribute Summary
Attributes inherited from DoubleReference
Attributes inherited from SingleReference
Attributes inherited from Base
Instance Method Summary collapse
- #first_value ⇒ Object (also: #class_name)
-
#initialize(pool, data, start) ⇒ ConstantField
constructor
A new instance of ConstantField.
Methods inherited from DoubleReference
Methods inherited from SingleReference
Methods inherited from Base
Constructor Details
#initialize(pool, data, start) ⇒ ConstantField
Returns a new instance of ConstantField.
42 43 44 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 42 def initialize(pool, data, start) super(pool, data, start) end |
Instance Method Details
#first_value ⇒ Object Also known as: class_name
45 46 47 48 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 45 def first_value # is a classname super.to_javaname end |