Class: JavaClass::ClassFile::Constants::ConstantMethod
- Inherits:
-
DoubleReference
- Object
- Base
- SingleReference
- DoubleReference
- JavaClass::ClassFile::Constants::ConstantMethod
- 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) ⇒ ConstantMethod
constructor
A new instance of ConstantMethod.
Methods inherited from DoubleReference
Methods inherited from SingleReference
Methods inherited from Base
Constructor Details
#initialize(pool, data, start) ⇒ ConstantMethod
Returns a new instance of ConstantMethod.
56 57 58 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 56 def initialize(pool, data, start) super(pool, data, start) end |
Instance Method Details
#first_value ⇒ Object Also known as: class_name
59 60 61 62 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 59 def first_value # is a classname super.to_javaname end |